Opened 12 years ago

Closed 10 years ago

#3775 closed defect (duplicate)

Pidgin's signals-test.pl causes segmentation fault

Reported by: jkao Owned by: deryni
Milestone: Component: plugins
Version: 2.2.1 Keywords:
Cc:

Description

Ubuntu 7.10 (gutsy) on amd64 Thinkpad X61s w/ 4GB RAM

Installing the bundled signals-test.pl test perl plugin from libpurple/plugins/perl/scripts from the source distribution causes pidgin to die when it connects with a segmentation fault. (function-list.pl does work correctly, however)

Steps to reproduce:

  1. Copy signals-test.pl int ~/.purple/plugins
  1. Start pidgin
  1. Select Tools->Plugins
  1. Activate the plugin Perl:Signals Test Script in Perl
  1. Log out and log in to an IM account

Other notes:

Testing with variations of signals_test.pl and my own script, registering callbacks seems to function properly, however accessing certain get_* methods off of objects seems to cause a segfault. In particular, most methods that return structs seem to function properly, but methods that return char* seem to segfault.

GDB Backtrace:

GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) hand[Khandle SIG33 pass nostop noprint
Signal        Stop	Print	Pass to program	Description
SIG33         No	No	Yes		Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/pidgin 
[Thread debugging using libthread_db enabled]
[New Thread 47616945548224 (LWP 20588)]
[New Thread 1082132816 (LWP 20591)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47616945548224 (LWP 20588)]
purple_connection_get_account (gc=0x2) at ../../libpurple/connection.c:434
434	../../libpurple/connection.c: No such file or directory.
	in ../../libpurple/connection.c
(gdb) backtrace full
#0  purple_connection_get_account (gc=0x2) at ../../libpurple/connection.c:434
	__PRETTY_FUNCTION__ = "purple_connection_get_account"
#1  0x00002b4ebe849ca7 in XS_Purple__Connection_get_account (my_perl=<value optimized out>, cv=<value optimized out>) at Connection.c:24
	RETVAL = <value optimized out>
	sp = <value optimized out>
	ax = 5
#2  0x00002b4ebd4daedb in Perl_pp_entersub () from /usr/lib/libperl.so.5.8
No symbol table info available.
#3  0x00002b4ebd4d9a6a in Perl_runops_standard () from /usr/lib/libperl.so.5.8
No symbol table info available.
#4  0x00002b4ebd48754e in Perl_call_sv () from /usr/lib/libperl.so.5.8
No symbol table info available.
#5  0x00002b4ebd24ab02 in perl_signal_cb (args=0x7fff0319dc80, data=<value optimized out>) at ../../../../libpurple/plugins/perl/perl-handlers.c:324
	handler = (PurplePerlSignalHandler *) 0xa7e9d0
	ret_val = <value optimized out>
	i = 1
	count = <value optimized out>
	value_count = 1
	ret_value = (PurpleValue *) 0x0
	values = (PurpleValue **) 0x838830
	sv_args = <value optimized out>
	copy_args = <value optimized out>
	na = <value optimized out>
	sp = (SV **) 0x2
#6  0x00002b4ea9c6ec13 in purple_signal_emit_vargs (instance=<value optimized out>, signal=0x2b4ea9ca1134 "signed-on", args=0x7fff0319dcd0) at ../../libpurple/signals.c:477
	handler_data = (PurpleSignalHandlerData *) 0xa45fef
	l = <value optimized out>
	l_next = (GList *) 0x95d160
	tmp = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fff0319ddb0, reg_save_area = 0x7fff0319dcf0}}
	__PRETTY_FUNCTION__ = "purple_signal_emit_vargs"
#7  0x00002b4ea9c6ee3e in purple_signal_emit (instance=0x2, signal=0xba0fd0 "\230#¾") at ../../libpurple/signals.c:434
	args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fff0319ddb0, reg_save_area = 0x7fff0319dcf0}}
	__PRETTY_FUNCTION__ = "purple_signal_emit"
#8  0x00002b4ea9c4c55a in purple_connection_set_state (gc=0x10a4a30, state=<value optimized out>) at ../../libpurple/connection.c:372
	account = (PurpleAccount *) 0x84c380
	presence = (PurplePresence *) 0x85bf70
	ops = (PurpleConnectionUiOps *) 0x6c0f60
	__PRETTY_FUNCTION__ = "purple_connection_set_state"
