Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Descent3 and Signal 11
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
frankjr
n00b
n00b


Joined: 13 Sep 2002
Posts: 55

PostPosted: Tue Sep 16, 2003 4:13 am    Post subject: Descent3 and Signal 11 Reply with quote

Descent 3 keeps giving me a signal 11 every time after "Analyzing Data...". I've tried powering down and upgrading from linux 2.6.0-test4 to test5, but didn't have any luck with that. I'm not overclocking anything so I don't have an issue with that.
Back to top
View user's profile Send private message
tetrahydroc
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2003
Posts: 144

PostPosted: Tue Sep 16, 2003 5:17 am    Post subject: Reply with quote

Try mounting Descent 3 CD 1, and then
Code:
emerge descent3


this worked for me.

HTH,
tetra
Back to top
View user's profile Send private message
frankjr
n00b
n00b


Joined: 13 Sep 2002
Posts: 55

PostPosted: Tue Sep 16, 2003 11:20 am    Post subject: Reply with quote

I still get the error... :(
Back to top
View user's profile Send private message
frankjr
n00b
n00b


Joined: 13 Sep 2002
Posts: 55

PostPosted: Tue Sep 16, 2003 8:20 pm    Post subject: Reply with quote

The sig11 doesn't appear when I use a 2.4 kernel. Could this be a bug in the 2.6 kernel?
Back to top
View user's profile Send private message
dkenn
n00b
n00b


Joined: 21 Dec 2003
Posts: 27

PostPosted: Sun Dec 21, 2003 5:15 am    Post subject: Reply with quote

Same problem here, looks like something related to the 2.6 kernel, looks like it's segfaulting in strcpy in libstdc, which would seem to indicate a problem within the code of Descent 3 that's being brought to the surface by some change in the 2.6 kernel. Then again, that's just me guessing.
Back to top
View user's profile Send private message
JonnyRo
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2003
Posts: 120

PostPosted: Wed Jan 21, 2004 2:33 am    Post subject: Reported as bug 38862 Reply with quote

I went ahead and reported it as a bug, but I have little hope for it being resolved since it is not really a problem in glibc or descent3, it's just that descent3 has not been updated to match the current state of glibc. Unfortunately according to Interplay the Linux version of Descent3 is unsupported.

http://bugs.gentoo.org/show_bug.cgi?id=38862

Is there any such thing as a glibc wrapper to support certian calls from older programs? Or can the descent3 binary be hacked to change the strcpy call?
_________________
Jonathan S. Romero
Gentoo Fanatic
http://jonnyro.com
Back to top
View user's profile Send private message
grahamdrew
n00b
n00b


Joined: 28 Apr 2003
Posts: 15

PostPosted: Fri Jan 23, 2004 2:46 am    Post subject: Reply with quote

I'm running 2.6.1-mm5 on an nVidia card, and I have no problems with Descent3 whatsoever (latest ebuild). What OpenGL implementation are you using?
Back to top
View user's profile Send private message
JonnyRo
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2003
Posts: 120

PostPosted: Fri Jan 23, 2004 5:44 am    Post subject: I am using nvidia-glx for opengl Reply with quote

I am using nvidia-glx and nvidia-kernel.

-Jonathan
_________________
Jonathan S. Romero
Gentoo Fanatic
http://jonnyro.com
Back to top
View user's profile Send private message
ZothOmmog
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 216
Location: Nashville, TN

PostPosted: Sat Jan 24, 2004 11:26 pm    Post subject: Reply with quote

Any work-around on this yet? I'd love to play this again...
_________________
-It's gonna take a lot of fireworks to clean this place up.
Back to top
View user's profile Send private message
wolf31o2
Retired Dev
Retired Dev


Joined: 31 Jan 2003
Posts: 628
Location: Mountain View, CA

PostPosted: Sun Jan 25, 2004 4:41 am    Post subject: Reply with quote

Since I am the maintainer of this ebuild, I am in the process of getting a 2.6 kernel configured and running on my development machine. Hopefully I will be able to find some sort of workaround.
_________________
Ex-Gentoo Developer
Catalyst/Genkernel Development Lead
http://wolf31o2.org
Back to top
View user's profile Send private message
grahamdrew
n00b
n00b


Joined: 28 Apr 2003
Posts: 15

PostPosted: Sun Jan 25, 2004 5:16 am    Post subject: Reply with quote

I'm using the nVidia 4496 drivers, and glibc 2.3.2-r9 (latest x86 stable). Id's say try out the mm-sources if you are useing a diffrent 2.6 kernel. Beyond that, I can't think of terribly much that would explain why mine works and yours segfaults. Start comparing CFLAGS on glibc compilation?
Back to top
View user's profile Send private message
ZothOmmog
Apprentice
Apprentice


Joined: 05 May 2003
Posts: 216
Location: Nashville, TN

PostPosted: Mon Jan 26, 2004 2:39 pm    Post subject: Reply with quote

nVidia 53.28 drivers here, but I'm also using the same version of glibc & the latest Love kernel (well, I think it is. Seems like there's a new version ever 30 minutes these days).
_________________
-It's gonna take a lot of fireworks to clean this place up.
Back to top
View user's profile Send private message
ljubo
n00b
n00b


