[Pidgin] #4145: conv->ui_data is NULL in otrg_gtk_dialog_new_conv when new conversation starts
Pidgin
trac at pidgin.im
Wed Nov 28 18:44:03 EST 2007
#4145: conv->ui_data is NULL in otrg_gtk_dialog_new_conv when new conversation
starts
--------------------------+-------------------------------------------------
Reporter: slothman | Type: defect
Status: new | Priority: minor
Component: pidgin (gtk) | Version: 2.3.0
Keywords: | Pending: 0
--------------------------+-------------------------------------------------
On Red Hat Enterprise 4 (2.6.9-55.0.9.ELsmp x86_64), I've noticed that an
open conversation window will suddenly vanish when I'm not using pidgin at
all. I installed the debuginfo RPM and started pidgin with coredumpsize
unlimited, and caught a core dump:
{{{
#0 0x0000002a9644725d in raise () from /lib64/tls/libc.so.6
#1 0x0000002a96448a5e in abort () from /lib64/tls/libc.so.6
#2 0x000000000047695b in sighandler (sig=Variable "sig" is not available.
) at gtkmain.c:220
#3 <signal handler called>
#4 otrg_gtk_dialog_new_conv (conv=0xc4c7b0) at gtk-dialog.c:1424
gtkconv = (PidginConversation *) 0x0
context = (ConnContext *) 0xb1ae90
bbox = Variable "bbox" is not available.
#5 0x0000002a95d073e1 in purple_signal_emit_vargs (instance=Variable
"instance" is not available.
) at signals.c:482
#6 0x0000002a95d07525 in purple_signal_emit (instance=0xc4c7b0,
signal=0x0)
at signals.c:434
#7 0x0000002a95ce14b9 in purple_conversation_new (
type=PURPLE_CONV_TYPE_UNKNOWN, account=0x647980,
name=0xc81c10 "gwcharlwood") at conversation.c:376
#8 0x000000000045b38a in received_im_msg_cb (account=0x647980,
sender=0xc81c10 "gwcharlwood", message=Variable "message" is not
available.
) at gtkconv.c:5167
#9 0x0000002a95d073e1 in purple_signal_emit_vargs (instance=Variable
"instance" is not available.
) at signals.c:482
#10 0x0000002a95d07525 in purple_signal_emit (instance=0xc4c7b0,
signal=0x0)
at signals.c:434
#11 0x0000002a95d05c5b in serv_got_im (gc=0xb1ae90, who=Variable "who" is
not available.
) at server.c:588
#12 0x0000002a9e1f1885 in yahoo_packet_process (gc=0xb1ae90, pkt=Variable
"pkt"is not available.
)
at yahoo.c:927
#13 0x0000002a9e1f2660 in yahoo_pending (data=Variable "data" is not
available.
) at yahoo.c:2542
#14 0x000000000046228c in pidgin_io_invoke (source=Variable "source" is
not available.
) at gtkeventloop.c:78
#15 0x000000350a3266bd in g_main_context_dispatch ()
from /usr/lib64/libglib-2.0.so.0
#16 0x000000350a328397 in g_main_context_acquire ()
from /usr/lib64/libglib-2.0.so.0
#17 0x000000350a328735 in g_main_loop_run () from
/usr/lib64/libglib-2.0.so.0
#18 0x000000300a018511 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#19 0x000000000047723c in main (argc=Variable "argc" is not available.
) at gtkmain.c:873
}}}
In frame 4,
{{{
*conv = {type = PURPLE_CONV_TYPE_IM, account = 0x647980,
name = 0xab5540 "gwcharlwood", title = 0xc4eff0 "William Charlwood",
logging = 1, logs = 0xc82830, u = {im = 0xc1e6d0, chat = 0xc1e6d0,
misc = 0xc1e6d0}, ui_ops = 0x5cdd00, ui_data = 0x0, data = 0xc8b130,
features = 67}
}}}
The crash is caused by dereferencing gtkconv (which gets its value from
conv->ui_data).
--
Ticket URL: <http://developer.pidgin.im/ticket/4145>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list