#9  0x00002b4eb9497349 in yahoo_process_status (gc=0x10a4a30, pkt=<value optimized out>) at ../../../../libpurple/protocols/yahoo/yahoo.c:218
	decoded = (guchar *) 0x2b4eaab17e23 "H\205ÀI\211Ät2\203=þ`."
	tmp = <value optimized out>
	len = 17479709
	account = (PurpleAccount *) 0x84c380
	yd = (struct yahoo_data *) 0x1056f80
	l = (GSList *) 0x10a8810
	f = (YahooFriend *) 0x0
	name = 0x0
	unicode = 0
	message = 0x0
#10 0x00002b4eb949bf2a in yahoo_packet_process (gc=0x10a4a30, pkt=0xba0fd0) at ../../../../libpurple/protocols/yahoo/yahoo.c:2330
No locals.
#11 0x00002b4eb949cf26 in yahoo_pending (data=0x10a4a30, source=<value optimized out>, cond=<value optimized out>) at ../../../../libpurple/protocols/yahoo/yahoo.c:2539
	start = <value optimized out>
	pkt = (struct yahoo_packet *) 0x1081f20
	pktlen = 1599
	gc = (PurpleConnection *) 0x2
	yd = (struct yahoo_data *) 0x1056f80
	buf = "ssengerÀ\20047À\2000À\20060À\2001À\20097À\2001À\200244À\2000À\200301À\200315À\200300À\200315À\2007À\200jason_mark_donahueÀ\20010À\20099À\20013À\2001À\20019À\200I'm mobile http://us.rd.yahoo.com/evt=31917/*http://mobile.yahoo.com/messengerÀ\20047À\2000À\20060À\2001À\20097À\2001À"...
	len = <value optimized out>
#12 0x000000000045aa3d in pidgin_io_invoke (source=<value optimized out>, condition=<value optimized out>, data=<value optimized out>) at ../../pidgin/gtkeventloop.c:78
	closure = (PidginIOClosure *) 0x10a0810
	purple_cond = PURPLE_INPUT_READ
