<div dir="ltr">Ok, I installed libgdk-3-0-dbg and managed to get here:<br><br>(gdb) break gdk_x_error<br>Function "gdk_x_error" not defined.<br>Make breakpoint pending on future shared library load? (y or [n]) y<br>Breakpoint 1 (gdk_x_error) pending.<br>(gdb) run far.pdf<br>Starting program: /usr/bin/evince far.pdf<br>[Thread debugging using libthread_db enabled]<br>Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".<br>[New Thread 0x7fffee0aa700 (LWP 8026)]<br>[New Thread 0x7fffed8a9700 (LWP 8027)]<br>[New Thread 0x7fffed062700 (LWP 8031)]<br>[New Thread 0x7fffdffff700 (LWP 8032)]<br>[New Thread 0x7fffdf77e700 (LWP 8033)]<br>[New Thread 0x7fffdcee7700 (LWP 8034)]<br>[New Thread 0x7fffd7fff700 (LWP 8035)]<br>[New Thread 0x7fffd77fe700 (LWP 8036)]<br>[Thread 0x7fffed8a9700 (LWP 8027) exited]<br>[Thread 0x7fffd77fe700 (LWP 8036) exited]<br>[Thread 0x7fffd7fff700 (LWP 8035) exited]<br><br>Breakpoint 1, gdk_x_error (xdisplay=0x6a1340, error=0x7fffffffdb80) at /tmp/buildd/gtk+3.0-3.14.5/./gdk/x11/gdkmain-x11.c:268<br>268    /tmp/buildd/gtk+3.0-3.14.5/./gdk/x11/gdkmain-x11.c: No such file or directory.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 31, 2017 at 3:53 PM, Sotiris Kouvopoulos <span dir="ltr"><<a href="mailto:sotkouv@gmail.com" target="_blank">sotkouv@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I am using xfce.<br><br>Excuse me if I did something wrong, this is the first time I am trying to do something like this.<br>First I installed evince-dbg package (followed instructions at <a href="https://wiki.debian.org/HowToGetABacktrace" target="_blank">https://wiki.debian.org/<wbr>HowToGetABacktrace</a>)<br>I used the following to start gdb:<br>$ GDK_SYNCHRONIZE=1 gdb evince<br><br>output:<br>GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1<br>Copyright (C) 2014 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html" target="_blank">http://gnu.org/licenses/gpl.<wbr>html</a>><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "x86_64-linux-gnu".<br>Type "show configuration" for configuration details.<br>For bug reporting instructions, please see:<br><<a href="http://www.gnu.org/software/gdb/bugs/" target="_blank">http://www.gnu.org/software/<wbr>gdb/bugs/</a>>.<br>Find the GDB manual and other documentation resources online at:<br><<a href="http://www.gnu.org/software/gdb/documentation/" target="_blank">http://www.gnu.org/software/<wbr>gdb/documentation/</a>>.<br>For help, type "help".<br>Type "apropos word" to search for commands related to "word"...<br>Reading symbols from evince...Reading symbols from /usr/lib/debug//usr/bin/<wbr>evince...done.<br>done.<br><br>Then I did:<br>(gdb) run far.pdf<br><br>output:<br>Starting program: /usr/bin/evince far.pdf<br>[Thread debugging using libthread_db enabled]<br>Using host libthread_db library "/lib/x86_64-linux-gnu/<wbr>libthread_db.so.1".<br>[New Thread 0x7fffee0aa700 (LWP 7681)]<br>[New Thread 0x7fffed8a9700 (LWP 7682)]<br>[New Thread 0x7fffed062700 (LWP 7686)]<br>[New Thread 0x7fffdffff700 (LWP 7687)]<br>[New Thread 0x7fffdf77e700 (LWP 7688)]<br>[New Thread 0x7fffdcee7700 (LWP 7689)]<br>[Thread 0x7fffed8a9700 (LWP 7682) exited]<br><br>(evince:7677): Gdk-ERROR **: The program 'evince' received an X Window System error.<span class=""><br>This probably reflects a bug in the program.<br>The error was 'BadWindow (invalid Window parameter)'.<br></span>  (Details: serial 5467 error_code 3 request_code 141 (Composite) minor_code 8)<span class=""><br>  (Note to programmers: normally, X errors are reported asynchronously;<br>   that is, you will receive the error a while after causing it.<br>   To debug your program, run it with the GDK_SYNCHRONIZE environment<br>   variable to change this behavior. You can then get a meaningful<br>   backtrace from your debugger if you break on the gdk_x_error() function.)<br><br></span>Program received signal SIGTRAP, Trace/breakpoint trap.<br>0x00007ffff4dc9d30 in g_logv () from /lib/x86_64-linux-gnu/libglib-<wbr>2.0.so.0<br><br></div>At this point the system runs but UI is not responsive so i had to kill gdb from a terminal.<br></div>I hope there is some information in all the above.<br><div><div><br><br><br></div></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, May 26, 2017 at 8:30 PM, Jason Crain <span dir="ltr"><<a href="mailto:jason@inspiresomeone.us" target="_blank">jason@inspiresomeone.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Control: tags -1 + moreinfo<br>
<br>
On Fri, May 26, 2017 at 06:25:52PM +0300, Sotiris Kouvopoulos wrote:<br>
> When I select some text, for example a simple word and try to drag the<br>
> selection (hold left mouse button and move mouse) the application crashes<br>
> immediately.<br>
><br>
> This is the output when evince is started from terminal:<br>
> (evince:7977): Gdk-ERROR **: The program 'evince' received an X Window<br>
> System error.<br>
> This probably reflects a bug in the program.<br>
> The error was 'BadWindow (invalid Window parameter)'.<br>
>   (Details: serial 3201 error_code 3 request_code 141 (Composite)<br>
> minor_code 8)<br>
>   (Note to programmers: normally, X errors are reported asynchronously;<br>
>    that is, you will receive the error a while after causing it.<br>
>    To debug your program, run it with the GDK_SYNCHRONIZE environment<br>
>    variable to change this behavior. You can then get a meaningful<br>
>    backtrace from your debugger if you break on the gdk_x_error() function.)<br>
> Trace/breakpoint trap<br>
<br>
I can't reproduce this.  What desktop environment are you using?  If you<br>
are able, a backtrace with debug symbols and GDK_SYNCHRONIZE=1 as in<br>
that error message would be helpful.<br>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_4670276891610745889gmail_signature" data-smartmail="gmail_signature"><font face="'courier new', monospace">Sotiris Kouvopoulos---</font><div><font face="'courier new', monospace">Architect-------------<br>Ydras 6A, Athens------</font></div><div><font face="'courier new', monospace"><a href="http://www.cadu.gr" target="_blank"><font color="#666666">cadu.gr</font></a>---------------<br></font><div><font face="'courier new', monospace">tel: <a href="tel:+30%2021%200883%209103" value="+302108839103" target="_blank">+302108839103</a>----<br>mob: <a href="tel:+30%20697%20686%200989" value="+306976860989" target="_blank">+306976860989</a>----</font><br></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><font face="'courier new', monospace">Sotiris Kouvopoulos---</font><div><font face="'courier new', monospace">Architect-------------<br>Ydras 6A, Athens------</font></div><div><font face="'courier new', monospace"><a href="http://www.cadu.gr" target="_blank"><font color="#666666">cadu.gr</font></a>---------------<br></font><div><font face="'courier new', monospace">tel: +302108839103----<br>mob: +306976860989----</font><br></div></div></div>
</div>