Menu

#3 SIGFPE with Radeon card

open
nobody
None
5
2003-09-27
2003-09-27
Anonymous
No

I don't have lib3ds, but configure figures that out
just fine. Compilation goes fine except for some warnings:

[...snip...]
doc_load_save.c: In function `fmt_load_document':
doc_load_save.c:133: warning: passing arg 2 of
`model_set_filename' discards qualifiers from pointer
target type
doc_load_save.c: In function `fmt_save_document':
doc_load_save.c:359: warning: passing arg 2 of
`model_set_filename' discards qualifiers from pointer
target type
[...snip...]
polygon.c: In function `poly_new':
polygon.c:41: warning: passing arg 2 of
`primitive_set_delete_cb' from incompatible pointer type
[...snip...]
vertex.c: In function `vertex_new':
vertex.c:43: warning: passing arg 2 of
`primitive_set_delete_cb' from incompatible pointer type
[...snip...]
/lib/python2.2/config -lutil -lpng -lz -lm
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x3092):
In function `posix_tmpnam':
warning: the use of `tmpnam_r' is dangerous, better
use `mkstemp'
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x2fa9):
In function `posix_tempnam':
warning: the use of `tempnam' is dangerous, better
use `mkstemp'
[...snip the rest...]

bash-2.05b$ ./kludge3d
kludge3d: radeon_vtxfmt.c:1061:
radeonVtxfmtUnbindContext: Assertion `vb.context ==
ctx' failed.
Aborted

-----

bash-2.05b$ gdb kludge3d
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public
License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show
warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) handle SIGFPE pass nostop
Signal Stop Print Pass to program Description
SIGFPE No Yes Yes
Arithmetic exception
(gdb) run
Starting program:
/home/niko/src/kludge3d-20030926/src/kludge3d
[New Thread 16384 (LWP 18026)]

Program received signal SIGFPE, Arithmetic exception.
kludge3d: radeon_vtxfmt.c:1061:
radeonVtxfmtUnbindContext: Assertion `vb.context
== ctx' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 18026)]
0x406644d1 in kill () from /lib/libc.so.6
(gdb)

-----
Niko Iivari
eviliivari@saunalahti.fi

Discussion


Log in to post a comment.

MongoDB Logo MongoDB