Re: [gnome-flashback] gnome-sessions on Ubuntu 15.10+



1) Install debugging symbols at least for gnome-flashback:
sudo apt-get install gnome-flashback-dbg

2) Not sure, but I think env should be set from gdb, after you run 'gdb gnome-flashback, and before 'run':
set env GDK_SYNCHRONIZE = 1

On Mon, Dec 14, 2015 at 10:36 PM, Alkis Georgopoulos <alkisg gmail com> wrote:
On 14/12/2015 10:21 μμ, Alberts Muktupāvels wrote:
Hi,

any chance you could get gdb output from gnome-flashback crash?

Probably easiest way:
- log into session that does work
- open terminal and run 'gdb gnome-flashback'
- set GDK_SYNCHRONIZE environment - 'set env GDK_SYNCHRONIZE = 1'
- run it
- after crash get backtrace - 'bt'


Thanks, but I'm seeing a lot of ?? and not many Xorg function calls, and I'm thinking that I might require a debug build or a different breakpoint to send something useful...

I'll google a bit on how to break on specific functions, please send me more info if you can think of something.


ltsp srv1-dide:~$ export GDK_SYNCHRONIZE=1
ltsp srv1-dide:~$ gdb gnome-flashback
GNU gdb (Ubuntu 7.10-1ubuntu3) 7.10
Copyright (C) 2015 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 "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gnome-flashback...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/gnome-flashback
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb5c3db40 (LWP 5996)]
[New Thread 0xb541bb40 (LWP 5997)]
[New Thread 0xb48ffb40 (LWP 5998)]
[New Thread 0xb40b6b40 (LWP 5999)]

(gnome-flashback:5992): Gdk-ERROR **: The program 'gnome-flashback' 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 128 error_code 1 request_code 149 (RANDR) minor_code 25)
  (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.)

Program received signal SIGTRAP, Trace/breakpoint trap.
0xb6f9e6e9 in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0  0xb6f9e6e9 in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb6f9e7a5 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb74b40e4 in ?? () from /usr/lib/i386-linux-gnu/libgdk-3.so.0
#3  0xb74bf4f4 in ?? () from /usr/lib/i386-linux-gnu/libgdk-3.so.0
#4  0xb6e3f23a in _XError () from /usr/lib/i386-linux-gnu/libX11.so.6
#5  0xb6e3c1db in ?? () from /usr/lib/i386-linux-gnu/libX11.so.6
#6  0xb6e3d24f in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6
#7  0xb7f6977a in ?? () from /usr/lib/i386-linux-gnu/libXrandr.so.2
#8  0x08069031 in ?? ()
#9  0x0806a2be in ?? ()
#10 0xb708e1b9 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0xb708fcba in g_object_new_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#12 0xb708fd33 in g_object_new () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#13 0x08068117 in ?? ()
#14 0x08061c75 in ?? ()
#15 0xb70ac540 in g_type_create_instance () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#16 0xb708dbd7 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#17 0xb708f5c3 in g_object_newv () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#18 0xb708fd4d in g_object_new () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#19 0x0806391f in ?? ()
#20 0x08059b60 in ?? ()
#21 0x08059e4c in ?? ()
#22 0xb70ac540 in g_type_create_instance () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#23 0xb708dbd7 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#24 0xb708f5c3 in g_object_newv () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#25 0xb708fd4d in g_object_new () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#26 0x0805a093 in ?? ()
#27 0x0805a138 in ?? ()
#28 0x0805a46b in ?? ()
#29 0xb7158e20 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#30 0xb715952a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#31 0xb71b6b6b in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#32 0xb7158e20 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#33 0xb715952a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#34 0xb71b6071 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#35 0xb71b63d2 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#36 0xb7158e20 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#37 0xb715952a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#38 0xb71aade2 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#39 0xb7158e20 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#40 0xb7158e6b in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#41 0xb6f94560 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0xb6f97ceb in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0xb6f980d9 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0xb6f98489 in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0x08059418 in main ()
(gdb)



_______________________________________________
gnome-flashback-list mailing list
gnome-flashback-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-flashback-list



--
Alberts Muktupāvels


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]