FS#29997 - [bzflag] segfaults ; building from ABS works just fine

Attached to Project: Arch Linux
Opened by Zack Buhman (buhman) - Thursday, 24 May 2012, 08:42 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 27 May 2012, 03:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
When I install the bzflag package from [extra], and attempt to run bzflag, it segfaults instantly. If I compile bzflag from ABS, it works just fine.P

Additional info:
I have [testing] enabled
bzflag 2.4.0-2 in both cases

Steps to reproduce:
1. pacman -S extra/bzflag
2. bzflag -dddd
-- segfault
3. export ABSROOT=$HOME/build && abs extra/bzflag
4. cd ~/build/extra/bzflag && makepkg && pacman -U bzflag-2.4.0-2-x86_64.pkg.tar.xz
5. bzflag -dddd
-- no segfault

example: http://sprunge.us/MEfe

gdb: http://sprunge.us/WXVh

Unfortunately extra/bzflag doesn't have debugging symbols so far as I can tell; #bzflag suggested I rebuild with --enable-debug, but I can't reproduce the problem when I compile it myself.

pacman -Qe: http://sprunge.us/NcjO
pacman -Q: http://sprunge.us/XZbR
pacman.conf: http://sprunge.us/QOLR
This task depends upon

Closed by  Gaetan Bisson (vesath)
Sunday, 27 May 2012, 03:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  bzflag-2.4.0-3 in [extra]
Comment by Gaetan Bisson (vesath) - Saturday, 26 May 2012, 08:25 GMT
From bzflag-2.4.0-2, I get:

BZFlag version: 2.4.0.20110916-STABLE-linux-gnu-SDL

I'm not sure why your BZFlag is more recent; can you make sure it is really the official package that you are using?
Comment by Zack Buhman (buhman) - Saturday, 26 May 2012, 09:51 GMT
I'm not exactly sure how to go about proving I am in fact using the official package.

I guess I didn't realize my paste is in the reverse order of my reproduction steps; my apologies. The first bzflag -ddddd in the paste is the one I compiled, which works, and also shows the build date (two days ago). I guess what I was trying to show there was, at least as far as terminal output goes, a bzflag compiled from ABS starts and terminates properly (and plays just fine for that matter).

The second bzflag -ddddd is from your package, and segfaults before it gets to the "BZFlag version:" part.

I'll attempt to remove all ambiguity:

Official package failure:
http://sprunge.us/YZAE

ABS success:
http://sprunge.us/YHKG
Comment by Gaetan Bisson (vesath) - Saturday, 26 May 2012, 15:25 GMT
Well I have the same package and files as you (sha1sums match) but bzflag runs without problem. Maybe you have something funny in your "~/.bzf"?

Anyhow, could you see if this package works for you? http://arch.vesath.org/all/bzflag-2.4.0-3-x86_64.pkg.tar.xz
Comment by Zack Buhman (buhman) - Saturday, 26 May 2012, 19:34 GMT
~/.bzf:
http://sprunge.us/aCYF

arch.vesath.org appears to be throttled heavily (or just really slow). Is that intentional? http://sprunge.us/fFdg

That bzflag-2.4.0-3 package you provided does in fact work just fine for me. http://sprunge.us/DbJf

Could you put that package in the [extra]?
Comment by Gaetan Bisson (vesath) - Sunday, 27 May 2012, 03:26 GMT
Thanks for reminding me of my humble home uplink...

Anyhow, I've pushed that package to [extra].

Loading...