Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20094 - [intel-dri] Floating Point Exception with warzone2100

Attached to Project: Arch Linux
Opened by Joshua (j0sh) - Tuesday, 06 July 2010, 14:50 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 19 December 2010, 15:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
During gameplay of the Warzone2100 trunk version, the game crashes, and the backtrace of warzone2100 shows he following lines,

#4 <signal handler called>
No symbol table info available.
#5 0xb593b479 in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so
No symbol table info available.
#6 0xb593c23d in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so
No symbol table info available.
#7 0xb5993e84 in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so
No symbol table info available.
#8 0x082007d0 in updateSectorGeometry (x=5, y=0) at terrain.c:627


The developer there said that it is because of a crash in my graphics driver. Below is the bug report that I filed on their website.
http://developer.wz2100.net/ticket/1974


Additional info:
* package version(s)
* config and/or log files etc.

X.Org X Server 1.8.1.902 (1.8.2 RC 2)
Release Date: 2010-06-21
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.34-ARCH i686
Current Operating System: Linux XR-Z09 2.6.34-ARCH #1 SMP PREEMPT Sat Jun 19 13:06:16 CEST 2010 i686
Kernel command line: root=/dev/disk/by-uuid/e874c057-e0e1-489c-8f4c-019d2d10c9fe ro
Build Date: 21 June 2010 11:54:27AM


Steps to reproduce:
I'm not sure how you will be able to reproduce without the same hardware.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 19 December 2010, 15:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  patch has gone upstream
Comment by Joshua (j0sh) - Tuesday, 06 July 2010, 14:51 GMT

Playing any skirmish game causes this crash.
Comment by Thomas Dziedzic (tomd123) - Monday, 12 July 2010, 21:02 GMT
Why has this been moved to community if it's a problem with the driver?
Comment by Thomas Dziedzic (tomd123) - Tuesday, 13 July 2010, 20:00 GMT
Could you rebuild intel-dri with debugging symbols and provide a more useful backtrace?
Comment by Joshua (j0sh) - Thursday, 15 July 2010, 15:30 GMT
Yes, I will once I figure out how to do that. Thanks.
Comment by Thomas Dziedzic (tomd123) - Thursday, 15 July 2010, 15:42 GMT
I would get it from abs like:
cd
cp -r /var/abs/extra/mesa .
edit the the pkgbuild and add --enable-debug to the ./configure flags
make sure you have base-devel by doing sudo pacman -S base-devel
then run makepkg -s
and then install the resulting intel-dri pacakge with sudo pacman -U intel-dri-package
Comment by Thomas Dziedzic (tomd123) - Thursday, 15 July 2010, 15:51 GMT
sorry, you should probably run makepkg -s --pkg intel-dri
Comment by Joshua (j0sh) - Saturday, 17 July 2010, 17:59 GMT
Did as you instructed. Is this helpful? If this isn't the backtrace, please advice which files you require.

Thanks.
Comment by Thomas Dziedzic (tomd123) - Saturday, 17 July 2010, 18:03 GMT
shoot, I forgot to tell you to add:
options=('!strip')
to the pkgbuild. Can you possibly rebuild it again and post an updated gdmp? Thanks.
Comment by Joshua (j0sh) - Saturday, 24 July 2010, 06:45 GMT
Updated dump file

Glad to help with anything else if needed. Just ask. :)
Comment by Laurent Carlier (lordheavy) - Wednesday, 11 August 2010, 08:56 GMT
Digging a bit on bugs.freedesktop.net, a bugreport is available https://bugs.freedesktop.org/show_bug.cgi?id=28931
with a possible fix
Comment by Laurent Carlier (lordheavy) - Wednesday, 11 August 2010, 13:55 GMT
Can you try to build and install intel-dri from the following PKGBUILD ?

It seem that warzone send a size of zero to glBufferSubDataARB() and intel driver doesn't handle this properly.
Comment by Joshua (j0sh) - Tuesday, 24 August 2010, 14:27 GMT
Tried the PKGBUILD that you provided, mesa-7.8.2-1.src.tar.gz.

edited the the pkgbuild and added --enable-debug to the ./configure flags,
and added options=('!strip')

then did
makepkg -s --pkg intel-dri

But then I had an abort error.
Comment by Laurent Carlier (lordheavy) - Tuesday, 24 August 2010, 14:53 GMT
building abort beacause of the spaces in the path.

Try to build in a directory without spaces in the name;
Comment by Joshua (j0sh) - Tuesday, 24 August 2010, 15:41 GMT
It worked , thanks.

Now will test to create a crash.
Comment by Joshua (j0sh) - Wednesday, 01 September 2010, 13:12 GMT
Not able to recreate the crash like before. Or perhaps needs more testing. Will report back in a few days.
Comment by Joshua (j0sh) - Monday, 06 September 2010, 12:26 GMT
I got a similar floating point exception, but with a modified warzone project called WZGM (revision 483) http://wzgm.net/

Console error

[code]line 31: 17533 Floating point exception/mnt/my-data/warzone-build-directory/warzone-berg-experimental/src/warzone2100[/code]


I have attached the crash file and the glxinfo log.
Comment by Laurent Carlier (lordheavy) - Monday, 06 September 2010, 12:47 GMT Comment by Joshua (j0sh) - Monday, 06 September 2010, 17:27 GMT Comment by Jan de Groot (JGC) - Monday, 25 October 2010, 07:01 GMT
Is this fixed with mesa and intel-dri from testing?
Comment by Andreas Radke (AndyRTR) - Sunday, 19 December 2010, 15:05 GMT
now that we have mesa 7.9 in extra and 7.10 in testing that patch is inclued in out packagas. closing this one as fixed.

Loading...