update-notifier crash

Bug #11825 reported by Sebastien Bacher on 2005-01-10
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Medium
Michael Vogt

Bug Description

I was not using it bug update-notifier just crashed:

Backtrace was generated from '/usr/bin/update-notifier'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1223113792 (LWP 21667)]
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb799d413 in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7f94bab in libgnomeui_segv_handle (signum=11) at gnome-ui-init.c:741
#3 <signal handler called>
#4 0xb788bce9 in IA__g_type_class_unref (g_class=0x8174078) at gtype.c:1107
#5 0x0804b225 in trayicon_update_tooltip ()
#6 0x0804b884 in update_check ()
#7 0x0804b7d9 in fam_check ()
#8 0xb771017c in IA__g_main_context_check (context=0x80eeb88,
    max_priority=134526809, fds=0x80584e8, n_fds=135195528) at gmain.c:2408
#9 0xb770dc8b in IA__g_source_new (source_funcs=0x80eeb88,
    struct_size=1886221359) at gmain.c:848
#10 0xb770ec31 in g_source_unref_internal (source=0x9, context=0xb7766100,
    have_lock=135195616) at gmain.c:1448
#11 0xb770ef53 in IA__g_main_context_find_source_by_funcs_user_data (
    context=0x1, funcs=0x1, user_data=0x1) at gmain.c:1526
#12 0xb770f49a in g_main_dispatch (context=0x80eebd0) at gmain.c:1942
#13 0xb7ba99ff in IA__gtk_main () at gtkmain.c:963
#14 0x0804bb7a in main ()

Thread 1 (Thread -1223113792 (LWP 21667)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb799d413 in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7f94bab in libgnomeui_segv_handle (signum=11) at gnome-ui-init.c:741
 estatus = -1217387820
 eret = 0
 in_segv = 1
 sa = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0},
  sa_mask = {__val = {3077441952, 3221218252, 3085001739, 134911608,
      3085001540, 3221218244, 134709424, 0, 18, 3221219028, 4294960160, 17,
      51, 0, 123, 123, 3077441952, 135741440, 3221219028, 3221218992, 18,
      4096, 3068420096, 0, 0, 0, 4294960144, 115, 2097734, 3221218992, 123,
      3221218352}}, sa_flags = 0, sa_restorer = 0}
 pid = 6127
#3 <signal handler called>
No symbol table info available.
#4 0xb788bce9 in IA__g_type_class_unref (g_class=0x8174078) at gtype.c:1107
No locals.
#5 0x0804b225 in trayicon_update_tooltip ()
No symbol table info available.
#6 0x0804b884 in update_check ()
No symbol table info available.
#7 0x0804b7d9 in fam_check ()
No symbol table info available.
#8 0xb771017c in IA__g_main_context_check (context=0x80eeb88,
    max_priority=134526809, fds=0x80584e8, n_fds=135195528) at gmain.c:2408
 source = (GSource *) 0x80eeb88
 pollrec = (GPollRec *) 0x0
 n_ready = -1214670781
 i = 135195528
#9 0xb770dc8b in IA__g_source_new (source_funcs=0x80eeb88,
    struct_size=1886221359) at gmain.c:848
No locals.
#10 0xb770ec31 in g_source_unref_internal (source=0x9, context=0xb7766100,
    have_lock=135195616) at gmain.c:1448
 old_cb_data = 0xb770e81a
 old_cb_funcs = (GSourceCallbackFuncs *) 0x1
#11 0xb770ef53 in IA__g_main_context_find_source_by_funcs_user_data (
    context=0x1, funcs=0x1, user_data=0x1) at gmain.c:1526
 source = (GSource *) 0xb7766398
#12 0xb770f49a in g_main_dispatch (context=0x80eebd0) at gmain.c:1942
 dispatch = (gboolean (*)(GSource *, GSourceFunc, gpointer)) 0x8055d98
 was_in_call = -1073743044
 user_data = 0x8055d98
 callback = 0xb7ff6730 <_dl_map_object_deps+4359>
 cb_funcs = (GSourceCallbackFuncs *) 0x0
 cb_data = 0xb7d53e54
 need_destroy = -1217468096
 source = (GSource *) 0x80eebd0
 depth = (gint *) 0xbffffb08
 i = 0
#13 0xb7ba99ff in IA__gtk_main () at gtkmain.c:963
 tmp_list = (GList *) 0x0
 functions = (GList *) 0x0
 init = (GtkInitFunction *) 0xbffffb3c
 loop = (GMainLoop *) 0x80eebd0
#14 0x0804bb7a in main ()
No symbol table info available.
#0 0xffffe410 in __kernel_vsyscall ()

Michael Vogt (mvo) wrote :

Thanks for this bugreport.

I've seens this kind of crash before but I'm unable to reproduce it :/
I run update-manager with a 5sec fam check intervall here and:

while true; do sleep 10; sudo apt-get update ; sleep 10 ; sudo apt-get install
-y --force-yes gedit=2.8.1-0ubuntu1 gedit-common=2.8.1-0ubuntu1; sleep 10; sudo
apt-get dist-upgrade -y; done

