Originally Posted by Buumi
Could my problem be related to this?
I'm trying to run Spring RTS 94.1. It compiles fine on slackware64-current, but I can't run it. It crashes with error
[f=0000000] Error: Segmentation fault (SIGSEGV) in spring 94.1 (OMP)
[f=0000000] Error: Stacktrace:
[f=0000000] Error: <0> /lib64/libpthread.so.0(+0xf580) [0x7f561c1e5580]
[f=0000000] Error: <1> "./spring"() [0xa23b50]
[f=0000000] Error: <2> "./spring"() [0xa297fd]
[f=0000000] Error: <3> ??:?
[f=0000000] Error: <4> /lib64/libpthread.so.0(+0x7eaf) [0x7f561c1ddeaf]
[f=0000000] Error: <5> /lib64/libc.so.6(clone+0x6d) [0x7f5618a2d58d]
terminate called after throwing an instance of 'boost::thread_interrupted'
I also tried to compile 94.0 and it has the same problem but that version worked before my upgrade on 27th March. I'm still having this problem, even after upgrade to latest current. I guess I should reinstall current to be sure it's not something I've messed up.
no, seems that someone is calling boost::tread.interupt what throws an exception which should be caught in the tread code but is not caught
code should look like here, taken from there http://www.highscore.de/cpp/boost/multithreading.html
void wait(int seconds)
for (int i = 0; i < 5; ++i)
std::cout << i << std::endl;