[GEM-dev] segfault on destroy or close

Miha Tomšič miha.tomsic at gmail.com
Mon Nov 27 06:29:08 CET 2006


Hello, IOhannes!

On 11/26/06, IOhannes m zmoelnig <zmoelnig at iem.at> wrote:
> which card are you using? (i guess a radeon).

Yes, Radeon Mobility 9000 which is not supported by latest ATI's
proprietary drivers. I have to check the status and availability of
older drivers that still supported this chip. Will probably have to do
some compiling and packaging for current FC6 kernel. Will be posting
what I find out.

> have you tried with another card (e.g. nvidia)?

OK, tried it on the other computer with nvidia (and their drivers) and
basically the same FC6 setup.
There are no problems destroying or closing the window. No segfaults
or broken pipes.
Nvidia provides their own libGL, right? I'll try different version of
libGL on the radeon computer. I can try using older mesa open source
drivers/libGL for radeon 6.4.2 - don't know if it supports my chip at
all.

And one small correction to the bt's I sent before - those were for
0.90 version of Gem. So here is the 0.91-cvs output. Using correct
versions of debuginfo and libraries I got bit more info of where it
crashes. I guess it is a libGL problem. I should mention that I have
no problem running or closing any other GL apps with the same libGL.

Thanks for now and take care, Miha

----------------
(gdb) run
Starting program: /usr/local/bin/pd -lib Gem
[Thread debugging using libthread_db enabled]
[New Thread -1208682816 (LWP 9600)]
Vertex3f: 2
Normal3f: 2

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208682816 (LWP 9600)]
0x017f2880 in ?? ()
(gdb) bt
#0  0x017f2880 in ?? ()
#1  0x0376dd3c in BindContextWrapper (dpy=0x8cc5a30, gc=0x8d23118,
draw=<value optimized out>, read=39845892) at glxext.c:1542
#2  0x0376ff1f in MakeContextCurrent (dpy=0x8cc5a30, draw=39845892,
read=39845892, gc=0x8d23118) at glxext.c:1630
#3  0x037701c3 in glXMakeCurrent (dpy=0x8cc5a30, draw=39845892,
gc=0x8d23118) at glxext.c:1792
#4  0x00779046 in GemMan::destroyWindow () at GemMan.cpp:1303
#5  0x007797a5 in GemMan::render () at GemMan.cpp:749
#6  0x080b194b in sched_tick (next_sys_time=1511854080) at m_sched.c:355
#7  0x080b266e in m_scheduler () at m_sched.c:460
#8  0x080b580a in sys_main (argc=3, argv=0xbffaef44) at s_main.c:316
#9  0x080bea0f in main (argc=Cannot access memory at address 0x0
) at s_entry.c:27
(gdb)
--------------




More information about the GEM-dev mailing list