Joined: 26 Nov 2003
Posts: 73
Location: Karlovac, Croatia

PostPosted: Mon Jan 26, 2004 5:41 pm    Post subject: Reply with quote

Same problem here.

gcc-3.2.3, glibc-2.3.2-r9
2.6.1-mm5
nVidia 53.28 drivers
glibc and gcc are compiled with 2.4.22 headers.

Maybe they should be rebuild with 2.6.1 kernel headers?

Regards, Ljubo
Back to top
View user's profile Send private message
maystorm
Apprentice
Apprentice


Joined: 02 Jun 2002
Posts: 210
Location: Not far away

PostPosted: Fri Feb 27, 2004 5:29 pm    Post subject: Reply with quote

Installed Descent3 a few days ago (running on kernel 2.4.22).

Sometimes I got signal 11, sometimes not. Once I got it I kept getting it until I rebooted my PC; after that the game was running again. It seemed to me that quitting and restarting the game brings up the problem.

Anyway, I tried to not start "xscreensaver" together with Xfce4 and after that no problem any more!

So, you should try to disable any screen saver programs and try it again. Maybe it helps?

Good luck!
_________________
Linux user #216018
Back to top
View user's profile Send private message
JonnyRo
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2003
Posts: 120

PostPosted: Sun Mar 14, 2004 11:47 pm    Post subject: disabling screen saver didnt fix my problem Reply with quote

I am also using XFCE4, and killing the screensaver didnt do anything to help with the problem. Same error below.

Code:

jonnyro@phoenix jonnyro $ descent3
SIGNAL 11 caught, aborting
Recursive signal cleanup! Hard exit! AHHGGGG!
jonnyro@phoenix jonnyro $


I'm still using 2.6.1-gentoo-r1, which is an older version of that kernel. I cant upgrade it to try a newer one at the moment because I have some other things (mythtv, etc) running on this system, and I make it a point not to change the system configuration too often except for GLSA's., for fear of screwing up mythtv and pissing off the wife.

I will try to get descent3 working on my laptop later, with a fresh gentoo install, hopefully this will shed some light.

Here is the gdb output from my current setup when trying to start descent3.

Code:

(gdb) run
Starting program: /usr/local/bin/descent3 descent3
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 2098)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 32769 (LWP 2124)]
[New Thread 16386 (LWP 2125)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 2098)]
0x412df891 in strcpy () from /lib/libc.so.6
(gdb) SIGNAL 1 caught, aborting
Terminated

_________________
Jonathan S. Romero
Gentoo Fanatic
http://jonnyro.com
Back to top
View user's profile Send private message
Admiral LSD
Guru
Guru


Joined: 27 Jun 2003
Posts: 522
Location: Northam, W.A., Australia

PostPosted: Mon Mar 15, 2004 11:55 am    Post subject: Reply with quote

I'm not seeing that problem here, D3 runs like a champ:

gentoo-dev-sources-2.6.4
linux-headers-2.6.4
glibc-2.3.3_pre20040207
descent3-1.4.0b
_________________
Wasurenaide...
...watashi ga iru koto o.
Itsudatte soba ni iru yo.

