|Summary:||media-gfx/xsane crashes during startup if xinerama is enabled|
|Product:||Gentoo Linux||Reporter:||Arsen Shnurkov <Arsen.Shnurkov>|
|Component:||Current packages||Assignee:||Printing Team <printing>|
|Severity:||normal||CC:||graphics+disabled, mail, navid.zamani, phosphan, printing, proteuss|
|Package list:||Runtime testing required:||---|
Description Arsen Shnurkov 2010-03-02 00:14:12 UTC
** Gdk **: The program 'xsane' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 19250 error_code 8 request_code 145 minor_code 5)
Comment 1 Arsen Shnurkov 2010-03-02 00:14:45 UTC
Created attachment 221713 [details] xsane-bugreport.txt (0.996)
Comment 2 Arsen Shnurkov 2010-03-02 00:15:21 UTC
Created attachment 221715 [details] xsane-bugreport.txt (0.997)
Comment 3 Bodo Graumann 2010-03-03 17:03:35 UTC
I can confirm this problem, although it comes a little more random: often I get a crash on start with an error similar to the original reporter "(Details: serial 9040 error_code 8 request_code 149 minor_code 5)" but sometimes the scan-window opens correctly but it crashes when I press "scan" I am using sane-backends-1.0.19-r2 and the error occurs with both avaiable versions of xsane hope this gets fixed soon
Comment 4 Patrick Kursawe (RETIRED) 2010-03-04 11:23:48 UTC
emerge --info output could be helpful.
Comment 6 Patrick Kursawe (RETIRED) 2010-03-09 20:53:42 UTC
Could not reproduce it yet, sorry.
Comment 7 Patrick Kursawe (RETIRED) 2010-03-15 19:20:28 UTC
Which versions of xorg-server are you running?
Comment 8 Bodo Graumann 2010-03-15 20:35:45 UTC
# X -version X.Org X Server 1.6.5 Release Date: 2009-10-11 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.30-gentoo-r5 x86_64 Current Operating System: Linux nowhereland 2.6.31-gentoo-r6 #1 SMP PREEMPT Fri Feb 26 09:06:57 CET 2010 x86_64 Build Date: 11 December 2009 12:30:44PM
Comment 9 Arsen Shnurkov 2010-03-16 20:12:46 UTC
Created attachment 223953 [details] /var/log/Xorg.0.log
Comment 10 Arsen Shnurkov 2010-03-16 20:13:46 UTC
(In reply to comment #7) > Which versions of xorg-server are you running? X.Org X Server 1.6.5 Release Date: 2009-10-11 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.32-gentoo-kms x86_64 Current Operating System: Linux Gentoo_x64n 2.6.32-gentoo-r6-kms #1 SMP Wed Feb 24 13:29:26 MSK 2010 x86_64
Comment 11 Patrick Kursawe (RETIRED) 2010-04-14 20:25:50 UTC
This problem is not gentoo specific and I did not find a general solution. According to my research (well, search engine use) this is a known problem at least on SuSE, RedHat, Debian and Ubuntu. The "solutions" range from using a different X server version, using different graphics card drivers to disabling xinerama. Well, the last suggestion is maybe one which you can easily try. I contacted the xsane author and he said that he does currently not have the time to investigate the problem, and I can not reproduce it on my box. Good luck!
Comment 12 Pacho Ramos 2011-07-08 13:05:11 UTC
+*xsane-0.998 (08 Jul 2011) + + 08 Jul 2011; Pacho Ramos <email@example.com> +xsane-0.998.ebuild, + metadata.xml: + Version bump and apply a lot of fixes from different distributions, taking + this (with printing and graphics herds as backup) as this looks a bit orphan + for a long time. + Retry on a fully updated system with xsane-0.998
Comment 13 Bodo Graumann 2011-07-08 19:24:35 UTC
I now have version 0.998 installed and still get: (xsane:23844): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion `height >= -1' failed The program 'xsane' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 2548 error_code 8 request_code 149 minor_code 5) (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.) #X -version: X.Org X Server 1.9.4 Release Date: 2011-02-04 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.34-gentoo-r1 x86_64 Gentoo Current Operating System: Linux nowhereland 2.6.37-tuxonice #1 SMP PREEMPT Wed May 25 15:39:03 CEST 2011 x86_64 Kernel command line: softlevel=desktop Build Date: 20 February 2011 12:05:36PM Current version of pixman: 0.20.2 I will probably try disabling xinerama...
Comment 14 Pacho Ramos 2011-07-08 19:33:40 UTC
Also update your system as that xorg-server version is not the latest stable. If still valid, try on a new created user account
Comment 15 Bodo Graumann 2011-07-11 19:08:24 UTC
Ok, I now did a full system update, in particular: X.Org X Server 1.10.3 Release Date: 2011-07-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.37-tuxonice x86_64 Gentoo Current Operating System: Linux nowhereland 2.6.38-tuxonice-r1 #1 SMP PREEMPT Mon Jul 11 14:24:34 CEST 2011 x86_64 Kernel command line: softlevel=desktop Build Date: 11 July 2011 12:22:29PM But the above error for xsane still occurs on startup. Disabling xinerama indeed does the trick and xsane works then. I must admit, that I'm using the proprietary nvidia drivers. But I couldn't get xinerama with the native nv-driver working, to do any further testing.
Comment 16 Pacho Ramos 2011-07-12 10:52:48 UTC
Looks like this problem was reported to other distributions but I cannot find the fix (if it really exists): https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/446373 https://bugzilla.novell.com/show_bug.cgi?id=560214
Comment 17 Andreas K. Hüttel 2012-02-19 22:06:31 UTC
No dupes or changes in this bug for a while and 0.998 is stable... Assuming this bug is fixed. If you disagree, please shout / re-open / ...
Comment 19 Navid Zamani 2012-03-02 11:17:03 UTC
Still the case with -r1. Where do I disable that xinerama use flag? xsane doesn’t have it.
Comment 20 Andreas Proteus 2013-09-27 17:37:09 UTC
This problem also applies to media-gfx/xsane-0.999. I use xinerama with a triple monitor configuration. Whenever I need to scan something I restart X with a different xorg.conf to use one head without xinerama. Bummer!