News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Bus error after installation

Started by jambli, January 17, 2010, 05:14:54 AM

Previous topic - Next topic

jambli

Hello everyone,

When attempting to run code blocks on a ubuntu 9.10 64 bit system I get the following error:

jatone@jatone-desktop:~/Desktop/codeblocks-8.02$ codeblocks
Bus error


Digging a little deeper and using gdb to run codeblocks I get the following output:

jatone@jatone-desktop:~/Desktop$ gdb codeblocks
(gdb) run
Starting program: /usr/bin/codeblocks

Program received signal SIGBUS, Bus error.
0x00007ffff7df68f0 in ?? () from /lib64/ld-linux-x86-64.so.2
(gdb) bt
#0  0x00007ffff7df68f0 in ?? () from /lib64/ld-linux-x86-64.so.2
#1  0x00007ffff7de596d in ?? () from /lib64/ld-linux-x86-64.so.2
#2  0x00007ffff7de73a8 in ?? () from /lib64/ld-linux-x86-64.so.2
#3  0x00007ffff7deb46d in ?? () from /lib64/ld-linux-x86-64.so.2
#4  0x00007ffff7ded386 in ?? () from /lib64/ld-linux-x86-64.so.2
#5  0x00007ffff7debb64 in ?? () from /lib64/ld-linux-x86-64.so.2
#6  0x00007ffff7de27c7 in ?? () from /lib64/ld-linux-x86-64.so.2
#7  0x00007ffff7df43e7 in ?? () from /lib64/ld-linux-x86-64.so.2
#8  0x00007ffff7de038d in ?? () from /lib64/ld-linux-x86-64.so.2
#9  0x00007ffff7ddfaf8 in ?? () from /lib64/ld-linux-x86-64.so.2
#10 0x0000000000000001 in ?? ()
#11 0x00007fffffffe659 in ?? ()
#12 0x0000000000000000 in ?? ()


Finally when trying to compile from src I get the following error, I'm not sure if this error is related in anyway (doubtful):

/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libwx_gtk2u_core-2.8.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[3]: *** [libcodeblocks.la] Error 1
make[3]: Leaving directory `/home/jatone/Desktop/codeblocks-8.02/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jatone/Desktop/codeblocks-8.02/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jatone/Desktop/codeblocks-8.02/src'
make: *** [all-recursive] Error 1


This isn't a memory space issue the system has 2gigs of ram and it occurs even when no other programs are active.
Any help would be appreciated.

oBFusCATed

Install wxgtk-dev or something like that for the build error.
Then rerun configure with --enable-debug option to get meaningful backtrace.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Folco

Jambli, perhaps you could install the "-debug" or "-debuginfo" packages to get a more usefull backtrace ?
Kernel Extremist - PedroM power ©

Jenna

What's the output of file -L /usr/lib/libwx_gtk2u_core-2.8.so

jambli

While writing this up and fiddling with the wxgtk2.8 libraries the problem was resolved and the ubuntu package started working.

The compiling from source problem has changed though. Basically now its telling saying things like

error: 'wxTimerEvent' has not been declared
error: invalid use of incomplete type 'struct wxXmlResourceHandler'

etc etc etc. But since the package is working not really too worried about compiling from source at this point. Thanks for your help guys.