Registered Linux user #319839
Back to top
View user's profile Send private message
JonnyRo
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2003
Posts: 120

PostPosted: Mon Mar 15, 2004 1:32 pm    Post subject: linux-headers Reply with quote

How do i get the 2.6.4 linux headers? Whenever i try to emerge linux-headers I get the old 2.4 ones.

I am going to install the gentoo-dev-sources you are using today.
_________________
Jonathan S. Romero
Gentoo Fanatic
http://jonnyro.com
Back to top
View user's profile Send private message
Admiral LSD
Guru
Guru


Joined: 27 Jun 2003
Posts: 522
Location: Northam, W.A., Australia

PostPosted: Mon Mar 15, 2004 5:08 pm    Post subject: Reply with quote

You have to do a bit of hacking as they're keyword masked -*. The reason for this is that a number of programs haven't been updated to compile against the new headers however I've only had serious trouble with three programs (svgalib, directfb and mplayer) all of which I believe have been fixed.

Anyway, if you want to use the 2.6 headers here's what you do:

Since the 2.6 headers are hard keyword masked the "normal" methods of unmasking it (package.unmask, package.keywords) aren't going to work. Instead, you have to copy the ebuild and it's patches into your overlay and edit its keywords so that it'll install.

If you haven't already set up an overlay you first have to create the overlay dir. It doesn't matter what this dir is called or where you put it but /usr/local/portage is a popular choice. Once you've created the dir open up make.conf and find the entry for PORTDIR_OVERLAY, uncomment it and edit it to reflect the dir you set up earlier eg:

Code:
PORTDIR_OVERLAY="/usr/local/portage"


Once that's done you can get to the serious business of actually copying the ebuilds over. The overlay has the exact same layout as the main gPortage tree and this has to be maintained when putting custom ebuilds in there. To create all the required dirs in one hit you can use the -p switch with mdir:

Code:
mkdir -p $PORTDIR_OVERLAY/sys-kernel/linux-headers/files


remember to replace $PORTDIR_OVERLAY with the actual path as it isn't substituted by default.

Oce you've done that copy the linux-headers-2.6.4 ebuild from the main portage tree (/usr/portage/sys-kernel/linux-headers) into the same dir in the overlay. Next, you copy the following patches from linux-header/files to the files dir in the overlay:

Code:
linux-headers-2.6.0-fb.patch
linux-headers-2.6.0-sysctl_h-compat.patch
linux-headers-2.6.3-strict-ansi-fix.patch
linux-headers-2.6.4-appCompat.patch


Yes, most of those aren't specifically for the 2.6.4 headers but they're needed by the 2.6.4 ebuild just the same.

Finally you can edit the linux-headers ebuild. Open it up in your favourite text editor, look for the line that reads:

Code:
KEYWORDS="-*"


and change it so that it reads:

Code:
KEYWORDS="x86"


After you've done that you need to calculate digests so that portage can emerge it. To do that run the command:

Code:
ebuild $PORTDIR_OVERLAY/sys-kernel/linux-headers/linux-headers-2.6.4.ebuild digest


again remebering to substitute $PORTDIR_OVERLAY to the real path.

When you've finished all that, emerge -uD world should say you can upgrade to the 2.6.4 headers. Don't forget to re-emerge glibc afterward to prevent possible b0rkage.
_________________
Wasurenaide...
...watashi ga iru koto o.
Itsudatte soba ni iru yo.

Registered Linux user #319839
Back to top
View user's profile Send private message
jgreen
n00b
n00b


Joined: 22 Mar 2004
Posts: 21
Location: Grass Valley, CA

PostPosted: Mon Mar 22, 2004 11:09 am    Post subject: Work around found!! Reply with quote

I was also getting a Signal 11 (segfault) after the "Analyzing Data.." part of the startup of Descent 3 with Kernel 2.6.3 (in strcpy()). I'm using Mandrake 10.0 though, not gentoo, but I thought I'd post my work around here, since this is the only mention of this problem I could find on the net.

Basically all you have to do is symlink /usr/local/games/Descent3/ppics.hog to PPics.Hog (or just rename it). It worked for me :)

If you are wondering how I figured this out, strace was my friend. Towards the end of my strace log I found:

