Oups, mea culpa: lex@hemvi:~$ export GDK_SYNCHRONIZE="1" lex@hemvi:~$ gdb -q (gdb) file gnome-control-center Reading symbols from /usr/bin/gnome-control-center...(no debugging symbols found)...done. (gdb) break _exit Function "_exit" not defined. Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (_exit) pending. (gdb) run --sync Starting program: /usr/bin/gnome-control-center --sync [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". (gnome-control-center:10638): Gdk-WARNING **: The program 'gnome-control-center' received an X Window System error. This probably reflects a bug in the program. The error was 'BadRequest (invalid request code or no such operation)'. (Details: serial 173 error_code 1 request_code 136 minor_code 19) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Breakpoint 1, 0x00007ffff587bf30 in _exit () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007ffff587bf30 in _exit () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff7516708 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #2 0x00007ffff7520681 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #3 0x00007ffff5dbd29a in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #4 0x00007ffff5dba5c1 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #5 0x00007ffff5dbb309 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #6 0x00007fffdc4a0e76 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1 #7 0x00007fffdc47bafb in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1 #8 0x00007fffdc47479a in glXQueryVersion () from /usr/lib/x86_64-linux-gnu/libGL.so.1 #9 0x00007fffd8e0118e in ?? () from /usr/lib/x86_64-linux-gnu/libcogl.so.9 #10 0x00007fffd8dbeec2 in cogl_renderer_connect () from /usr/lib/x86_64-linux-gnu/libcogl.so.9 #11 0x00007fffd9297208 in ?? () from /usr/lib/x86_64-linux-gnu/libclutter-1.0.so.0 #12 0x00007fffd92ae2b3 in ?? () from /usr/lib/x86_64-linux-gnu/libclutter-1.0.so.0 #13 0x00007fffd92b9cda in ?? () from /usr/lib/x86_64-linux-gnu/libclutter-1.0.so.0 #14 0x00007fffd92b9f0b in ?? () from /usr/lib/x86_64-linux-gnu/libclutter-1.0.so.0 #15 0x00007ffff61065d7 in g_option_context_parse () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #16 0x00007fffd92ba1d2 in clutter_init () from /usr/lib/x86_64-linux-gnu/libclutter-1.0.so.0 #17 0x00007fffd977be34 in cheese_gtk_init () from /usr/lib/x86_64-linux-gnu/libcheese-gtk.so.21 #18 0x00007fffd99a0bc3 in g_io_module_load () from /usr/lib/control-center-1/panels/libuser-accounts.so #19 0x00007ffff66576a6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #20 0x00007ffff63dda41 in g_type_module_use () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #21 0x00007ffff6657a84 in g_io_modules_load_all_in_directory_with_scope () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #22 0x000000000040a9ca in ?? () #23 0x00007ffff63daa97 in g_type_create_instance () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #24 0x00007ffff63bf818 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #25 0x00007ffff63c12d1 in g_object_newv () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #26 0x00007ffff63c191c in g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #27 0x0000000000408d42 in main () (gdb) i r rax 0x0 0 rbx 0xad 173 rcx 0x7ffff7fc3920 140737353890080 rdx 0x7ffff5d712a0 140737317900960 rsi 0x0 0 rdi 0x1 1 rbp 0x1 0x1 rsp 0x7fffffffd5c8 0x7fffffffd5c8 r8 0x7ffff5b55e60 140737315692128 r9 0x7ffff5b55eb0 140737315692208 r10 0x0 0 r11 0x7ffff587bf30 140737312702256 r12 0x88 136 r13 0x13 19 r14 0x649280 6591104 r15 0x7fffffffd800 140737488345088 rip 0x7ffff587bf30 0x7ffff587bf30 <_exit> eflags 0x202 [ IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 Machine details: + CPU: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz stepping : 7 microcode : 0x26 cpu MHz : 800.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 2 apicid : 3 initial apicid : 3 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4589.55 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: + MEM INFO: MemTotal: 3971300 kB MemFree: 129044 kB Buffers: 35164 kB Cached: 1761480 kB SwapCached: 18004 kB Active: 2297552 kB Inactive: 1270180 kB Active(anon): 1432996 kB Inactive(anon): 400840 kB Active(file): 864556 kB Inactive(file): 869340 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 4095996 kB SwapFree: 3959604 kB Dirty: 4888 kB Writeback: 0 kB AnonPages: 1766624 kB Mapped: 178040 kB Shmem: 62748 kB Slab: 140060 kB SReclaimable: 103580 kB SUnreclaim: 36480 kB KernelStack: 3736 kB PageTables: 35900 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 6081644 kB Committed_AS: 5305908 kB VmallocTotal: 34359738367 kB VmallocUsed: 360756 kB VmallocChunk: 34359363316 kB HardwareCorrupted: 0 kB AnonHugePages: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB DirectMap4k: 79872 kB DirectMap2M: 4030464 kB + `lspci': 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) 00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04) 00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05) 00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5) 00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5) 00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5) 00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05) 00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05) 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05) 00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05) 01:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] (rev 34) 07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) Hope this helps. Let me know if there's anything else I can help with. Issue is always reproducible (tried also various workarounds for ATI and non-free packages, still same problem). On 12/26/2013 11:39 PM, Alexandru Gheorghe wrote: > Tried to debug gnome-control-center in gdb, however I couldn't get a > stack at the end of execution, ([Inferior 1 (process 10269) exited with > code 01]). Tried to load it with `--gdk-debug=GDK_SYNCHRONIZE' to no avail. > > Couldn't get a backtrace. Output is: > > > lex@hemvi:~$ gdb -q > (gdb) file gnome-control-center > Reading symbols from /usr/bin/gnome-control-center...(no debugging > symbols found)...done. > (gdb) run --gdk-debug=GDK_SYNCHRONIZE > Starting program: /usr/bin/gnome-control-center --gdk-debug=GDK_SYNCHRONIZE > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > > (gnome-control-center:10390): Gdk-WARNING **: The program > 'gnome-control-center' received an X Window System error. > This probably reflects a bug in the program. > The error was 'BadRequest (invalid request code or no such operation)'. > (Details: serial 146 error_code 1 request_code 136 minor_code 19) > (Note to programmers: normally, X errors are reported asynchronously; > that is, you will receive the error a while after causing it. > To debug your program, run it with the GDK_SYNCHRONIZE environment > variable to change this behavior. You can then get a meaningful > backtrace from your debugger if you break on the gdk_x_error() function.) > > [Inferior 1 (process 10390) exited with code 01] > (gdb) bt > No stack. > (gdb) i r > The program has no registers now. > (gdb) disassemble gdk_x_error > No symbol table is loaded. Use the "file" command. > (gdb) quit > > > Any thoughts? > > > On 12/26/2013 11:12 PM, Alexandru Gheorghe wrote: >> [...] > -- ; Alexandru Gheorghe ; alghe.global {at} gmail {dot} com ; OpenPGP key ID 0xCAF985D2
signature.asc
Description: OpenPGP digital signature