[Pidgin] #6622: pidgin goes to an endless loop
Pidgin
trac at pidgin.im
Tue Aug 19 04:00:36 EDT 2008
#6622: pidgin goes to an endless loop
------------------+---------------------------------------------------------
Reporter: atti | Type: defect
Status: new | Component: pidgin (gtk)
Version: 2.4.3 | Keywords:
------------------+---------------------------------------------------------
Hi!
I've started pidgin with
{{{
$ gdb pidgin
...
(gdb) run -ddd
}}}
Yesterday i set status to 'offline' and today morning it was printing
{{{
> (11:39:58) GLib: g_main_context_check() called recursively from within a
source's check() or prepare() member.
> (11:39:58) GLib: g_main_context_prepare() called recursively from within
a source's check() or prepare() member.
> (11:39:58) GLib: g_main_context_check() called recursively from within a
source's check() or prepare() member.
> (11:39:58) GLib: g_main_context_prepare() called recursively from within
a source's check() or prepare() member.
}}}
with aprox speed of 850 lines per second. I used CTRL + C to stop it.
Here's log from gdb:
{{{
(11:39:58) GLib: g_main_context_check() called recursively from within a
source's check() or prepare() member.
(11:39:58) GLib: g_main_context_prepare() called recursively from within a
source's check() or prepare() member.
ited]
[Thread 0xb19feb90 (LWP 23722) exited]
[New Thread 0xb19feb90 (LWP 23726)]
[New Thread 0xb21ffb90 (LWP 23727)]
[New Thread 0xb2ba1b90 (LWP 23728)]
[New Thread 0xb33a2b90 (LWP 23729)]
[Thread 0xb33a2b90 (LWP 23729) exited]
[Thread 0xb2ba1b90 (LWP 23728) exited]
[Thread 0xb19feb90 (LWP 23726) exited]
[Thread 0xb21ffb90 (LWP 23727) exited]
[New Thread 0xb21ffb90 (LWP 23732)]
[New Thread 0xb19feb90 (LWP 23733)]
[New Thread 0xb2ba1b90 (LWP 23734)]
[New Thread 0xb33a2b90 (LWP 23735)]
[Thread 0xb33a2b90 (LWP 23735) exited]
[Thread 0xb2ba1b90 (LWP 23734) exited]
[Thread 0xb19feb90 (LWP 23733) exited]
[Thread 0xb21ffb90 (LWP 23732) exited]
[New Thread 0xb21ffb90 (LWP 23736)]
[New Thread 0xb19feb90 (LWP 23737)]
[New Thread 0xb2ba1b90 (LWP 23738)]
[New Thread 0xb33a2b90 (LWP 23739)]
[Thread 0xb33a2b90 (LWP 23739) exited]
[Thread 0xb2ba1b90 (LWP 23738) exited]
[Thread 0xb19feb90 (LWP 23737) exited]
[Thread 0xb21ffb90 (LWP 23736) exited]
Program received signal SIGINT, Interrupt.
[Switching to Thread 0xb7170700 (LWP 19746)]
0xb7f6b424 in __kernel_vsyscall ()
(gdb) bt full
#0 0xb7f6b424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb766211b in write () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb75fbd3c in _IO_file_write () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#3 0xb75fd547 in _IO_do_write () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#4 0xb75fc75a in _IO_file_sync () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#5 0xb75f0769 in fflush () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#6 0xb774a615 in IA__g_print (format=0xb78eaeee "%s%s: %s") at
/tmp/buildd/glib2.0-2.16.4/glib/gmessages.c:1000
charset = (const gchar *) 0x88b69a0 "ISO-8859-1"
string = (gchar *) 0x90bdeb0 "(11:39:58) GLib:
g_main_context_check() called recursively from within a source's check()
or prepare() member.\n"
local_glib_print_func = (GPrintFunc) 0x8cf0f80
__PRETTY_FUNCTION__ = "IA__g_print"
#7 0xb787c008 in purple_debug_vargs (level=PURPLE_DEBUG_WARNING,
category=0x94fd538 "GLib", format=0x8101a51 "%s\n", args=0xbfe8237c "") at
../../libpurple/debug.c:75
ts_s = (gchar *) 0x94ec778 "(11:39:58) "
mdate = <value optimized out>
mtime = 1219131598
ops = (PurpleDebugUiOps *) 0x81093b0
arg_s = 0x9b7ce00 "g_main_context_check() called recursively from
within a source's check() or prepare() member.\n"
__PRETTY_FUNCTION__ = "purple_debug_vargs"
#8 0xb787c25a in purple_debug (level=3069038592, category=0x94fd538
"GLib", format=0x8101a51 "%s\n") at ../../libpurple/debug.c:96
__PRETTY_FUNCTION__ = "purple_debug"
#9 0x080a26ea in pidgin_glib_log_handler (domain=0xb77799a6 "GLib",
flags=G_LOG_LEVEL_WARNING, msg=0x9b48750 "g_main_context_check() called
recursively from within a source's check() or prepare() member.",
user_data=0x0) at ../../pidgin/gtkdebug.c:922
level = PURPLE_DEBUG_WARNING
new_msg = 0x8ff2600 "g_main_context_check() called recursively
from within a source's check() or prepare() member."
new_domain = 0xfffffe00 <Address 0xfffffe00 out of bounds>
#10 0xb7749e4a in IA__g_logv (log_domain=0x0,
log_level=G_LOG_LEVEL_WARNING, format=0xb777f170 "g_main_context_check()
called recursively from within a source's check() or prepare() member.",
args1=0xbfe8283c "") at /tmp/buildd/glib2.0-2.16.4/glib/gmessages.c:474
depth = 1
domain = <value optimized out>
data = (gpointer) 0x0
log_func = (GLogFunc) 0x80a2670 <pidgin_glib_log_handler>
domain_fatal_mask = 5
test_level = G_LOG_LEVEL_WARNING
was_recursion = 0
i = <value optimized out>
#11 0xb774a1b6 in IA__g_log (log_domain=0xb77799a6 "GLib",
log_level=G_LOG_LEVEL_WARNING, format=0xb777f170 "g_main_context_check()
called recursively from within a source's check() or prepare() member.")
at /tmp/buildd/glib2.0-2.16.4/glib/gmessages.c:517
No locals.
#12 0xb7742e15 in IA__g_main_context_check (context=0x88d3d80,
max_priority=-1217121045, fds=0x93d3000, n_fds=0) at
/tmp/buildd/glib2.0-2.16.4/glib/gmain.c:2460
source = <value optimized out>
pollrec = <value optimized out>
n_ready = <value optimized out>
i = <value optimized out>
#13 0xb774386d in g_main_context_iterate (context=0x88d3d80, block=1,
dispatch=1, self=0x88b23e8) at
/tmp/buildd/glib2.0-2.16.4/glib/gmain.c:2642
max_priority = -1217121045
timeout = 0
some_ready = <value optimized out>
nfds = 0
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0x93d3000
__PRETTY_FUNCTION__ = "g_main_context_iterate"
#14 0xb7743ea2 in IA__g_main_loop_run (loop=0x8e37a30) at
/tmp/buildd/glib2.0-2.16.4/glib/gmain.c:2853
self = (GThread *) 0x88b23e8
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#15 0xb7c3dc99 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0x080c061e in main (argc=Cannot access memory at address 0x6f
) at ../../pidgin/gtkmain.c:890
opt_help = <value optimized out>
opt_login = 0
opt_nologin = 0
opt_version = 0
opt_si = 1
opt_config_dir_arg = 0x0
opt_login_arg = 0x0
opt_session_arg = 0x0
accounts = <value optimized out>
sig_indx = <value optimized out>
sigset = {__val = {82951, 0 <repeats 31 times>}}
prev_sig_disp = (void (*)(int)) 0xfffffe00
errmsg =
"\000\000\000\000\000\000\000\000ôoø·´Gè¿ôoø·\002\000\000\000\001\000\000\000\030*è¿\005\bø·\b\000\000\000\b\000\000\000Àæ\031·äGè¿Ë\202÷·Ìæ\031·Àæ\031·\b\000\000\000\000\000\000\000
Ðn·\000\000\000\000\030+è¿\026\232÷·´Gè¿\000\000\000\000\r\000\000\000+\000\000\000×Gè¿ÐGè¿ÌGè¿Ñ\006ø·\016",
'\0' <repeats 11 times>,
"<\000\000\000ôoø·´Gè¿ôoø·\002\000\000\000\001\000\000\000\230*è¿\005\bø·\b\000\000\000\b\000\000\000¨æ\031·äGè¿Ë\202÷·´æ\031·¨æ\031·\b\000\000\000\000\000\000\000
"...
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 = 0x810452a "config", has_arg = 1, flag =
0x0, val = 99}, {name = 0x80f4679 "debug", has_arg = 0, flag = 0x0, val =
100}, {name = 0x80f7487 "help", has_arg = 0, flag = 0x0, val = 104}, {name
= 0x80f4931 "login", has_arg = 2, flag = 0x0, val = 108}, {name =
0x810098f "multiple", has_arg = 0, flag = 0x0, val = 109}, {name =
0x8100998 "nologin", has_arg = 0, flag = 0x0, val = 110}, {name =
0x81009a0 "nocrash", has_arg = 0, flag = 0x0, val = 120}, {name =
0x8104520 "session", has_arg = 1, flag = 0x0, val = 115}, {name =
0x80f9176 "version", has_arg = 0, flag = 0x0, val = 118}, {name =
0x8104533 "display", has_arg = 1, flag = 0x0, val = 68}, {name = 0x81009a8
"sync", has_arg = 0, flag = 0x0, val = 83}, {name = 0x0, has_arg = 0, flag
= 0x0, val = 0}}
(gdb) quit
The program is running. Exit anyway? (y or n) y
}}}
hth, Atti
--
Ticket URL: <http://developer.pidgin.im/ticket/6622>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list