Summary: | =gnome-base/gnome-settings-daemon-3.6.4 - gnome-settings-daemon segmentation fault in libcairo.so.2.11200.14 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | output of gdb |
Description
Juergen Rose
2013-07-07 21:25:00 UTC
Please try to capture a core dump of this. Add the following line to /etc/security/limits.conf: * soft core unlimited Optionally you can change sysctl and set kernel.core_pattern = /tmp/core.%p to change the location where the core dump will be put. After that, do `emerge gdb` and then run `gdb /usr/libexec/gnome-settings-daemon --core /path/to/core/dump/here` (replace the path by the path to the core dump file) after which you can do `thread apply all bt full`, please comment with or attach the full output of the whole gdb process here. Thank you in advance. I added the line to /etc/security/limits.conf and created a /etc/sysctl.d/local.conf with kernel.core_pattern = /tmp/core.%p , reemerged gnome-settings-daemon with debugging options. After the next reboot and logging with gdm into a gnome-session dmesg says: ... [ 255.612718] EXT4-fs (dm-10): re-mounted. Opts: user_xattr,commit=0 [ 257.915042] gnome-settings-[26682]: segfault at 10 ip 00007f7e668efab7 sp 00007fffdfe9c5c0 error 4 in libcairo.so.2.11200.14[7f7e6685c000+10c000] [ 258.595326] gnome-settings-[26799]: segfault at 10 ip 00007f88e4996ab7 sp 00007fffe219d3a0 error 4 in libcairo.so.2.11200.14[7f88e4903000+10c000] I have now under /tmp two core files: -rw------- 1 gdm gdm 39718912 Jul 21 19:04 /tmp/core.26682 -rw------- 1 gdm gdm 39985152 Jul 21 19:04 /tmp/core.26799 Gdb starts with: root@impala:/root(4)# gdb /usr/libexec/gnome-settings-daemon --core /tmp/core.26682 GNU gdb (Gentoo 7.6 p1) 7.6 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/libexec/gnome-settings-daemon...(no debugging symbols found)...done. warning: core file may not match specified executable file. [New LWP 26682] [New LWP 26685] [New LWP 26686] [New LWP 26683] warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/libexec/gnome-settings-daemon'. Program terminated with signal 11, Segmentation fault. #0 0x00007f7e668efab7 in cairo_xlib_surface_get_drawable () from /usr/lib64/libcairo.so.2 (gdb) thread apply all bt full Thread 4 (Thread 0x7f7e602e2700 (LWP 26683)): #0 0x00007f7e67c1230e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 No symbol table info available. #1 0x00007f7e67eaa4e5 in g_cond_wait_until () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #2 0x00007f7e67e43881 in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #3 0x00007f7e67e43ecf in g_async_queue_timeout_pop () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #4 0x00007f7e67e90fb1 in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #5 0x00007f7e67e90755 in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #6 0x00007f7e67c0e01a in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #7 0x00007f7e679441ad in clone () from /lib64/libc.so.6 No symbol table info available. Thread 3 (Thread 0x7f7e568b5700 (LWP 26686)): #0 0x00007f7e6793a53d in poll () from /lib64/libc.so.6 No symbol table info available. #1 0x00007f7e67e6cd3c in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #2 0x00007f7e67e6ce6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #3 0x00007f7e5ea4bb2d in ?? () from /usr/lib64/gio/modules/libdconfsettings.so No symbol table info available. #4 0x00007f7e67e90755 in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #5 0x00007f7e67c0e01a in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #6 0x00007f7e679441ad in clone () from /lib64/libc.so.6 No symbol table info available. Thread 2 (Thread 0x7f7e5d658700 (LWP 26685)): #0 0x00007f7e6793a53d in poll () from /lib64/libc.so.6 No symbol table info available. #1 0x00007f7e67e6cd3c in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #2 0x00007f7e67e6d1b2 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #3 0x00007f7e68468956 in ?? () from /usr/lib64/libgio-2.0.so.0 No symbol table info available. #4 0x00007f7e67e90755 in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #5 0x00007f7e67c0e01a in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #6 0x00007f7e679441ad in clone () from /lib64/libc.so.6 No symbol table info available. Thread 1 (Thread 0x7f7e6957e8c0 (LWP 26682)): #0 0x00007f7e668efab7 in cairo_xlib_surface_get_drawable () from /usr/lib64/libcairo.so.2 No symbol table info available. #1 0x00007f7e689f0755 in ?? () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #2 0x00007f7e6888bb3e in ?? () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #3 0x00007f7e689ada06 in ?? () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #4 0x00007f7e6815cb26 in ?? () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #5 0x00007f7e68175311 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #6 0x00007f7e68175b62 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #7 0x00007f7e689b156e in ?? () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #8 0x00007f7e689bbf59 in gtk_widget_send_expose () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #9 0x00007f7e6888b96a in gtk_main_do_event () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #10 0x00007f7e66ba6640 in ?? () from /usr/lib64/libgdk-3.so.0 No symbol table info available. #11 0x00007f7e66ba5a4c in ?? () from /usr/lib64/libgdk-3.so.0 No symbol table info available. #12 0x00007f7e66ba5ed0 in gdk_window_process_all_updates () from /usr/lib64/libgdk-3.so.0 No symbol table info available. No symbol table info available. #7 0x00007f7e679441ad in clone () from /lib64/libc.so.6 No symbol table info available. Thread 3 (Thread 0x7f7e568b5700 (LWP 26686)): #0 0x00007f7e6793a53d in poll () from /lib64/libc.so.6 No symbol table info available. #1 0x00007f7e67e6cd3c in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #2 0x00007f7e67e6ce6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #3 0x00007f7e5ea4bb2d in ?? () from /usr/lib64/gio/modules/libdconfsettings.so No symbol table info available. #4 0x00007f7e67e90755 in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #5 0x00007f7e67c0e01a in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #6 0x00007f7e679441ad in clone () from /lib64/libc.so.6 No symbol table info available. Thread 2 (Thread 0x7f7e5d658700 (LWP 26685)): #0 0x00007f7e6793a53d in poll () from /lib64/libc.so.6 No symbol table info available. #1 0x00007f7e67e6cd3c in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #2 0x00007f7e67e6d1b2 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #3 0x00007f7e68468956 in ?? () from /usr/lib64/libgio-2.0.so.0 No symbol table info available. #4 0x00007f7e67e90755 in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #5 0x00007f7e67c0e01a in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #6 0x00007f7e679441ad in clone () from /lib64/libc.so.6 No symbol table info available. Thread 1 (Thread 0x7f7e6957e8c0 (LWP 26682)): #0 0x00007f7e668efab7 in cairo_xlib_surface_get_drawable () from /usr/lib64/libcairo.so.2 No symbol table info available. #1 0x00007f7e689f0755 in ?? () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #2 0x00007f7e6888bb3e in ?? () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #3 0x00007f7e689ada06 in ?? () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #4 0x00007f7e6815cb26 in ?? () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #5 0x00007f7e68175311 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #6 0x00007f7e68175b62 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #7 0x00007f7e689b156e in ?? () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #8 0x00007f7e689bbf59 in gtk_widget_send_expose () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #9 0x00007f7e6888b96a in gtk_main_do_event () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #10 0x00007f7e66ba6640 in ?? () from /usr/lib64/libgdk-3.so.0 No symbol table info available. #11 0x00007f7e66ba5a4c in ?? () from /usr/lib64/libgdk-3.so.0 No symbol table info available. #12 0x00007f7e66ba5ed0 in gdk_window_process_all_updates () from /usr/lib64/libgdk-3.so.0 No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #13 0x00007f7e687f8fd4 in ?? () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #14 0x00007f7e66b89ec8 in ?? () from /usr/lib64/libgdk-3.so.0 No symbol table info available. #15 0x00007f7e67e6ca34 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #16 0x00007f7e67e6cda4 in ?? () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #17 0x00007f7e67e6d1b2 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #18 0x00007f7e6888ab3d in gtk_main () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #19 0x0000000000403f1e in main () No symbol table info available. (gdb) Created attachment 353786 [details]
output of gdb
After setting FEATURES="splitdebug noclean nostrip", reemerging gtk+, glibc, glib, dconf, glib and gnome-settings-daemon the last lines of 'dmesg' are: [ 165.542448] cx88[0]: irq aud [0x1001] dn_risci1* dn_sync* [ 165.542455] cx88[0]/1: IRQ loop detected, disabling interrupts [ 166.647218] gnome-settings-[27004]: segfault at 10 ip 00007f1781b33ab7 sp 00007fffc8e838a0 error 4 in libcairo.so.2.11200.14[7f1781aa0000+10c000] [ 167.174743] gnome-settings-[27178]: segfault at 10 ip 00007f4e18e94ab7 sp 00007fff53830800 error 4 in libcairo.so.2.11200.14[7f4e18e01000+10c000] I have two new core files; root@impala:/root(5)# ll /tmp/core.27* -rw------- 1 gdm gdm 39591936 Jul 21 21:17 /tmp/core.27004 -rw------- 1 gdm gdm 48652288 Jul 21 21:17 /tmp/core.27178 And the output of gdb is in the attachment. Stack trace suggests this is caused by the same underlying issue as bug #476306 *** This bug has been marked as a duplicate of bug 476306 *** Maybe the issue disappeared with cairo-1.12.14-r4, at least I do not see after booting any segfaults in dmesg or cores under /tmp: root@impala:/root(7)# genlop -t cairo | tail Tue Jun 18 09:41:07 2013 >>> x11-libs/cairo-1.12.14-r3 merge time: 1 minute and 43 seconds. Tue Jul 16 19:49:34 2013 >>> dev-perl/Cairo-1.103.0 merge time: 21 seconds. Mon Jul 22 08:01:24 2013 >>> x11-libs/cairo-1.12.14-r4 merge time: 2 minutes and 33 seconds. root@impala:/root(8)# ll /tmp/cor* /bin/ls: cannot access /tmp/cor*: No such file or directory root@impala:/root(9)# dmesg | tail [ 77.719491] it87: Beeping is supported [ 118.921945] mount.nfs (26033) used greatest stack depth: 2312 bytes left [ 188.040306] ata1.00: configured for UDMA/133 [ 188.040320] ata1: EH complete [ 188.193702] ata2.00: configured for UDMA/133 [ 188.193715] ata2: EH complete [ 188.282233] ata4.00: configured for UDMA/133 [ 188.282249] ata4: EH complete [ 189.623018] EXT4-fs (dm-6): re-mounted. Opts: user_xattr,commit=0 [ 189.630522] EXT4-fs (dm-10): re-mounted. Opts: user_xattr,commit=0 And the gnome-settings-daemon is running: root@impala:/root(12)# ps -ef | grep sett | grep -v grep rose 27558 27410 0 09:17 ? 00:00:00 /usr/libexec/gnome-settings-daemon OK, then this was probably caused by the force-enabled xlib-xcb in various cairo ebuilds from the x11 overlay and in cairo-1.12.14-r3 from the main tree. Same as bug #476306. |