Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: zazen on September 11, 2007, 11:30:02 am

Title: Getting codeblocks to work in opensuse 10.3
Post by: zazen on September 11, 2007, 11:30:02 am
Hi guys,

I am trying to get codeblocks from svn to work in opensuse 10.3 with wxGTk 2.8.4 from factory.
It looks like it compiles ok.But when I try to run, it stops abruptly shortly after the splash screen.

I went through the plugins and it goes much further if you remove libcompiler.*
But then when you go into the options menu it crashes similarly if you try to bring up environments/debugger/compiler settings

It looks like a wxGtk vs glibc issue to me...

Any ideas?

Thanks,

Zazen

The backtrace is:

Code
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x2af6480bedd0 (LWP 14265)]
0x00002af64509ba95 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00002af64509ba95 in raise () from /lib64/libc.so.6
#1  0x00002af64509d030 in abort () from /lib64/libc.so.6
#2  0x00002af6450d916f in ?? () from /lib64/libc.so.6
#3  0x00002af64393af0e in ?? () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#4  0x00002af642cc12e6 in wxButtonXmlHandler::DoCreateResource ()
   from /usr/lib64/libwx_gtk2u_xrc-2.8.so.0
#5  0x00002af642d038aa in wxXmlResourceHandler::CreateResource ()
   from /usr/lib64/libwx_gtk2u_xrc-2.8.so.0
#6  0x00002af642d05c87 in wxXmlResource::CreateResFromNode ()
   from /usr/lib64/libwx_gtk2u_xrc-2.8.so.0
#7  0x00002af642ce65f3 in wxStdDialogButtonSizerXmlHandler::DoCreateResource ()
   from /usr/lib64/libwx_gtk2u_xrc-2.8.so.0
#8  0x00002af642d038aa in wxXmlResourceHandler::CreateResource ()
   from /usr/lib64/libwx_gtk2u_xrc-2.8.so.0
#9  0x00002af642d05cad in wxXmlResource::CreateResFromNode ()
   from /usr/lib64/libwx_gtk2u_xrc-2.8.so.0
#10 0x00002af642d05ff6 in wxXmlResourceHandler::CreateChildren ()
   from /usr/lib64/libwx_gtk2u_xrc-2.8.so.0
#11 0x00002af642ce654d in wxStdDialogButtonSizerXmlHandler::DoCreateResource ()
   from /usr/lib64/libwx_gtk2u_xrc-2.8.so.0
#12 0x00002af642d038aa in wxXmlResourceHandler::CreateResource ()
   from /usr/lib64/libwx_gtk2u_xrc-2.8.so.0
#13 0x00002af642d05c87 in wxXmlResource::CreateResFromNode ()
Title: Re: Getting codeblocks to work in opensuse 10.3
Post by: mandrav on September 11, 2007, 11:46:05 am
This is a known wxGTK bug which was fixed in wxGTK-2.8.4. I 'm almost certain the you think you 're linking to wxGTK-2.8.4 when in fact you 're linking to an earlier version.
If I 'm wrong, then the only thing I can think of is that the wxGTK-2.8.4 provided for suse is not what it claims to be.

I 'm using C::B-wxGTK-2.8.4 both in 32bit and 64bit linux. No problems.

"ldd codeblocks" would give us the answer on what wxGTK version you 're linking against...
Title: Re: Getting codeblocks to work in opensuse 10.3
Post by: zazen on September 11, 2007, 01:27:36 pm
Hi Mandrav,

It is 2.8.4 from opensuse factory I am using...

Will look further into it...

Thanks
Title: Re: Getting codeblocks to work in opensuse 10.3
Post by: zazen on September 13, 2007, 02:57:45 pm
Hi,

Just to let you know that this morning I got the latest wxGTK package from opensuse factory. The change log says:
2007-09-05  fix crash on startup on x86_64

and now I can use codeblocks again :-)

Keep up the good work.

Zazen