Opened 9 years ago

Last modified 6 years ago

#9705 new defect

Finch crashes on accepting conference invitation

Reported by: dlou99 Owned by: sadrul
Milestone: Component: finch (gnt/ncurses)
Version: 2.5.8 Keywords: crash
Cc:

Description

userA creates a conference by inviting userB. userB accepts. With the two users successfully in conference, one invites userC who is using finch. When userC accepts the invitation, his finch client segfaults.

Attachments (1)

finch-backtrace.txt (5.3 KB) - added by dlou99 9 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 9 years ago by QuLogic

  • Status changed from new to pending

Please follow the instructions to get a backtrace and attach it to this ticket.

Changed 9 years ago by dlou99

comment:2 Changed 9 years ago by dlou99

  • Status changed from pending to new

Attachment (finch-backtrace.txt) added by ticket reporter.

comment:4 Changed 8 years ago by rincebrain

Bug is still relevant on 2.7.X finch - earlier versions of finch will crash in the above scenario "sometimes", later versions (2.7.9+; haven't bisected) will not crash but will silently discard the chat invitation once accepted.

Will get a recent backtrace and try to instrument next time it transpires.

comment:5 Changed 6 years ago by Flyounet

Bug is still relevant in Finch 2.10.6 (4cfe697ea3ae39a4fb3dad8e3ed1c70855901095)

Backtrace is :

Program received signal SIGSEGV, Segmentation fault.
0x0015b18b in purple_conv_chat_add_users () from /usr/lib/libpurple.so.0
(gdb) bt full
#0  0x0015b18b in purple_conv_chat_add_users () from /usr/lib/libpurple.so.0
No symbol table info available.
#1  0x0015b3c0 in purple_conv_chat_add_user () from /usr/lib/libpurple.so.0
No symbol table info available.
#2  0x0052e950 in ?? () from /usr/lib/purple-2/libsametime.so
No symbol table info available.
#3  0x00856304 in ?? () from /usr/lib/libmeanwhile.so.1
No symbol table info available.
#4  0x008569fd in ?? () from /usr/lib/libmeanwhile.so.1
No symbol table info available.
#5  0x0084b285 in mwService_recv () from /usr/lib/libmeanwhile.so.1
No symbol table info available.
#6  0x00843c42 in ?? () from /usr/lib/libmeanwhile.so.1
No symbol table info available.
#7  0x0084ccda in ?? () from /usr/lib/libmeanwhile.so.1
No symbol table info available.
#8  0x0084d450 in mwSession_recv () from /usr/lib/libmeanwhile.so.1
No symbol table info available.
#9  0x0052f017 in ?? () from /usr/lib/purple-2/libsametime.so
No symbol table info available.
#10 0x0052f084 in ?? () from /usr/lib/purple-2/libsametime.so
No symbol table info available.
#11 0x00d76245 in purple_gnt_io_invoke (source=0x225e70f0, condition=G_IO_IN, data=0x225e9ec0) at /build/buildd/pidgin-2.10.6/./finch/finch.c:186
        closure = 0x225e9ec0
        purple_cond = PURPLE_INPUT_READ
#12 0x007cd2ee in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#13 0x0078725f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#14 0x00787990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#15 0x00787f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#16 0x006f5664 in gnt_main () at /build/buildd/pidgin-2.10.6/./finch/libgnt/gntmain.c:521
No locals.
#17 0x00d60c0e in main (argc=2, argv=0xbffe2c94) at /build/buildd/pidgin-2.10.6/./finch/finch.c:457
No locals.

And here is the end of the Debug Log :

(14:54:38) blist: Updating buddy status for CN=Maxime C/O=EUROXXXXXX (Sametime)
(14:55:10) meanwhile: channel 0x80000001 state: waiting
(14:55:10) meanwhile: channel offered with encrypt policy 0x0000
(14:55:10) meanwhile: accepting place-invite channel
(14:55:10) meanwhile: setting conversation (CN=Jose A/OU=EXX/O=EUROXXXXX, (null)) state: pending
(14:55:10) meanwhile: channel 0x80000001 selected no cipher
(14:55:10) meanwhile: channel 0x80000001 state: open
(14:55:10) meanwhile: setting conversation (CN=Jose A/OU=EXX/O=EUROXXXXX, (null)) state: open
(14:55:10) meanwhile: convo_invite
(14:55:10) meanwhile: setting conversation (CN=Jose A/OU=EXX/O=EUROXXXXX, (null)) state: closed
(14:55:10) meanwhile: channel 0x80000001 state: closing
(14:55:15) util: Writing file blist.xml to directory /home/flyounet/.purple
(14:55:15) util: Writing file /home/flyounet/.purple/blist.xml
(14:55:22) meanwhile: channel 0x00000004 state: waiting
(14:55:22) meanwhile: channel 0x00000004 state: initializing
(14:55:22) meanwhile: channel 0x00000004 state: waiting
(14:55:22) meanwhile: place 6dcd23cb 0ae44c1813,59,010 state: pending
(14:55:22) meanwhile: channel accepted with encrypt policy 0x2000
(14:55:22) meanwhile: channel 0x00000004 selected cipher RC2/128 Cipher
(14:55:22) meanwhile: channel 0x00000004 state: open
(14:55:22) meanwhile: place 6dcd23cb 0ae44c1813,59,010 state: joining
(14:55:22) meanwhile: place 6dcd23cb 0ae44c1813,59,010 state: joined
(14:55:22) meanwhile: mwString_get: assertion `check_buffer(b, (gsize) len)' failed
(14:55:22) meanwhile: place 6dcd23cb 0ae44c1813,59,010 state: open
(14:55:22) meanwhile: collected member 2: CN=Jose A/OU=EXX/O=EUROXXXXX, (null)
(14:55:22) meanwhile: collected member 1028288371: (null), (null)
(14:55:22) sametime: place 6dcd23cb 0ae44c1813,59,010 opened, 2 initial members
(14:55:22) g_log: purple_normalize: assertion `str != NULL' failed
(14:55:22) g_log: purple_find_buddy: assertion `(name != NULL) && (*name != '\0')' failed
(14:55:22) g_log: purple_conv_chat_is_user_ignored: assertion `user != NULL' failed
(14:55:22) g_log: purple_conv_chat_cb_new: assertion `name != NULL' failed
(14:55:22) g_log: purple_find_buddy: assertion `(name != NULL) && (*name != '\0')' failed
Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!