#13 0x00002b4eaa35878f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0x00002b4eaa35b697 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0x00002b4eaa35b9ec in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0x00002b4ea8b5ad0f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x000000000046e63c in main (argc=1, argv=0x7fff031a0888) at ../../pidgin/gtkmain.c:852
	saved_status = <value optimized out>
	opt_help = <value optimized out>
	opt_login = 0
	opt_nologin = 0
	opt_version = <value optimized out>
	opt_si = 1
	opt_config_dir_arg = 0x0
	opt_login_arg = 0x0
	opt_session_arg = 0x0
	search_path = <value optimized out>
	accounts = <value optimized out>
	sigset = {__val = {90119, 0 <repeats 15 times>}}
	prev_sig_disp = <value optimized out>
	errmsg = " \004\032\003ÿ\177\000\000\000j\016ªN+\000\000\000\000\000\000\000\000\000\000àè\031\003ÿ\177\000\000\003\000\000\000\000\000\000\000m;\221§N+\000\000\000\000\000\000\000\000\000\000\201\000\026\225\201\aä\226\000\000\000\000\000\000\000\000\006Z\221§N+\000\000°\003\032\003ÿ\177\000\0000;\221§N+\000\000ï\003\032\003ÿ\177\000\000à\003\032\003ÿ\177\000\000Ø\003\032\003ÿ\177\000\000\003\000\000\000\000\000\000\000 \004\032\003ÿ\177\000\000CC\221§N+\000\000\000\2202ªN+\000\000\0000ªªN+", '\0' <repeats 11 times>, "j\016ªN+\000\000\000\000\000\000\000\000\000\000àè\031\003ÿ\177\000\000\003\000\000\000\000\000\000\000\000"...
	segfault_message_tmp = <value optimized out>
	error = (GError *) 0x0
	opt = <value optimized out>
	gui_check = <value optimized out>
	debug_enabled = <value optimized out>
	migration_failed = <value optimized out>
	active_accounts = <value optimized out>
	long_options = {{name = 0x4a6f51 "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x496b19 "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x499e27 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x496dd1 "login", has_arg = 2, flag = 0x0, val = 108}, {name = 0x4a3806 "multiple", has_arg = 0, flag = 0x0, val = 109}, {name = 0x4a380f "nologin", has_arg = 0, flag = 0x0, val = 110}, {name = 0x4a6f47 "session", has_arg = 1, flag = 0x0, val = 115}, {name = 0x49b958 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
(gdb) info registers
rax            0x2	2
rbx            0x30	48
rcx            0xa45fef	10772463
rdx            0x0	0
rsi            0xba0fd0	12193744
rdi            0x2	2
rbp            0xb9efa0	0xb9efa0
rsp            0x7fff0319d980	0x7fff0319d980
r8             0xa45fe8	10772456
r9             0x7	7
r10            0x0	0
r11            0x2b4ea9c4c1ca	47616855687626
r12            0x5	5
r13            0xbd1890	12392592
r14            0x7fff0319dc20	140733245414432
r15            0x5	5
rip            0x2b4ea9c4c1d3	0x2b4ea9c4c1d3 <purple_connection_get_account+9>
eflags         0x10202	[ IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
fctrl          0x37f	895
fstat          0x0	0
ftag           0xffff	65535
fiseg          0x2b4e	11086
fioff          0xa8c625c7	-1463409209
foseg          0x7fff	32767
fooff          0x319dcc0	52026560
fop            0x55c	1372
mxcsr          0x1fa0	[ PE IM DM ZM OM UM PM ]
(gdb) thread apply all backtrace

Thread 2 (Thread 1082132816 (LWP 20591)):
#0  0x00002b4eaab6ee26 in poll () from /lib/libc.so.6
#1  0x00002b4eaa35b4b0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00002b4eaa35b9ec in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00002b4ead742593 in ?? () from /usr/lib/libnm_glib.so.0
#4  0x00002b4eaa3778be in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00002b4eaa88e317 in start_thread () from /lib/libpthread.so.0
#6  0x00002b4eaab77d5d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 47616945548224 (LWP 20588)):
#0  purple_connection_get_account (gc=0x2) at ../../libpurple/connection.c:434
#1  0x00002b4ebe849ca7 in XS_Purple__Connection_get_account (my_perl=<value optimized out>, cv=<value optimized out>) at Connection.c:24
#2  0x00002b4ebd4daedb in Perl_pp_entersub () from /usr/lib/libperl.so.5.8
#3  0x00002b4ebd4d9a6a in Perl_runops_standard () from /usr/lib/libperl.so.5.8
#4  0x00002b4ebd48754e in Perl_call_sv () from /usr/lib/libperl.so.5.8
#5  0x00002b4ebd24ab02 in perl_signal_cb (args=0x7fff0319dc80, data=<value optimized out>) at ../../../../libpurple/plugins/perl/perl-handlers.c:324
#6  0x00002b4ea9c6ec13 in purple_signal_emit_vargs (instance=<value optimized out>, signal=0x2b4ea9ca1134 "signed-on", args=0x7fff0319dcd0) at ../../libpurple/signals.c:477
#7  0x00002b4ea9c6ee3e in purple_signal_emit (instance=0x2, signal=0xba0fd0 "\230#¾") at ../../libpurple/signals.c:434
#8  0x00002b4ea9c4c55a in purple_connection_set_state (gc=0x10a4a30, state=<value optimized out>) at ../../libpurple/connection.c:372
#9  0x00002b4eb9497349 in yahoo_process_status (gc=0x10a4a30, pkt=<value optimized out>) at ../../../../libpurple/protocols/yahoo/yahoo.c:218
#10 0x00002b4eb949bf2a in yahoo_packet_process (gc=0x10a4a30, pkt=0xba0fd0) at ../../../../libpurple/protocols/yahoo/yahoo.c:2330
#11 0x00002b4eb949cf26 in yahoo_pending (data=0x10a4a30, source=<value optimized out>, cond=<value optimized out>) at ../../../../libpurple/protocols/yahoo/yahoo.c:2539
#12 0x000000000045aa3d in pidgin_io_invoke (source=<value optimized out>, condition=<value optimized out>, data=<value optimized out>) at ../../pidgin/gtkeventloop.c:78
#13 0x00002b4eaa35878f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0x00002b4eaa35b697 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00002b4eaa35b9ec in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#16 0x00002b4ea8b5ad0f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x000000000046e63c in main (argc=1, argv=0x7fff031a0888) at ../../pidgin/gtkmain.c:852
(gdb) quit
The program is running.  Exit anyway? (y or n) 

pidgin -d output:

jkao@plant:~$ pidgin -d 2>&1 | tee pidgin-debug-log.txt
(00:57:18) prefs: Reading /home/jkao/.purple/prefs.xml
(00:57:18) prefs: Finished reading /home/jkao/.purple/prefs.xml
(00:57:18) dbus: okkk
(00:57:18) plugins: probing /usr/lib/pidgin/gtkbuddynote.so
(00:57:18) plugins: probing /usr/lib/pidgin/timestamp.so
(00:57:18) plugins: probing /usr/lib/pidgin/gevolution.so
(00:57:18) plugins: probing /usr/lib/pidgin/notify.so
(00:57:18) plugins: probing /usr/lib/pidgin/markerline.so
(00:57:18) plugins: probing /usr/lib/pidgin/gestures.so
(00:57:18) plugins: probing /usr/lib/pidgin/cap.so
(00:57:18) plugins: probing /usr/lib/pidgin/timestamp_format.so
(00:57:18) plugins: probing /usr/lib/pidgin/iconaway.so
(00:57:18) plugins: probing /usr/lib/pidgin/history.so
(00:57:18) plugins: probing /usr/lib/pidgin/spellchk.so
(00:57:18) plugins: probing /usr/lib/pidgin/convcolors.so
(00:57:18) plugins: probing /usr/lib/pidgin/pidginrc.so
(00:57:18) plugins: probing /usr/lib/pidgin/musicmessaging.so
(00:57:18) plugins: probing /usr/lib/pidgin/extplacement.so
(00:57:18) plugins: probing /usr/lib/pidgin/ticker.so
(00:57:18) plugins: probing /usr/lib/pidgin/nautilus.so
(00:57:18) plugins: probing /usr/lib/pidgin/xmppconsole.so
(00:57:18) plugins: probing /usr/lib/purple-2/libnovell.so
(00:57:18) plugins: probing /usr/lib/purple-2/libicq.so
(00:57:18) plugins: probing /usr/lib/purple-2/libirc.so
(00:57:18) plugins: probing /usr/lib/purple-2/libmsn.so
(00:57:18) plugins: probing /usr/lib/purple-2/libbonjour.so
(00:57:18) plugins: probing /usr/lib/purple-2/libzephyr.so
(00:57:18) plugins: probing /usr/lib/purple-2/libsimple.so
(00:57:18) plugins: probing /usr/lib/purple-2/statenotify.so
(00:57:18) plugins: probing /usr/lib/purple-2/libyahoo.so
(00:57:18) plugins: probing /usr/lib/purple-2/psychic.so
(00:57:18) plugins: probing /usr/lib/purple-2/ssl-gnutls.so
(00:57:18) plugins: probing /usr/lib/purple-2/libmyspace.so
(00:57:18) plugins: probing /usr/lib/purple-2/ssl-nss.so
(00:57:18) plugins: probing /usr/lib/purple-2/libjabber.so
(00:57:18) plugins: /usr/lib/purple-2/libjabber.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
(00:57:18) plugins: probing /usr/lib/purple-2/buddynote.so
(00:57:18) plugins: probing /usr/lib/purple-2/libsametime.so
(00:57:18) plugins: /usr/lib/purple-2/libsametime.so has a prefs_info, but is a prpl. This is no longer supported.
(00:57:18) plugins: probing /usr/lib/purple-2/log_reader.so
(00:57:18) plugins: probing /usr/lib/purple-2/tcl.so
(00:57:18) plugins: probing /usr/lib/purple-2/ssl.so
(00:57:18) plugins: probing /usr/lib/purple-2/joinpart.so
(00:57:18) plugins: probing /usr/lib/purple-2/liboscar.so
(00:57:18) plugins: /usr/lib/purple-2/liboscar.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
(00:57:18) plugins: probing /usr/lib/purple-2/idle.so
(00:57:18) plugins: probing /usr/lib/purple-2/libxmpp.so
(00:57:18) util: Reading file xmpp-caps.xml from directory /home/jkao/.purple
(00:57:18) plugins: probing /usr/lib/purple-2/perl.so
(00:57:18) plugins: probing /usr/lib/purple-2/libgg.so
(00:57:18) plugins: probing /usr/lib/purple-2/offlinemsg.so
(00:57:18) plugins: probing /usr/lib/purple-2/newline.so
(00:57:18) plugins: probing /usr/lib/purple-2/libqq.so
(00:57:18) plugins: probing /usr/lib/purple-2/autoaccept.so
(00:57:18) plugins: probing /usr/lib/purple-2/libaim.so
(00:57:18) plugins: probing /usr/lib/purple-2/dbus-example.so
(00:57:18) plugins: probing /home/jkao/.purple/plugins/signals-test.pl
(00:57:18) plugins: probing /home/jkao/.purple/plugins/function_list.pl
(00:57:19) plugins: probing /home/jkao/.purple/plugins/mylog.pl
(00:57:19) prefs: /purple/status/scores/offline changed, scheduling save.
(00:57:19) prefs: /purple/status/scores/available changed, scheduling save.
(00:57:19) prefs: /purple/status/scores/invisible changed, scheduling save.
(00:57:19) prefs: /purple/status/scores/away changed, scheduling save.
(00:57:19) prefs: /purple/status/scores/extended_away changed, scheduling save.
(00:57:19) prefs: /purple/status/scores/idle changed, scheduling save.
(00:57:19) prefs: /purple/status/scores/offline_msg changed, scheduling save.
(00:57:19) util: Reading file accounts.xml from directory /home/jkao/.purple
(00:57:19) util: Reading file status.xml from directory /home/jkao/.purple
(00:57:19) certificate: CertificateVerifier x509, singleuse requested but not found.
(00:57:19) certificate: CertificateVerifier singleuse registered
(00:57:19) certificate: CertificatePool x509, ca requested but not found.
(00:57:19) certificate: CertificateScheme x509 requested but not found.
(00:57:19) certificate/x509/ca: Lazy init failed because an X.509 Scheme is not yet registered. Maybe it will be better later.
(00:57:19) certificate/x509/ca: Init failed, probably because a dependency is not yet registered. It has been deferred to later.
(00:57:19) certificate: CertificatePool ca registered
(00:57:19) certificate: CertificatePool x509, tls_peers requested but not found.
(00:57:19) certificate: CertificatePool tls_peers registered
(00:57:19) certificate: CertificateVerifier x509, tls_cached requested but not found.
(00:57:19) certificate: CertificateVerifier tls_cached registered
(00:57:19) prefs: /purple/logging/format changed, scheduling save.
(00:57:19) prefs: /purple/logging/format changed, scheduling save.
(00:57:19) prefs: /purple/proxy/type changed, scheduling save.
(00:57:19) prefs: /purple/proxy/host changed, scheduling save.
(00:57:19) prefs: /purple/proxy/port changed, scheduling save.
(00:57:19) prefs: /purple/proxy/username changed, scheduling save.
(00:57:19) prefs: /purple/proxy/password changed, scheduling save.
(00:57:19) certificate: CertificateScheme x509 requested but not found.
(00:57:19) certificate: CertificateScheme x509 registered
(00:57:19) stun: using server 
(00:57:19) sound: Initializing sound output drivers.
(00:57:19) prefs: /pidgin/conversations/placement changed, scheduling save.
(00:57:19) prefs: purple_prefs_connect_callback: Unknown pref /pidgin/conversations/im/show_protocol_icons
(00:57:19) gtkblist: added visibility manager: 1
(00:57:19) docklet: created
(00:57:19) util: Reading file blist.xml from directory /home/jkao/.purple
(00:57:19) plugins: Loading saved plugin /usr/lib/purple-2/statenotify.so
(00:57:19) plugins: Loading saved plugin /usr/lib/pidgin/extplacement.so
(00:57:19) prefs: /pidgin/conversations/placement changed, scheduling save.
(00:57:19) plugins: Loading saved plugin /usr/lib/pidgin/history.so
(00:57:19) plugins: Loading saved plugin /usr/lib/pidgin/notify.so
(00:57:19) plugins: Loading saved plugin /usr/lib/purple-2/ssl-nss.so
(00:57:19) plugins: Loading saved plugin /home/jkao/.purple/plugins/signals-test.pl
(00:57:19) perl: Loading perl script
(00:57:19) plugins: Loading saved plugin /usr/lib/purple-2/psychic.so
(00:57:19) plugins: Loading saved plugin /usr/lib/purple-2/ssl.so
(00:57:19) pounce: Creating pounce: gtk-gaim, cth575
(00:57:19) Session Management: ICE initialized.
(00:57:19) Session Management: Connecting with no previous ID
(00:57:19) Session Management: Handling new ICE connection... (00:57:19) done.
(00:57:19) Session Management: Connected to manager (GnomeSM) with client ID 117f000101000119355823900000055570040
(00:57:19) Session Management: Using pidgin as command
(00:57:19) accels: accel changed, scheduling save.
(00:57:19) accels: accel changed, scheduling save.
(00:57:19) dbus: Need to register an object with the dbus subsystem. (If you are not a developer, please ignore this message.)
(00:57:19) dbus: The signal "gtkblist-unhiding" caused some dbus error. (If you are not a developer, please ignore this message.)
(00:57:19) account: Connecting to account psyssaiz
(00:57:19) connection: Connecting. gc = 0x1032930
(00:57:19) perl: ret_val = (nil)
(00:57:19) oscar: registered module misc (family 0xffff, version = 0x0000, tool 0x0000, tool version 0x0000)
(00:57:19) oscar: registered module oservice (family 0x0001, version = 0x0003, tool 0x0110, tool version 0x0629)
(00:57:19) oscar: registered module locate (family 0x0002, version = 0x0001, tool 0x0110, tool version 0x0629)
(00:57:19) oscar: registered module buddy (family 0x0003, version = 0x0001, tool 0x0110, tool version 0x0629)
(00:57:19) oscar: registered module messaging (family 0x0004, version = 0x0001, tool 0x0110, tool version 0x0629)
(00:57:19) oscar: registered module admin (family 0x0007, version = 0x0001, tool 0x0010, tool version 0x0629)
(00:57:19) oscar: registered module popup (family 0x0008, version = 0x0001, tool 0x0104, tool version 0x0001)
(00:57:19) oscar: registered module bos (family 0x0009, version = 0x0001, tool 0x0110, tool version 0x0629)
(00:57:19) oscar: registered module userlookup (family 0x000a, version = 0x0001, tool 0x0110, tool version 0x0629)
(00:57:19) oscar: registered module stats (family 0x000b, version = 0x0001, tool 0x0104, tool version 0x0001)
(00:57:19) oscar: registered module chatnav (family 0x000d, version = 0x0001, tool 0x0010, tool version 0x0629)
(00:57:19) oscar: registered module chat (family 0x000e, version = 0x0001, tool 0x0010, tool version 0x0629)
(00:57:19) oscar: registered module odir (family 0x000f, version = 0x0001, tool 0x0010, tool version 0x0629)
(00:57:19) oscar: registered module bart (family 0x0010, version = 0x0001, tool 0x0010, tool version 0x0629)
(00:57:19) oscar: registered module feedbag (family 0x0013, version = 0x0004, tool 0x0110, tool version 0x0629)
(00:57:19) oscar: registered module icq (family 0x0015, version = 0x0001, tool 0x0110, tool version 0x047c)
(00:57:19) oscar: registered module auth (family 0x0017, version = 0x0000, tool 0x0000, tool version 0x0000)
(00:57:19) oscar: registered module alert (family 0x0018, version = 0x0001, tool 0x0010, tool version 0x0629)
(00:57:19) oscar: Adding handler for ffff/0003
(00:57:19) oscar: Adding handler for ffff/0006
(00:57:19) oscar: Adding handler for 0007/0003
(00:57:19) oscar: Adding handler for 0007/0005
(00:57:19) oscar: Adding handler for 0007/0007
(00:57:19) oscar: Adding handler for 0018/0001
(00:57:19) oscar: Adding handler for 0018/0007
(00:57:19) oscar: Adding handler for 0017/0003
(00:57:19) oscar: Adding handler for 0017/0007
(00:57:19) oscar: Adding handler for 0017/000a
(00:57:19) oscar: Adding handler for 0010/0005
(00:57:19) oscar: Adding handler for 0009/0001
(00:57:19) oscar: Adding handler for 0009/0003
(00:57:19) oscar: Adding handler for 0003/0001
(00:57:19) oscar: Adding handler for 0003/0003
(00:57:19) oscar: Adding handler for 0003/000b
(00:57:19) oscar: Adding handler for 0003/000c
(00:57:19) oscar: Adding handler for 000e/0001
(00:57:19) oscar: Adding handler for 000e/0003
(00:57:19) oscar: Adding handler for 000e/0004
(00:57:19) oscar: Adding handler for 000e/0002
(00:57:19) oscar: Adding handler for 000e/0006
(00:57:19) oscar: Adding handler for 000d/0001
(00:57:19) oscar: Adding handler for 000d/0009
(00:57:19) oscar: Adding handler for 0013/0001
(00:57:19) oscar: Adding handler for 0013/0003
(00:57:19) oscar: Adding handler for 0013/0006
(00:57:19) oscar: Adding handler for 0013/000e
(00:57:19) oscar: Adding handler for 0013/0008
(00:57:19) oscar: Adding handler for 0013/0009
(00:57:19) oscar: Adding handler for 0013/0015
(00:57:19) oscar: Adding handler for 0013/0019
(00:57:19) oscar: Adding handler for 0013/001b
(00:57:19) oscar: Adding handler for 0013/001c
(00:57:19) oscar: Adding handler for 0004/0005
(00:57:19) oscar: Adding handler for 0004/0007
(00:57:19) oscar: Adding handler for 0004/000a
(00:57:19) oscar: Adding handler for 0004/000b
(00:57:19) oscar: Adding handler for 0004/0001
(00:57:19) oscar: Adding handler for 0004/0014
(00:57:19) oscar: Adding handler for 0004/000c
(00:57:19) oscar: Adding handler for 0015/00f0
(00:57:19) oscar: Adding handler for 0015/00f1
(00:57:19) oscar: Adding handler for 0015/00f3
(00:57:19) oscar: Adding handler for 0015/00f2
(00:57:19) oscar: Adding handler for 0002/0003
(00:57:19) oscar: Adding handler for 0002/0006
(00:57:19) oscar: Adding handler for 0002/0001
(00:57:19) oscar: Adding handler for 0002/fffd
(00:57:19) oscar: Adding handler for 0001/0001
(00:57:19) oscar: Adding handler for 0001/000f
(00:57:19) oscar: Adding handler for 0001/001f
(00:57:19) oscar: Adding handler for 0001/0021
(00:57:19) oscar: Adding handler for 0001/000a
(00:57:19) oscar: Adding handler for 0001/0005
(00:57:19) oscar: Adding handler for 0001/0013
(00:57:19) oscar: Adding handler for 0001/0010
(00:57:19) oscar: Adding handler for 0008/0002
(00:57:19) oscar: Adding handler for 000a/0001
(00:57:19) oscar: Adding handler for 000a/0003
(00:57:19) oscar: oscar_login: gc = 0x1032930
(00:57:19) dns: DNS query for 'login.oscar.aol.com' queued
(00:57:19) Session Management: Received first save_yourself
(00:57:19) dns: Created new DNS child 20544, there are now 1 children.
(00:57:19) dns: Successfully sent DNS request to child 20544
(00:57:19) Session Management: Received save_complete
(00:57:19) docklet: embedded
(00:57:19) network: Entering nm_callback_func!
(00:57:19) dns: Got response for 'login.oscar.aol.com'
(00:57:19) dnsquery: IP resolved for login.oscar.aol.com
(00:57:19) proxy: Attempting connection to 205.188.179.233
(00:57:19) proxy: Connecting to login.oscar.aol.com:5190 with no proxy
(00:57:19) proxy: Connection in progress
(00:57:19) proxy: Connected to login.oscar.aol.com:5190.
(00:57:19) oscar: connected to FLAP server of type 0x0017
(00:57:19) oscar: Screen name sent, waiting for response
(00:57:20) oscar: inside auth_resp (Screen name: psyssaiz)
(00:57:20) oscar: Reg status: 3
(00:57:20) oscar: E-mail: jkao@cjas.org
(00:57:20) oscar: BOSIP: 64.12.25.12:5190
(00:57:20) oscar: Closing auth connection...
(00:57:20) oscar: Scheduling destruction of FLAP connection of type 0x0017
(00:57:20) dns: DNS query for '64.12.25.12' queued
(00:57:20) oscar: Destroying oscar connection of type 0x0017.  Disconnect reason is 0
(00:57:20) oscar: Disconnected.  Code is 0x0000 and msg is 
(00:57:20) dns: Created new DNS child 20546, there are now 1 children.
(00:57:20) dns: Successfully sent DNS request to child 20546
(00:57:20) dns: Got response for '64.12.25.12'
(00:57:20) dnsquery: IP resolved for 64.12.25.12
(00:57:20) proxy: Attempting connection to 64.12.25.12
(00:57:20) proxy: Connecting to 64.12.25.12:5190 with no proxy
(00:57:20) proxy: Connection in progress
(00:57:20) proxy: Connected to 64.12.25.12:5190.
(00:57:20) oscar: connected to FLAP server of type 0x0002
(00:57:20) oscar: MOTD: Unknown (5)
(00:57:20) oscar: FLAP connection of type 0x0002 is now fully connected
(00:57:20) oscar: ssi: requesting rights and list
(00:57:20) oscar: locate rights: max sig len = 4096
(00:57:20) oscar: buddy list rights: Max buddies = 1000 / Max watchers = 2000
(00:57:20) oscar: BOS rights: Max permit = 1000 / Max deny = 1000
(00:57:20) signals test in perl: signed-on ()
(00:57:20) perl: ret_val = (nil)
(00:57:20) connection: Activating keepalive.
(00:57:20) oscar: buddy list loaded
(00:57:20) oscar: ssi rights:(00:57:20)  max type 0x0000=3000,(00:57:20)  max type 0x0001=61,(00:57:20)  max type 0x0002=1000,(00:57:20)  max type 0x0003=1000,(00:57:20)  max type 0x0004=1,(00:57:20)  max type 0x0005=1,(00:57:20)  max type 0x0006=150,(00:57:20)  max type 0x0007=12,(00:57:20)  max type 0x0008=12,(00:57:20)  max type 0x0009=3,(00:57:20)  max type 0x000a=50,(00:57:20)  max type 0x000b=50,(00:57:20)  max type 0x000c=0,(00:57:20)  max type 0x000d=0,(00:57:20)  max type 0x000e=0,(00:57:20)  max type 0x000f=0,(00:57:20)  max type 0x0010=0,(00:57:20)  max type 0x0011=1,(00:57:20)  max type 0x0012=0,(00:57:20)  max type 0x0013=0,(00:57:20)  max type 0x0014=15,(00:57:20)  max type 0x0015=1,(00:57:20)  max type 0x0016=40,(00:57:20)  max type 0x0017=1,(00:57:20)  max type 0x0018=10,(00:57:20)  max type 0x0019=200,(00:57:20)  max type 0x001a=1,(00:57:20)  max type 0x001b=0,(00:57:20)  max type 0x001c=200,(00:57:20)  max type 0x001d=1,(00:57:20)  max type 0x001e=8,(00:57:20)  max type 0x001f=20,(00:57:20)  max type 0x0020=0,(00:57:20)  max type 0x0021=10000,(00:57:20)  max type 0x0022=1000,(00:57:20)  max type 0x0023=1000,(00:57:20)  max type 0x0024=0,(00:57:20) 
(00:57:20) oscar: ssi: syncing local list and server list
(00:57:20) oscar: ssi: activating server-stored buddy list
(00:57:20) buddyicon: Wrote cache file: /home/jkao/.purple/icons/ebbd52198e073e3527f85e0ae73225976da436df.gif
(00:57:21) oscar: incomingim_ch1: unknown TLV 0x0010 (len 4)
(00:57:21) oscar: incomingim_ch1: unknown TLV 0x0011 (len 13)
(00:57:21) oscar: Received IM from AOL System Msg with 1 parts
(00:57:21) buddyicon: Wrote cache file: /home/jkao/.purple/icons/ebbd52198e073e3527f85e0ae73225976da436df.gif
(00:57:21) oscar: Parsing IM part, charset=0x0000, charsubset=0x0000, datalen=255
Segmentation fault (core dumped)

    

Attachments (4)

valgrind-pidgin.log.20627.gz (34.1 KB) - added by jkao 12 years ago.
Output from Valgrind
gdb-pidgin-2.4.1.txt.gz (6.2 KB) - added by jkao 11 years ago.
GDB backtrace from Pidgin 2.4.1 64-bit
stdout-2.4.1.log.gz (3.6 KB) - added by jkao 11 years ago.
Stdout/err for Pidgin 2.4.1 64-bit
_usr_bin_pidgin.2.4.1.crash.nocore.gz (14.5 KB) - added by jkao 11 years ago.
Apport crash dump for Pidgin 2.4.1 64-bit

Download all attachments as: .zip

Change History (10)

Changed 12 years ago by jkao

Output from Valgrind

comment:1 Changed 12 years ago by lschiere

  • Component changed from unclassified to plugins
  • Owner lschiere deleted

comment:2 Changed 11 years ago by sadrul

  • pending changed from 0 to 1

I could not reproduce this bug in 2.4.1. Does it still happen for you?

comment:3 Changed 11 years ago by jkao

  • pending changed from 1 to 0

I upgraded to 2.4.1 and the same problem still occurs. One thing I did discover, however, is that this issue only occurs when running the 64-bit version of Pidgin. When I run a 32-bit version of pidgin from within a 32-bit chroot, the problem does not occur.

I will attach the gdb backtrace, the stdout/err log, and an apport crash dump for 2.4.1.

Changed 11 years ago by jkao

GDB backtrace from Pidgin 2.4.1 64-bit

Changed 11 years ago by jkao

Stdout/err for Pidgin 2.4.1 64-bit

Changed 11 years ago by jkao

Apport crash dump for Pidgin 2.4.1 64-bit

comment:4 Changed 11 years ago by deryni

  • Owner set to deryni

comment:5 Changed 10 years ago by zdeqb

jkao,

Do you still get this bug?

Searching track revealed #4884 and #7404, both of which seem to be duplicates...

#7404 has a workaround, which should make everything work (tm)

comment:6 Changed 10 years ago by deryni

  • Resolution set to duplicate
  • Status changed from new to closed

Closed as duplicate of #7404.
Like #4884 I'm closing this as a duplicate of #7404. jkao, report back if you still have this crash after trying the patch or 2.5.4.

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!