LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-18-2013, 07:47 PM   #1
kelaskakap
Member
 
Registered: Dec 2013
Posts: 31

Rep: Reputation: Disabled
[ask] How to fix Bug X Error of failed request on Slackware 14.1?


I just upgraded my slackware from 14.0 to 14.1 and many applications I've installed when was still using 14.0 are not running in 14.1, like netbeans, mysql workbench, firefox, thunderbird, xmind, wine, google earth and more..

when I run from console they have similar error message, like this:

Code:
The program 'XMind' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
  (Details: serial 11 error_code 16 request_code 128 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.)

bash-4.2$ firefox 

(process:5422): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed

(process:5422): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
###!!! ABORT: XINERAMAIsActive: BadLength (poly request too large or internal Xlib length error): file /tmp/mozilla-esr24/toolkit/xre/nsX11ErrorHandler.cpp, line 157
###!!! ABORT: XINERAMAIsActive: BadLength (poly request too large or internal Xlib length error): file /tmp/mozilla-esr24/toolkit/xre/nsX11ErrorHandler.cpp, line 157
Segmentation fault

bash-4.2$ /opt/netbeans-7.3.1/bin/netbeans 
X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
  Major opcode of failed request:  128 (XINERAMA)
  Minor opcode of failed request:  5 (XINERAMAQueryScreens)
  Serial number of failed request:  11
  Current serial number in output stream:  11
yes, they have similar message
Code:
X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
what bug is that? and how to fix it? it's really frustated me.
by the way, this is my mechine spesification:
Quote:
netbook aspire one 722

bash-4.2$ uname -a
Linux darkstar 3.10.17 #1 SMP Wed Oct 23 16:28:33 CDT 2013 x86_64 AMD C-60 APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux

fglrx-12.104-x86_64-1
thank you guys
 
Old 12-18-2013, 07:55 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
With upgrading from 14.0 to 14.1 many libraries were replaced by newer versions. Most likely you will have to recompile those programs.
I am a bit curious, why do you have used external sources for programs like Firefox and Thunderbird? Slackware provides already packages for them.
Also, how did you upgrade to the newer version?
 
Old 12-18-2013, 09:45 PM   #3
kelaskakap
Member
 
Registered: Dec 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
With upgrading from 14.0 to 14.1 many libraries were replaced by newer versions. Most likely you will have to recompile those programs.
I am a bit curious, why do you have used external sources for programs like Firefox and Thunderbird? Slackware provides already packages for them.
Also, how did you upgrade to the newer version?
Firefox and Thunderbird are from Slackware 14.1 packages, I didn't build them my self.
I follow this document :
 
Old 12-19-2013, 03:51 AM   #4
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
Hello,

Found this thread about your issue with firefox, and it seems related to catalyst driver. You can try to reinstall/upgrade this driver to see if that solve your problem.

Hope this helps.

Cheers.

--
SeB
 
Old 12-19-2013, 10:30 AM   #5
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
What's your issue with mysql workbench? I did something with mine in slackware 64 14.1, I can check later.
 
Old 12-19-2013, 11:22 AM   #6
kelaskakap
Member
 
Registered: Dec 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by glorsplitz View Post
What's your issue with mysql workbench? I did something with mine in slackware 64 14.1, I can check later.
sorry guys, after I rechecked, mysql-workbench has no similar error like other. it's different error type, here:
Code:
bash-4.2$ mysql-workbench 
/usr/libexec/mysql-workbench-bin: error while loading shared libraries: libzip.so.1: cannot open shared object file: No such file or directory
 
Old 12-19-2013, 11:29 AM   #7
kelaskakap
Member
 
Registered: Dec 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by phenixia2003 View Post
Hello,

Found this thread about your issue with firefox, and it seems related to catalyst driver. You can try to reinstall/upgrade this driver to see if that solve your problem.

Hope this helps.

Cheers.

--
SeB
now I'm using amd-driver-installer-catalyst-13-4-x86.x86_64, is that mean I should downgrade it?
 
Old 12-19-2013, 11:37 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,795

Rep: Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883
Quote:
Originally Posted by kelaskakap View Post
sorry guys, after I rechecked, mysql-workbench has no similar error like other. it's different error type, here:
Code:
bash-4.2$ mysql-workbench 
/usr/libexec/mysql-workbench-bin: error while loading shared libraries: libzip.so.1: cannot open shared object file: No such file or directory
You need to recompile mysql-workbench to build against libzip-0.10.1-i486-1 which is bumping their shared library to libzip.so.2
 
Old 12-19-2013, 11:37 AM   #9
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
wrong post

Last edited by phenixia2003; 12-19-2013 at 12:46 PM.
 
Old 12-19-2013, 01:06 PM   #10
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
Hello,

Quote:
Originally Posted by kelaskakap View Post
now I'm using amd-driver-installer-catalyst-13-4-x86.x86_64, is that mean I should downgrade it?
Your issue with firefox seems to be related to the proprietary amd driver. But to be sure about that, It would be a good idea to uninstall it, use a generic driver (i.e vesa) and check if firefox still crashes. If firefox works with the generic driver, retry with the amd driver, starting with the latest revision (seems to be 13.12).

--
SeB
 
Old 12-19-2013, 05:35 PM   #11
kelaskakap
Member
 
Registered: Dec 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
You need to recompile mysql-workbench to build against libzip-0.10.1-i486-1 which is bumping their shared library to libzip.so.2
Hallo Pak Willy thank you , anyway do you know about the xlib problem I mentioned it? any suggestion how to fix it?
 
Old 12-19-2013, 05:39 PM   #12
kelaskakap
Member
 
Registered: Dec 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by phenixia2003 View Post
Hello,



Your issue with firefox seems to be related to the proprietary amd driver. But to be sure about that, It would be a good idea to uninstall it, use a generic driver (i.e vesa) and check if firefox still crashes. If firefox works with the generic driver, retry with the amd driver, starting with the latest revision (seems to be 13.12).

--
SeB
Hmm.. I've friend also said like you said, "it's cuz by amd driver anyway". How to uninstall amd driver? just running #removepkg fglrx-12.104-x86_64-1 ? is anything should be configured after removing fglrx?

thank you.
 
Old 12-19-2013, 05:51 PM   #13
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,795

Rep: Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883
Quote:
Originally Posted by kelaskakap View Post
Hallo Pak Willy thank you , anyway do you know about the xlib problem I mentioned it? any suggestion how to fix it?
Check the .desktop file and try to add --sync in the Exec parameter
The same thing happened to caja in MATE and that solved it
 
Old 12-19-2013, 06:59 PM   #14
kelaskakap
Member
 
Registered: Dec 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
Check the .desktop file and try to add --sync in the Exec parameter
The same thing happened to caja in MATE and that solved it
where is .desktop file located? I do not find it in home/user.
 
Old 12-19-2013, 07:10 PM   #15
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,795

Rep: Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883Reputation: 1883
Code:
cat /var/log/packages/xmind | grep desktop
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X Error of failed request poyato Solaris / OpenSolaris 3 03-02-2012 04:15 PM
X Error of failed request: BadMatch piccir Programming 5 04-02-2010 11:47 AM
How to fix the bug for Fedora 5 __divdi3 link error??? linsample Fedora 0 10-25-2006 03:18 AM
Slackware-current Imagemagick bug fix wastelander42 Slackware 2 02-03-2006 11:11 AM
X Error of failed request: BadAccess Magmagal Linux - Software 1 10-22-2004 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration