Problem with DatagramSocket.receive()?
Bryce McKinlay
bryce@albatross.co.nz
Sun Jul 23 02:53:00 GMT 2000
Tom Tromey wrote:
> >> The following is the output i got from running my application with
> >> gdb:
> >> Program received signal SIGPWR, Power fail/restart.
The SIGPWR is not the real error. SIGPWR and SIGXCPU are used internally
by the boehm GC on Linux, and can be a bit annoying when they show up in
gdb sessions. You can find out how to turn them off in our debugging
guide: http://sources.redhat.com/java/gdb.html
Incidentally, linuxthreads (since about version 2.1) no longer itself
uses any standard signals, but rather real time signals. Perhaps we
should look at using RT signals for the GC as well, if only so that it
doesn't interfere with debugging and cause potential conflicts with
native code.
> >> Does gcj has any problem when sockets are used inside
> >> threads? (I am using a lot of threads in my application.).
There should be no problems, but libgcj's DatagramSocket class might be
less well tested that its support for regular sockets. Its also likely
that fixes have been made since 2.95.1, so you should try the cvs version
if possible.
regards
[ bryce ]
More information about the Java
mailing list