User forums > Help
Bus error after installation
(1/1)
jambli:
Hello everyone,
When attempting to run code blocks on a ubuntu 9.10 64 bit system I get the following error:
--- Code: ---jatone@jatone-desktop:~/Desktop/codeblocks-8.02$ codeblocks
Bus error
--- End code ---
Digging a little deeper and using gdb to run codeblocks I get the following output:
--- Code: ---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 ?? ()
--- End code ---
Finally when trying to compile from src I get the following error, I'm not sure if this error is related in anyway (doubtful):
--- Code: ---/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
--- End code ---
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.
Folco:
Jambli, perhaps you could install the "-debug" or "-debuginfo" packages to get a more usefull backtrace ?
Jenna:
What's the output of
--- Code: ---file -L /usr/lib/libwx_gtk2u_core-2.8.so
--- End code ---
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
--- Code: ---error: 'wxTimerEvent' has not been declared
error: invalid use of incomplete type 'struct wxXmlResourceHandler'
--- End code ---
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.
Navigation
[0] Message Index
Go to full version