LinuxQuestions.org
Visit Jeremy's Blog.
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 05-16-2010, 04:18 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Question Firefox-3.5.2 Segfaults, but I don't care) & ATI video


New install slackware64 13.0. Sites that cause it to segfault are simple ones - gmail (2 seconds after I get past the sign in stage, and before I even open any email. This one also
www.channel4.com/programmes/4od.

I have done the obvious stuff - checking for missing libs with ldd, finding them, etc. Disks are 1-2 years old (ext3) and well checked, but this install has not been lived in yet. Plugins installed are: java 1.6.0_16; Flash 10.0 r45; SVG-2.26. Kernel is 2.6.33.2, made with 'make oldconfig from a very satisfactory 2.6.30.5 kernel which was faultless for some time.

The box is all-amd/ati HP6715S, with RS690 video and northbridge, sb600 southbridge. and a twin turion 2 Ghz. It is using the recent OSS xf86-video-ati drivers. The only strange Mozilla error was between 4th and 5th crash this session when it said "Input/Output Error". Otherwise the error shows as line 131 of run-mozilla.sh - the 'finally start the binary' routine.

Any ideas welcome: you're not beaten until you run out of ideas.

Last edited by business_kid; 05-19-2010 at 04:51 AM.
 
Old 05-16-2010, 05:12 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Try the mozilla-firefox-3.6.3-x86_64-1_slack13.0.txz package which is in slackware-13.0/patches/packages/

Eric
 
Old 05-16-2010, 10:32 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Quote:
Originally Posted by Alien Bob View Post
Try the mozilla-firefox-3.6.3-x86_64-1_slack13.0.txz package which is in slackware-13.0/patches/packages/

Eric
Thanks Eric, will do!
 
Old 05-17-2010, 03:17 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Got firefox-3.6.3 from heanet.ie (local mirror) and it barfs just the same :-(

This is a very new install and these are the teething problems. The other unusual feature here is that I have and am using the latest xf86-video-ati and am even getting direct rendering from a recently decent ATI RS690 video thing in the Northbridge. That's why I'm here. Because my old install of slamd64-12.2 just needs too much &#@$! work to get that running DRI, and the video was shameful.
It is shameful still, btw, but slightly less shameful.

EDIT: Found this 'cos when I started X last night, I ran
startx > x.error 2>&1
Code:
(Terminal:5900): Terminal-WARNING **: Unable to load terminal preferences.
None
None
None
Error: No running window found
/usr/lib64/firefox-3.6.3/run-mozilla.sh: line 131:  6399 Segmentation fault      "$prog" ${1+"$@"}
Error: No running window found
None
*** BUG ***
Malformed region detected
Set a breakpoint on 'log_region_error' to debug
*** BUG ***
Malformed region detected
Set a breakpoint on 'log_region_error' to debug
None
None
None
None
*** BUG ***
Malformed region detected
Set a breakpoint on 'log_region_error' to debug
*** BUG ***
Malformed region detected
Set a breakpoint on 'log_region_error' to debug
xscreensaver-command: activating and locking.
None
None
Error: No running window found
/usr/lib64/firefox-3.6.3/run-mozilla.sh: line 131: 18830 Segmentation fault      "$prog" ${1+"$@"}
Error: No running window found
/usr/lib64/firefox-3.6.3/run-mozilla.sh: line 131: 18900 Segmentation fault      "$prog" ${1+"$@"}
xfce4-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
xfce4-panel: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
This covers an hour last night when the box was on, and ten minutes this morning. There was a hibernate where the screen saver shows. The 'none' I don't get but it is familiar from XFCE. The number just before the segfault is at least varying: It was usually in the 4000s, I did see 3000s, but here I even managed 18000s. Is that an achievement, or just more bloat in the newer firefox?

/goes off to google for that error.

Last edited by business_kid; 05-17-2010 at 03:33 AM.
 
Old 05-17-2010, 11:53 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
/returns exhausted much later

I have DRI going. That error turned out to be in the pixman lib, because of a version problem.
So I ran and got
1. libva (source) - I forget why, but I needed it
2. pixman (pkg on slack64-current)
3. mesa-7.03 then mesa-7.8.1 (pkg) and xorg-server-1.7.7(pkg)
4. libdrm-2.4.12
Then I did some reading. Before 2.4.18, libdrm_radeon wasn't automatically built, ergo the mesa package didn't have it so couldn't use it. So I had to get
5. libdrm-2.4.20 in source
6. a git clone of mesa, compiled --with-sixty-five-difficult-to-remember-options
7. kernel headers (pkg) because mesa wouldn't compile without newer headers and I removed the old ones before installing. When you have no kernel headers, kernel headers won't compile.

Then I fired up X, installed the glxinfo and glxgears from mesa that it didn't install. All the render strings said the right things, glxgears WAS SLOWED BY A FULL 100 FPS over software rendering and firefox _still_ crashes out on gmail!

/signs himself into a home for the bewildered
 
Old 05-17-2010, 02:21 PM   #6
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,493

Rep: Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437
I believe the problem that you are running into was solved in -current with this:

x/xorg-server-1.7.6-x86_64-2.txz: Rebuilt.
Patched a bug that could cause the X server to crash.

Perhaps we need to go apply this patch in 13.0 if stock 13.0 + /patches is suffering from this bug.
 
Old 05-18-2010, 04:23 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Quote:
Originally Posted by volkerdi View Post
I believe the problem that you are running into was solved in -current with this:
x/xorg-server-1.7.6-x86_64-2.txz: Rebuilt.
Patched a bug that could cause the X server to crash.
Perhaps we need to go apply this patch in 13.0 if stock 13.0 + /patches is suffering from this bug.
I have your xorg-server-1.7.7 pkg, and was considering updating that, if later is available. In the world of radeon graphics, the last version is obsolete. Even the latest version is obsolete! :-)).
A big problem is this: libdrm did not build the radeon lib before version 2.4.18 except you configured with --build-nutty-experimental-apis or the like in configure, which you guys didn't. So then you have to go round the houses, and update everything before rebuilding Mesa. The list there is missing.

5a. glproto-1.4.11 to help mesa compile.

Curiously, the other place you get libdrm_radeon.so is in the kernel headers, but you need at least 2.6.33 for a usable libdrm_radeon.so from there. So it seems you have to go around the houses and recompile anything remotely to do with video to get radeon "acceleration" which actually puts a brake on! Mind you google earth works - it doesn't throw a single error message. It will start firefox automagically (which promply crashes) and it pretends not to notice. It is bizzarre in appearance, however: I get these lines radiating into the centrepoint of the image. When I zoom, it's fine up to a point, and I'm looking at a building. I zoom more, and I get the top 25% or the bottom 75% as a reduced size photo thrown on a black background. If I have the bottom, and gradually move up, I end up with close to a horizontal line at one point out of which the top or the bottom picture will fold, depending on how I move :-/.
 
Old 05-18-2010, 06:39 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Quote:
I have your xorg-server-1.7.7 pkg
Let me unsay that. I had dropped back to xorg-server-1.6.3, which is definitely not enough. I also have xf86-video-ati-6.9.0 and intend to go to that. I get a dead box from Xorg-server-1.7.7. But when I trap output, it says

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.1 Slackware Linux Project
Current Operating System: Linux harriet 2.6.33.2-slack13 #9 SMP Thu Apr 15 18:09:39 IST 2010 x86_64
Kernel command line: root=/dev/sda8 ro resume=/dev/sda9
Build Date: 05 May 2010 01:59:51AM

Current version of pixman: 0.16.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue May 18 11:05:41 2010
(==) Using config file: "/etc/X11/xorg.conf"
/usr/bin/X: symbol lookup error: /usr/bin/X: undefined symbol: pci_device_is_boot_vga
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.


Unfortunately this is beginning to look like LFS Linux From Slackware, due to the number of compiled sources I'm using:-((. I feel a rebuild of mesa coming on. . .
 
Old 05-18-2010, 12:19 PM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Update:
By taking virtually the entire X system up to slackware64-current, I started getting somewhere. Spent a day compiling stuff, and what follows is exceptions to the above (source installs)

I meant to put in glew-1.5.4 before compiling mesa last time. glproto has to be 1.4.11 for something.
xf86-video-ati-6.9.0. This is the one to go for, or later. It's actually a hell of a lot more difficult to get compiled than 6.8.0, because it links against a lot of weirdo headers which I never found, but copied from an older system in hope.
I have mesa-7.9 development branch. If I --enable-glx-tls(which everything seems to use) my system barfs on the compile. Mesa also needs the 32 bit libs built because 32 bit programs like to use them.7.8 just _may_ be ok.
I now have 375FPS, X runs, video is A1 and firefox still crashes reliably on gmail. The curse of the seven snotty orphans on it - I'll try opera!
 
Old 05-19-2010, 04:49 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
The end of this turned out to be

removepkg firefox (a plague on all their houses, patches, etc.)
inftallpkg qt3(thanks to an obliging 12.2 disk here)
install opera

On the video stuff, it is clear to me that I will have to compile everything into mesa and _then_ rebuild the radeon driver. I don't have enough libs updated yet to run the --enable-glx-tls mesa code I have just compiled, so when I install it I had better not have X running!
 
Old 05-21-2010, 10:21 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Original Poster
Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
One last Epilogue:
I put the video away, and it hasn't been recompiled in a while. I tried xorg-server-1.8.1b but got a continual AllowEmptyInput disabling kbd & mouse :-/. Apparently you have to finish the ati update this way

3rd last - compile xorg-server
2nd last - compile ati video driver in 32 & 64 bit
last of all - compile mesa

so after I quit compiling, I lashed back in firefox for the laugh, and it works flawlessly. And just when I was wondering why, good old slamd64 came up with a 'quote of the day' that answered my questions, which I append for your amusement but do not take responsibility for.
Quote:
X windows:
Accept any substitute.
If it's broke, don't fix it.
If it ain't broke, fix it.
Form follows malfunction.
The Cutting Edge of Obsolescence.
The trailing edge of software technology.
Armageddon never looked so good.
Japan's secret weapon.
You'll envy the dead.
Making the world safe for competing window systems.
Let it get in YOUR way.
The problem for your problem.
If it starts working, we'll fix it. Pronto.
It could be worse, but it'll take time.
Simplicity made complex.
The greatest productivity aid since typhoid.
Flakey and built to stay that way.

One thousand monkeys. One thousand MicroVAXes. One thousand years.
X windows.
 
  


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
Thunderbird SegFaults LeeHA Linux - General 5 06-03-2009 01:47 PM
Gnomad 2 Segfaults doralsoral Linux - Software 0 12-12-2005 04:02 PM
gimp-2.2 segfaults pingu Linux - Software 1 03-22-2005 06:03 AM
Checkinstall Segfaults?! ImpactDNI Linux - Software 0 08-26-2004 11:08 AM
Grip segfaults wnlight Mandriva 0 08-15-2004 11:19 PM

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

All times are GMT -5. The time now is 03:53 AM.

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