After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 314526 - X Window System error while selecting text in a complex document
X Window System error while selecting text in a complex document
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
git master
Other Linux
: High critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-26 02:18 UTC by Allison Karlitskaya (desrt)
Modified: 2006-04-25 04:33 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Allison Karlitskaya (desrt) 2005-08-26 02:18:15 UTC
1) Load this PDF up: http://manic.desrt.ca/fcc
2) Have select-by-text mode enabled.
3) Click the mouse down somewhere in the middle of the pdf.
4) Drag it about for a while.

The program 'evince' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 21903 error_code 8 request_code 59 minor_code 0)
  (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 --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Comment 1 Allison Karlitskaya (desrt) 2005-08-26 02:20:56 UTC
Not the most useful trace ever .... (this is with gtk debugging symbols
installed, even)

desrt@moonpix:~$ gdb --args evince --sync
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/
lib/tls/i686/cmov/libthread_db.so.1".

(gdb) b  gdk_x_error
Function "gdk_x_error" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (gdk_x_error) pending.
(gdb) r
Starting program: /opt/gnome/bin/evince --sync
[Thread debugging using libthread_db enabled]
[New Thread -1221912896 (LWP 16691)]
Breakpoint 2 at 0xb7a38d72: file gdkmain-x11.c, line 599.
Pending breakpoint "gdk_x_error" resolved
[New Thread -1224115280 (LWP 16696)]

Thread NaN (LWP 16691)

  • #0 gdk_x_error
    at gdkmain-x11.c line 599
  • #1 bonobo_ui_gtk_module_info_get
    from /usr/lib/libbonoboui-2.so.0
  • #2 _XError
    from /usr/lib/libX11.so.6
  • #3 _XReply
    from /usr/lib/libX11.so.6
  • #4 XSync
    from /usr/lib/libX11.so.6
  • #5 XSync
    from /usr/lib/libX11.so.6
  • #6 XSetClipRectangles
    from /usr/lib/libX11.so.6
  • #7 _gdk_x11_gc_flush
    at gdkgc-x11.c line 200
  • #8 gdk_x11_draw_drawable
    at gdkdrawable-x11.c line 678
  • #9 IA__gdk_draw_drawable
    at gdkdraw.c line 680
  • #10 IA__gdk_window_end_paint
    at gdkwindow.c line 1046
  • #11 IA__gtk_main_do_event
    at gtkmain.c line 1356
  • #12 gdk_window_process_updates_internal
    at gdkwindow.c line 2215
  • #13 IA__gdk_window_process_all_updates
    at gdkwindow.c line 2268
  • #14 gdk_window_update_idle
    at gdkwindow.c line 2136
  • #15 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #16 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #17 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #18 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #19 IA__gtk_main
    at gtkmain.c line 976
  • #20 main
    at main.c line 245

Comment 2 Marco Pesenti Gritti 2005-08-31 17:00:14 UTC
Reproducable with both cairo and splash.
Comment 3 Christian Persch 2005-11-21 18:29:02 UTC
Still reproducible with today (2005-11-21)'s evince + poppler HEAD.
Comment 4 Sebastien Bacher 2006-01-28 14:19:35 UTC
still happening
Comment 5 Sitsofe Wheeler 2006-03-02 20:07:57 UTC
Could this be related to bug #316650 ?
Comment 6 Allison Karlitskaya (desrt) 2006-03-06 21:20:13 UTC
I cannot get this to happen anymore.

evince 0.5.1-0ubuntu1 in dapper with libpoppler0c2 0.5.0-0ubuntu5

Might be interesting to note that I've switched from opensource to fglrx drivers recently.
Comment 7 Allison Karlitskaya (desrt) 2006-04-25 04:33:13 UTC
Also no longer get this with DRI drivers (r300).

Closing.

(dapper)

libpoppler1:
  Installed: 0.5.1-0ubuntu6
evince:
  Installed: 0.5.2-0ubuntu1