so that it has to do a lot of checking and updating. But it still no crash here.
I'll give it another try tomorrow.

thanks,
 Michael

Michael Vogt (mvo) wrote :

I uploaded a new 0.37.3 update-notifier. I improved the logic a lot, it would
be interessting to see if it does no longer crash.

thanks,
 Michael

Sebastien Bacher (seb128) wrote :

no sure if that's the same crash but I just got that with the current version:

New Thread -1223142464 (LWP 10562)]
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7993413 in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7f94bab in libgnomeui_segv_handle (signum=11) at gnome-ui-init.c:741
#3 <signal handler called>
#4 0xb7881d12 in g_type_check_instance_cast ()
   from /usr/lib/libgobject-2.0.so.0
#5 0x0804ba15 in update_check ()
#6 0x0804b836 in update_timer_finished ()
#7 0xb770817c in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#8 0xb7705c8b in g_main_depth () from /usr/lib/libglib-2.0.so.0
#9 0xb7706c31 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#10 0xb7706f53 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0xb770749a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#12 0xb7b9f9ff in IA__gtk_main () at gtkmain.c:963
#13 0x0804bd2a in main ()

Thread 1 (Thread -1223142464 (LWP 10562)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7993413 in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7f94bab in libgnomeui_segv_handle (signum=11) at gnome-ui-init.c:741
 estatus = -1073744108
 eret = 15
 in_segv = 1
 sa = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0},
  sa_mask = {__val = {51, 0, 123, 123, 3077409184, 135788216, 3221223188,
      3221223152, 15, 4096, 3068391424, 0, 0, 0, 4294960144, 115, 2097734,
      3221223152, 123, 3221222512, 0, 0, 4294902655, 4294901792, 4294967295,
      0, 0, 0, 0, 3510423552, 3510423868, 1522810877}},
  sa_flags = -1810502612, sa_restorer = 0x3ffd8532}
 pid = 25842
#3 <signal handler called>
No symbol table info available.
#4 0xb7881d12 in g_type_check_instance_cast ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#5 0x0804ba15 in update_check ()
No symbol table info available.
#6 0x0804b836 in update_timer_finished ()
No symbol table info available.
#7 0xb770817c in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#8 0xb7705c8b in g_main_depth () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#9 0xb7706c31 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0xb7706f53 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0xb770749a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0xb7b9f9ff in IA__gtk_main () at gtkmain.c:963
 tmp_list = (GList *) 0x0
 functions = (GList *) 0x0
 init = (GtkInitFunction *) 0xbffffb3c
 loop = (GMainLoop *) 0x80ee660
#13 0x0804bd2a in main ()
No symbol table info available.
#0 0xffffe410 in __kernel_vsyscall ()

Sebastien Bacher (seb128) wrote :

I've installed a debug package and gdb -p <pid> to try to get a backtrace with
symbole, doesn't work fine but I got this that seems to be the issue:

#87 0x0804ba15 in fam_check (un=0x80dd490) at update-notifier.c:317
        fe = {fc = 0x75726576, fr = {reqnum = 841888105}, hostname = 0x5b20332d
<Address 0x5b20332d out of bounds>,
  filename = "1.1.3-0ubuntu3] (1.1.3-0ubuntu2 Ubuntu:5.04/hoary)\n\000
[]\n\000lets-data
]\n\000\000\000\uffff\n\017\b\uffff\b\017\b\uffffj\227\uffff\001\000\000\000\uffff\004\016\b8\uffff\uffff\uffff\uffff\232o\uffffX\uffff\r\b\200w\a\b\210\232o\uffff
\000\000\000\030\uffff\uffff\uffff\000\000\000\000\200\uffff\uffff\uffff](h\uffff\uffff\021{\uffff\200\uffff\uffff\uffff\000\uffff\uffff\uffff*\uffffz\uffff\022\000\000\000\200\uffff\uffff\uffff\000\000\000\000\000\000\000\000x\uffff\uffff\uffff@\000\000\000\uffff\uffff\027\b\230\uffffu\uffff\022\000\000\000x\uffff\uffff\uffff",
'\0' <repeats 132 times>, "n\uffff"..., userdata = 0xb7c7e6b5, code = 135788216}
        dpkg_was_run = 1919251297
        apt_get_update_runing = 1952539749
#88 0x0804ba15 in fam_check (un=0x80584e8) at update-notifier.c:317
        fe = {fc = 0x8058500, fr = {reqnum = 2}, hostname = 0x0,
---Type <return> to continue, or q <return> to quit---
  filename =
"/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_hoary_universe_source_Sources",
'\0' <repeats 220 times>,
"\uffffRa\uffff\000\000\000\000\231\036s\uffff\000\000\000\000\uffff\uffff\uffff\uffff\uffff\uffff_\uffff\uffff\uffff\uffff\uffff\231\036s\uffff\003\000\000\000\uffff\uffff_\uffff\uffff\uffff\uffff\uffff\231\036s\uffff\003\000\000\000\uffff\uffff_\uffff<\uffff_\uffff\230\uffff\uffff\uffff\003\000\000\000\000\000\000\000<\uffff_\uffff\uffff\uffff\uffff\uffff\000\000\000\000\000\000\000\000<\uffff_\uffff\uffff\uffff\uffff\uffff\uffffRa\uffff\000\000"...,
  userdata = 0xb77a7a25, code = 0}
        dpkg_was_run = 0
        apt_get_update_runing = 0
#89 0x0804b836 in trayicon_create (un=0x80584e8) at update-notifier.c:234

Michael Vogt (mvo) wrote :

any more crashes recently? Or is the version in hoary stable for you now?

thanks,
 Michael

Sebastien Bacher (seb128) wrote :

no crash for a few day but it was not crashing all the time so I don't know if
that's fixed or not .. feel free to close the bug if you think it's fixed, I'll
reopen it I get a crash again

Vincent Untz (vuntz) wrote :
Download full text (4.4 KiB)

Got a crash this morning:

Backtrace was generated from '/usr/bin/update-notifier'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1223129952 (LWP 9091)]
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7996413 in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7f9bbab in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
#3 0x00005303 in ?? ()
#4 0xbffff2fc in ?? ()
#5 0x00000000 in ?? ()
#6 0x00000000 in ?? ()
#7 0x00000000 in ?? ()
#8 0x00000000 in ?? ()
#9 0xb76fd2d4 in IA__g_hash_table_foreach (hash_table=0xb, func=0x33,
    user_data=0x0) at ghash.c:554