open("/usr/local/games/Descent3/PPics.Hog", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/games/Descent3", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=904, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40364000
getdents64(5, /* 33 entries */, 131072) = 1080
munmap(0x40364000, 135168) = 0
close(5) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
write(2, "SIGNAL 11 caught, aborting\n", 27SIGNAL 11 caught, aborting) = 27


Since this area is being mmaped it is likely a bug in Descent3 that wasn't being triggered by kernel 2.4, not sure though. I wonder where the proper place to post this type of info would be. I'll check linuxgames.com, any other suggestions? It would be nice to have some updated FAQs on these games, especially since they are no longer supported. Regards,
Josh Green
Back to top
View user's profile Send private message
wolf31o2
Retired Dev
Retired Dev


Joined: 31 Jan 2003
Posts: 628
Location: Mountain View, CA

PostPosted: Sun Apr 04, 2004 7:11 am    Post subject: Reply with quote

jgreen, you are the man... I have now fixed this in portage... everyone simply emerge sync && emerge descent3 for all the 2.6 goodness...

...as to where to submit, I would try icculus.org and the Linux Gaming FAQ. That seems like a good location for this sort of thing.
_________________
Ex-Gentoo Developer
Catalyst/Genkernel Development Lead
http://wolf31o2.org
Back to top
View user's profile Send private message
jgreen
n00b
n00b


Joined: 22 Mar 2004
Posts: 21
Location: Grass Valley, CA

PostPosted: Sun Apr 04, 2004 9:27 pm    Post subject: icculus.org and the Linux Gaming FAQ Reply with quote

I did submit this information to one of the contacts for the Linux Gaming FAQ (as a user on the Linux Game Tome forums also suggested), so hopefully it ends up there. I had not known about this FAQ before, seems like there is a lot of goodness on icculus.org that is semi hard to find. I'm glad to have been able to figure this out, for myself as well as others who want to play Descent3 with kernel 2.6 :) Regards,
Josh Green
Back to top
View user's profile Send private message
line72
Apprentice
Apprentice


Joined: 13 Jun 2002
Posts: 212

PostPosted: Thu Jul 15, 2004 1:43 am    Post subject: Reply with quote

This didn't fix it for me. I have the :

lrwxrwxrwx 1 root root 9 Jul 14 20:40 PPics.Hog -> ppics.hog

but i still get the sig11

I've tried both installing this from the cd (then upgrading using the fixed loki_update from icculus.org) and by emerging this.

The strace complains about missing a lot of .so files (AIGame.so, etc) and also alos of .fmt files (menu.fmt)

Any ideas? I can send the strace to something if you'd like.

Thanks
/Line72
Back to top
View user's profile Send private message
jgreen
n00b
n00b


Joined: 22 Mar 2004
Posts: 21
Location: Grass Valley, CA

PostPosted: Thu Jul 15, 2004 8:47 pm    Post subject: Reply with quote

It might be crashing for another reason than what that little "fix" solves. Those straces get pretty big. If you had a spot on the net that you could put it where I could dl'd it I would check it out. The most useful info is usually at the end anyways. Often times you have to give the '-f' switch to trace process children as well, not sure if I had to do this with descent3 or not. Cheers.
Back to top
View user's profile Send private message
jedioetzi
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2003
Posts: 91
Location: Bolzano

PostPosted: Thu Oct 07, 2004 7:13 pm    Post subject: Reply with quote

I get still same problem
with 2.6.8-gentoo-r3
linux headers 2.4.21-r1
glibc 2.3.3.20040420-r1
Back to top
View user's profile Send private message
Xamindar
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1155
Location: California

PostPosted: Sun Oct 10, 2004 2:20 am    Post subject: Reply with quote

jedioetzi wrote:
I get still same problem
with 2.6.8-gentoo-r3
linux headers 2.4.21-r1
glibc 2.3.3.20040420-r1


will it run as root? You might have wrong permissions.
I have a new gentoo system and Descent3 works fine for me.

(edit) Also, I still got sig 11 on debian until I deleted the /usr/lib/tls directory. But that was only on debian, I haven't seen Gentoo have this problem. But, deleting that would breake 3d accel when the xserver restarted so instead I would just move it, run the game, then move it back when the game exited.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum