[Pidgin] #13003: pidgin 2.7.7 crashes when send message in xmpp chat room

Pidgin trac at pidgin.im
Sun Nov 28 08:38:53 EST 2010


#13003: pidgin 2.7.7 crashes when send message in xmpp chat room
----------------------+-----------------------------------------------------
 Reporter:  sipingal  |     Owner:  deryni
     Type:  defect    |    Status:  new   
Component:  XMPP      |   Version:  2.7.7 
 Keywords:            |  
----------------------+-----------------------------------------------------
 When send a message to a chat room, pidgin gets segmentfault.

 Below is the strace output with pidgin's "debug info" enabled

 ----
 -----------------

 {{{
 gettimeofday({1290950718, 180008}, NULL) = 0
 poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN},
 {fd=11, events=POLLIN}, {fd=14, events=POLLIN}, {fd=14, events=0}, {fd=14,
 events=0}, {fd=10, events=POLLIN}, {fd=16, events=POLLIN}, {fd=4,
 events=POLLIN}], 10, 399) = 0 (Timeout)
 gettimeofday({1290950718, 579157}, NULL) = 0
 read(7, 0x8295fa0, 4096)                = -1 EAGAIN (Resource temporarily
 unavailable)
 gettimeofday({1290950718, 579226}, NULL) = 0
 poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN},
 {fd=11, events=POLLIN}, {fd=14, events=POLLIN}, {fd=14, events=0}, {fd=14,
 events=0}, {fd=10, events=POLLIN}, {fd=16, events=POLLIN}, {fd=4,
 events=POLLIN}], 10, 0) = 0 (Timeout)
 gettimeofday({1290950718, 579344}, NULL) = 0
 read(7, 0x8295fa0, 4096)                = -1 EAGAIN (Resource temporarily
 unavailable)
 gettimeofday({1290950718, 579469}, NULL) = 0
 poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN},
 {fd=11, events=POLLIN}, {fd=14, events=POLLIN}, {fd=14, events=0}, {fd=14,
 events=0}, {fd=10, events=POLLIN}, {fd=16, events=POLLIN}, {fd=4,
 events=POLLIN}], 10, 0) = 0 (Timeout)
 poll([{fd=7, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=7,
 revents=POLLOUT}])
 writev(7, [{"5\30\4\0008\7 \3\333\5 \3\3\0\25\0\226\4\5\0009\7 \0038\7
 \3!\1\0\0"..., 368}, {NULL, 0}, {"", 0}], 3) = 368
 read(7, 0x8295fa0, 4096)                = -1 EAGAIN (Resource temporarily
 unavailable)
 read(7, 0x8295fa0, 4096)                = -1 EAGAIN (Resource temporarily
 unavailable)
 gettimeofday({1290950718, 580188}, NULL) = 0
 poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN},
 {fd=11, events=POLLIN}, {fd=14, events=POLLIN}, {fd=14, events=0}, {fd=14,
 events=0}, {fd=10, events=POLLIN}, {fd=16, events=POLLIN}, {fd=4,
 events=POLLIN}], 10, 800) = 1 ([{fd=7, revents=POLLIN}])
 read(7, "\2$W\32\217m\0\3Z\1\0\0\334\5
 \3\0\0\0\0\226\1\332\1\256\0\216\1\0\0\1\0", 4096) = 32
 read(7, 0x8295fa0, 4096)                = -1 EAGAIN (Resource temporarily
 unavailable)
 gettimeofday({1290950718, 670200}, NULL) = 0
 gettimeofday({1290950718, 670258}, NULL) = 0
 time(NULL)                              = 1290950718
 sendmsg(8, {msg_name(0)=NULL,
 msg_iov(2)=[{"l\4\1\1\0\0\0\0[\t\0\0k\0\0\0\1\1o\0\36\0\0\0/im/pidg"...,
 128}, {"", 0}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 128
 poll([{fd=7, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=7,
 revents=POLLOUT}])
 writev(7, [{"\22\0\7\0\334\5 \3J\1\0\0\6\0\0\0
 \4\5\0\1\0\0\0\217m\0\3\203\1\2\0"..., 36}, {NULL, 0}, {"", 0}], 3) = 36
 poll([{fd=7, events=POLLIN}], 1, -1)    = 1 ([{fd=7, revents=POLLIN}])
 read(7,
 "\1\3Y\32\0\0\0\0Y\1\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0002\217\277\211n\7\10",
 4096) = 32
 read(7, 0x8295fa0, 4096)                = -1 EAGAIN (Resource temporarily
 unavailable)
 gettimeofday({1290950718, 671053}, NULL) = 0
 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
 write(2, "Hi, user.  We need to talk.\nI th"..., 359Hi, user.  We need to
 talk.
 I think something's gone wrong here.  It's probably my fault.
 No, really, it's not you... it's me... no no no, I think we get along well
 it's just that.... well, I want to see other people.  I... what?!?  NO!  I
 haven't been cheating on you!!  How many times do you want me to tell
 you?!  And
 for the last time, it's just a rash!
 ) = 359
 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
 tgkill(32205, 32205, SIGABRT)           = 0
 --- SIGABRT (Aborted) @ 0 (0) ---
 +++ killed by SIGABRT +++
 Aborted

 }}}

 If i compile the pidgin whithout "debug info", run "pidgin -d" and send
 messages in the chat room, get following messages

 ----
 ------------------

 {{{
 (21:35:11) util: Writing file /home/XXXXXX/.purple/blist.xml
 (21:35:13) util: Writing file prefs.xml to directory
 /home/sipingal/.purple
 (21:35:13) util: Writing file /home/XXXXXX/.purple/prefs.xml
 dns[5192]: nobody needs me... =(
 Pidgin 2.7.7 has segfaulted and attempted to dump a core file.
 This is a bug in the software and has happened through
 no fault of your own.

 If you can reproduce the crash, please notify the developers
 by reporting a bug at:
 http://developer.pidgin.im/simpleticket/

 Please make sure to specify what you were doing at the time
 and post the backtrace from the core file.  If you do not know
 how to get the backtrace, please read the instructions at
 http://developer.pidgin.im/wiki/GetABacktrace
 Aborted

 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/13003>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list