#10 <signal handler called>
#11 IA__g_type_check_instance_cast (type_instance=0x80d7bc8,
    iface_type=134724048) at gtype.c:318
#12 0x0804e840 in update_check ()
#13 0x0804bfca in fam_check ()
#14 0xb776e54b in dbus_connection_dispatch () from /usr/lib/libdbus-1.so.0
#15 0xb779b57e in dbus_g_connection_flush () from /usr/lib/libdbus-glib-1.so.0
#16 0xb7708c8b in g_main_dispatch (context=0x808dc40) at gmain.c:1947
#17 0xb7709c31 in IA__g_main_context_dispatch (context=0x808dc40)
    at gmain.c:2497
#18 0xb7709f53 in g_main_context_iterate (context=0x808dc40, block=1,
    dispatch=1, self=0x8059d98) at gmain.c:2578
#19 0xb770a49a in IA__g_main_loop_run (loop=0x8151ac0) at gmain.c:2782
#20 0xb7bb0a37 in IA__gtk_main () at gtkmain.c:963
#21 0x0804c4ed in main ()

Thread 1 (Thread -1223129952 (LWP 9091)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7996413 in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7f9bbab in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#3 0x00005303 in ?? ()
No symbol table info available.
#4 0xbffff2fc in ?? ()
No symbol table info available.
#5 0x00000000 in ?? ()
No symbol table info available.
#6 0x00000000 in ?? ()
No symbol table info available.
#7 0x00000000 in ?? ()
No symbol table info available.
#8 0x00000000 in ?? ()
No symbol table info available.
#9 0xb76fd2d4 in IA__g_hash_table_foreach (hash_table=0xb, func=0x33,
    user_data=0x0) at ghash.c:554
 node = (GHashNode *) 0x8151978
 i = 135601676
#10 <signal handler called>
No symbol table info available.
#11 IA__g_type_check_instance_cast (type_instance=0x80d7bc8,
    iface_type=134724048) at gtype.c:318
 is_instantiatable = -1215804204
#12 0x0804e840 in update_check ()
No symbol table info available.
#13 0x0804bfca in fam_check ()
No symbol table info available.
#14 0xb776e54b in dbus_connection_dispatch () from /usr/lib/libdbus-1.so.0
No symbol table info available.
#15 0xb779b57e in dbus_g_connection_flush...

Read more...

Michael Vogt (mvo) wrote :

(In reply to comment #7)
> Got a crash this morning:
[..]
> Version 0.38.2 is installed. I think this is the version that was running, but I
> could be wrong (maybe it got updated and 0.38.1 was running...)

Thanks for this backtrace!

Did it happen after a upgrade? Or just out of the blue? If after a upgrade, can
you please
have a look if the update history is available (if you upgraded with
update-manager of synaptic it's in synaptic File/History). I think
update-notifier does not like when dbus-1 is restart, this is something
I need to fix.

Vincent Untz (vuntz) wrote :

> Did it happen after a upgrade? Or just out of the blue? If after a upgrade, can
> you please have a look if the update history is available (if you upgraded with
> update-manager of synaptic it's in synaptic File/History). I think
> update-notifier does not like when dbus-1 is restart, this is something
> I need to fix.

I upgraded yesterday, but the crash happened in the night, while I was sleeping.
I suspect it happened after the automatic "apt-get update" in cron.
I looked quickly at my upgrade history and I don't think dbus-1 was restarted
before the crash.

I'm not sure this will help a lot...

Michael Vogt (mvo) wrote :

I haven't seen crashes in update-notifier for a long time and got no more
reports about it. Is it still a problem for you?

Vincent Untz (vuntz) wrote :

No crash here since... wow... a long time :-)
It's okay to close this bug.

Sebastien Bacher (seb128) wrote :

works fine for me too, I'm closing the bug

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.