Bug 200277 - games/torcs: Segmentation fault
Summary: games/torcs: Segmentation fault
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2015-05-18 01:56 UTC by Dana
Modified: 2017-03-04 14:51 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dana 2015-05-18 01:56:21 UTC
10.1.1 produces the following error when starting the game.

/usr/local/bin/torcs: line 53: 32415 Segmentation fault      $LIBDIR/torcs-bin -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*

uname -a info:
FreeBSD xeon 10.1-RELEASE-p23 FreeBSD 10.1-RELEASE-p23 #0: Thu May 14 13:35:13 UTC 2015     root@amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
Comment 1 Rene Ladan freebsd_committer freebsd_triage 2015-05-24 13:38:44 UTC
This is indeed reproducable on my PC-BSD 10.1.2 laptop, running torcs -d gives:

(gdb) Starting program: /usr/local/bin/torcs/torcs-bin -l /usr/home/rene/.torcs -L /usr/local/lib/torcs -D /usr/local/share/games/torcs
...
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 101307]
0x0000000802d0d662 in glXCreatePixmap () from /usr/local/lib/libGL.so.1
(gdb) #0  0x0000000802d0d662 in glXCreatePixmap () from /usr/local/lib/libGL.so.1
#1  0x00000008006076bf in r_debug_state () from /libexec/ld-elf.so.1
#2  0x0000000800606d17 in __tls_get_addr () from /libexec/ld-elf.so.1
#3  0x0000000800605129 in .text () from /libexec/ld-elf.so.1
#4  0x0000000000000000 in ?? ()

So maybe this is an X11 / libGL bug?

I have an old NVIDIA GT-240M card running nvidia-driver-304-304.125 and xorg-7.7_2
Comment 2 Dana 2015-05-25 23:51:18 UTC
(In reply to Rene Ladan from comment #1)
I don't have anything to add to this except a few details on my graphics card. 
I'm using a Nvidia GTX750 Ti SC with the nvidia-driver 346.47.

If you need anything more specific, please let me know.
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2016-01-10 15:03:35 UTC
I returned this port to freebsd-ports@ a while ago.
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2016-01-10 15:13:06 UTC
@Dana apologies for this taking so long. Can you confirm whether you are still experiencing issues with this game?