[3ddesktop-dev] Re: segmentation fault against glClearColor () from /usr/X11R6/lib/libGL.so.1

Compiled it with 3.4.3, still core dumping and giving the same gdb-output. :(

Ladislav "TheBurn" Laska wrote:

Yeah, both are opengl accelerated.

I don't know what exactly is gcc 4.x.x, but i is NOT a stable release,
so you can expect some failures.

Try gcc 3.4.x - that's worked for me. And i will (maybe) try gcc 4.0.x
and report result.

On 10/6/05, Lanckmans Sven <sven@xxxxxxxxxxxxx> wrote:


Hi,

not sure how to check if an application is opengl or not. I think the games
Chromium and Tuxracer
are and these run fine.

gcc 4.0.1 unstable? Don't you mean 4.0.0? 4.0.2 just came out last week.

Thanks,
Sven.


Ladislav "TheBurn" Laska wrote: Have you tried compile with some stable GCC release?...4.0.1 is an unstable version, so it can cause some segfaults or something else.

And it will be an error in X.org libs too. Are other opengl
accelerated applications running well?...

On 10/6/05, Lanckmans Sven <sven@xxxxxxxxxxxxx> wrote:


Hi,

I'm using mandrake 10.2, X.org 6.8.2 and KDE 3.4.2.

I've tried 0.2.8 and 0.2.9 (compiled with gcc 4.0.1), but the 3ddeskd is
coring
every time. For both releases I get:
[slanckma@ams-slanckma-vpn1 3ddesktop-0.2.8]$ gdb 3ddeskd
GNU gdb 6.2-2mdk (Mandrakelinux)
Copyright 2004 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
"i586-mandrake-linux-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) set follow-fork-mode child
(gdb) run
Starting program: /tmp/3ddesktop-0.2.8/3ddeskd
Attaching after fork to child process 24056.
Daemon started. Run 3ddesk to activate.

Program received signal SIGSEGV, Segmentation fault.
[Switching to process 24056]
0xb7c95150 in glClearColor () from /usr/X11R6/lib/libGL.so.1
Current language: auto; currently c
(gdb) bt
#0 0xb7c95150 in glClearColor () from /usr/X11R6/lib/libGL.so.1
#1 0xbfd2e278 in ?? ()
#2 0xb7f27f50 in _dl_runtime_resolve () at dl-runtime.c:62
#3 0x0804bdb4 in initialize_3ddesktop () at 3ddeskd.cpp:1977
#4 0x0804f951 in main (argc=1, argv=0xbfd2e344) at 3ddeskd.cpp:2279
(gdb) quit

Any idea? I've attached a corefile.

Thanks,
Sven.





--
Regards Ladislav Laska
S pozdravem Ladislav Laska






--
Regards Ladislav Laska
S pozdravem Ladislav Laska


Other related posts: