[JDEV] Groupchat 1.00 crash

dave_parkes at uk.ibm.com dave_parkes at uk.ibm.com
Fri Oct 13 08:29:58 CDT 2000


Hi everyone,
     I've installed groupchat 1.00 on Intel Red Hat 6.1 and I can cause it
to crash when I use JabberIM to invite another user to join a groupchat.
The groupchat debug and gdb backtrace seem to indicate a bug in etherx?

Debug output from "gbd groupchat core" follows....



This GDB was configured as "i386-redhat-linux"...
Core was generated by `/usr/local/bin/groupchat -D -s test
conference.us.att.com'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libetherx.so.1...done.
Reading symbols from /usr/local/lib/libjabber.so.2...done.
Reading symbols from /usr/local/lib/libxode.so.0...done.
Reading symbols from /usr/local/lib/libpth.so.13...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  0x806b68a in ?? ()
(gdb) bt
#0  0x806b68a in ?? ()
#1  0x4001fbcc in _tstream_write () from /usr/local/lib/libetherx.so.1
#2  0x4001fa2a in _tstream_main () from /usr/local/lib/libetherx.so.1
#3  0x40069cee in pth_spawn_trampoline () from /usr/local/lib/libpth.so.13
#4  0x40067e58 in pth_mctx_set_bootstrap () from
/usr/local/lib/libpth.so.13
#5  0x40067dd6 in pth_mctx_set_trampoline () from
/usr/local/lib/libpth.so.13
#6  0x40092408 in __restore ()
    at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#7  0x0 in ?? ()

Output from "etherx-config --version" follows...
Etherx 1.0.1



Groupchat debug output up to the segmentation fault follows....


Fri Oct 13 12:45:26 2000  debug/ehandler.c:94 ehandler_send: socket
<message type='groupchat' from='jabber at conference.us.att.com'
to='test1 at us.att.com/JabberIM'><body>davep has left</body></message>
Fri Oct 13 12:45:26 2000  debug/xmlstream.c:42 xmlstream_write
Fri Oct 13 12:45:26 2000  debug/tstream.c:133 tstream_write_buffer
Fri Oct 13 12:45:26 2000  debug/tstream.c:263 tstream write event 0
Fri Oct 13 12:45:26 2000  debug/tstream.c:285 tstream_write 258 blocks
Fri Oct 13 12:45:26 2000  debug/tstream.c:285 tstream_write 0 blocks
Fri Oct 13 12:45:26 2000  debug/tstream.c:285 tstream_write 258 blocks
Fri Oct 13 12:45:26 2000  debug/tstream.c:285 tstream_write 0 blocks
Fri Oct 13 12:45:26 2000  debug/tstream.c:285 tstream_write 189 blocks
Fri Oct 13 12:45:26 2000  debug/tstream.c:285 tstream_write 0 blocks
Fri Oct 13 12:45:45 2000  debug/tstream.c:247 tstream read event
Fri Oct 13 12:45:45 2000  debug/xmlstream.c:222 xmlstream_main: startup
Fri Oct 13 12:45:45 2000  debug/etherxs.c:72 got node from etherx!
Fri Oct 13 12:45:45 2000  debug/external.c:6 [GC] We got a packet from
etherx: <message id='JCOM_62' to='jabber at conference.us.att.com'
from='test1 at us.att.com/JabberIM'><subject>invite:davems2 at us.att.com</subject><body>This

is an invitation to join the conference at: jabber at conference.us.att.com
hi</body></message>

Fri Oct 13 12:45:45 2000  debug/groups.c:48 Fetching group
jabber at conference.us.att.com
Fri Oct 13 12:45:45 2000  debug/groups.c:130 User serch
test1 at us.att.com/JabberIM in jabber at conference.us.att.com
Fri Oct 13 12:45:45 2000  debug/parser.c:211 it's a normal message to the
room
Fri Oct 13 12:45:45 2000  debug/ehandler.c:94 ehandler_send: socket
<message id='JCOM_62' to='davems2 at us.att.com'
from='jabber at conference.us.att.com/test1'
type='groupchat'><subject>invite:davems2 at us.att.com</subject><body>This is
an invitation to join the conference at: jabber at conference.us.att.com
hi</body></message>
Fri Oct 13 12:45:45 2000  debug/xmlstream.c:42 xmlstream_write
Fri Oct 13 12:45:45 2000  debug/tstream.c:133 tstream_write_buffer
Fri Oct 13 12:45:45 2000  debug/groups.c:74 broadcasting to
jabber at conference.us.att.com from [<message id='JCOM_62'
to='davems2 at us.att.com' from='jabber at conference.us.att.com/test1'
type='groupchat' etherx:to='us.att.com'
etherx:from='conference.us.att.com'><subject>invite:davems2 at us.att.com</subject><body>This

is an invitation to join the conference at: jabber at conference.us.att.com
hi</body></message>]
Fri Oct 13 12:45:45 2000  debug/groups.c:87




adding message to the history:<message id='JCOM_62' to='davems2 at us.att.com'
 from='jabber at conference.us.att.com/test1' type='groupchat'
etherx:to='us.att.com'
etherx:from='conference.us.att.com'><subject>invite:davems2 at us.att.com</subject><body>This

is an invitation to join the conference at: jabber at conference.us.att.com
hi</body></message>




Fri Oct 13 12:45:45 2000  debug/groups.c:112 done adding message
Fri Oct 13 12:45:45 2000  debug/ehandler.c:94 ehandler_send: socket
<message id='JCOM_62' to='test1 at us.att.com/JabberIM'
from='jabber at conference.us.att.com/test1'
type='groupchat'><subject>invite:davems2 at us.att.com</subject><body>This is
an invitation to join the conference at: jabber at conference.us.att.com
hi</body></message>
Fri Oct 13 12:45:45 2000  debug/xmlstream.c:42 xmlstream_write
Fri Oct 13 12:45:45 2000  debug/tstream.c:133 tstream_write_buffer
Fri Oct 13 12:45:45 2000  debug/tstream.c:263 tstream write event 0
Fri Oct 13 12:45:45 2000  debug/tstream.c:285 tstream_write 312 blocks

Dave Parkes
AT&T Global Network Services, E-Mail Development and Support
http://www.att.com/globalnetwork/services_gms.html
Location: DGF  NHBR UK
Tel: +44-(0)2392-561358
Internet DaveParkes at att.com
Sametime: dave_parkes at uk.ibm.com
jid daveparkes at jabber.com
intranet jid daveparkes at jabber.as.global.ibm.com (pilot only)






More information about the JDev mailing list