specify data directories using absolute paths please
Moderator: Moderators
Re: specify data directories using absolute paths please
yep, I am using opensuse 11.2 64b also.
Re: specify data directories using absolute paths please
I have added the debug packages from the repository, thats the stacktrace before getting the error:
roger@trash:~> spring
using default configuration source "/home/roger/.springrc"
[CMyMath::Init] CPU SSE mask: 124, flags:
SSE 1.0: 1, SSE 2.0: 1
SSE 3.0: 1, SSSE 3.0: 1
SSE 4.1: 0, SSE 4.2: 0
SSE 4.0A: 0, SSE 5.0A: 0
using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Linux
OS: 64bit native mode
Adding /home/roger/jocs/1944 to directories
Adding /usr/bin to directories
Adding /home/roger/.spring to directories
Adding /usr/share/games/spring to directories
Adding lib64/spring to directories
terminate called after throwing an instance of 'content_error'
what(): specify data directories using absolute paths please
Aborted (SIGABRT) in spring 0.80.5.2
Stacktrace:
spring [0xd13141]
/lib64/libc.so.6 [0x7fc1f18d6560]
/lib64/libc.so.6(gsignal+0x35) [0x7fc1f18d64e5]
/lib64/libc.so.6(abort+0x180) [0x7fc1f18d79b0]
/usr/lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x115) [0x7fc1f2131dc5]
/usr/lib64/libstdc++.so.6 [0x7fc1f21301f6]
/usr/lib64/libstdc++.so.6 [0x7fc1f2130223]
/usr/lib64/libstdc++.so.6(__cxa_rethrow+0x46) [0x7fc1f21302a6]
spring [0xd33971]
spring [0xcb974b]
spring [0xcbf8c5]
spring [0xccaedb]
spring [0xccaf33]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7fc1f18c2a7d]
spring [0x6d6ae9]
Looks like the "lib64/spring" is what doesn't have an absolute path, this line is harcoded in the spring binary, I tried to change it with an hexadecimal editor but I got a segfault.
roger@trash:~> spring
using default configuration source "/home/roger/.springrc"
[CMyMath::Init] CPU SSE mask: 124, flags:
SSE 1.0: 1, SSE 2.0: 1
SSE 3.0: 1, SSSE 3.0: 1
SSE 4.1: 0, SSE 4.2: 0
SSE 4.0A: 0, SSE 5.0A: 0
using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Linux
OS: 64bit native mode
Adding /home/roger/jocs/1944 to directories
Adding /usr/bin to directories
Adding /home/roger/.spring to directories
Adding /usr/share/games/spring to directories
Adding lib64/spring to directories
terminate called after throwing an instance of 'content_error'
what(): specify data directories using absolute paths please
Aborted (SIGABRT) in spring 0.80.5.2
Stacktrace:
spring [0xd13141]
/lib64/libc.so.6 [0x7fc1f18d6560]
/lib64/libc.so.6(gsignal+0x35) [0x7fc1f18d64e5]
/lib64/libc.so.6(abort+0x180) [0x7fc1f18d79b0]
/usr/lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x115) [0x7fc1f2131dc5]
/usr/lib64/libstdc++.so.6 [0x7fc1f21301f6]
/usr/lib64/libstdc++.so.6 [0x7fc1f2130223]
/usr/lib64/libstdc++.so.6(__cxa_rethrow+0x46) [0x7fc1f21302a6]
spring [0xd33971]
spring [0xcb974b]
spring [0xcbf8c5]
spring [0xccaedb]
spring [0xccaf33]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7fc1f18c2a7d]
spring [0x6d6ae9]
Looks like the "lib64/spring" is what doesn't have an absolute path, this line is harcoded in the spring binary, I tried to change it with an hexadecimal editor but I got a segfault.

Re: specify data directories using absolute paths please
Finally I have been able to edit the binary an change the "lib64/spring" string to "/usr/lib64", now the process starts without the "specify data directories using absolute paths please" error.
So looks like the error is not config files related.
Unfortunately my rude editing let the file very unstable an the process crashes very very very often.
I have compiled the program from the source code and I haven't had this problem, so it looks like someone has done something wrong when creating the packages.
So looks like the error is not config files related.
Unfortunately my rude editing let the file very unstable an the process crashes very very very often.
I have compiled the program from the source code and I haven't had this problem, so it looks like someone has done something wrong when creating the packages.
Re: specify data directories using absolute paths please
Very good news !
I say frm the beginning that join AccAgon is the solution
is this new package working for you ?
http://download.opensuse.org/repositori ... .2/x86_64/ >>
spring-complete-0.80.5.2-6.1.x86_64.rpm (build 13/12 16h30)
I say frm the beginning that join AccAgon is the solution
is this new package working for you ?
http://download.opensuse.org/repositori ... .2/x86_64/ >>
spring-complete-0.80.5.2-6.1.x86_64.rpm (build 13/12 16h30)
Re: specify data directories using absolute paths please
the fail is changing !
... but it still fail
Code: Select all
using default configuration source "/home/anterak/.springrc"
[CMyMath::Init] CPU SSE mask: 126, flags:
SSE 1.0: 1, SSE 2.0: 1
SSE 3.0: 1, SSSE 3.0: 1
SSE 4.1: 1, SSE 4.2: 0
SSE 4.0A: 0, SSE 5.0A: 0
using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Linux
OS: 64bit native mode
Adding /home/anterak/.spring to directories
Adding /usr/bin to directories
Adding /home/anterak/.spring to directories
Adding /usr/share/games/spring to directories
Adding lib64/spring to directories
terminate called after throwing an instance of 'content_error'
what(): specify data directories using absolute paths please
Aborted (SIGABRT) in spring 0.80.5.2
Stacktrace:
spring [0xd13141]
/lib64/libc.so.6 [0x7f162dc64560]
/lib64/libc.so.6(gsignal+0x35) [0x7f162dc644e5]
/lib64/libc.so.6(abort+0x180) [0x7f162dc659b0]
/usr/lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x115) [0x7f162e4bfdc5]
/usr/lib64/libstdc++.so.6 [0x7f162e4be1f6]
/usr/lib64/libstdc++.so.6 [0x7f162e4be223]
/usr/lib64/libstdc++.so.6(__cxa_rethrow+0x46) [0x7f162e4be2a6]
spring [0xd33971]
spring [0xcb974b]
spring [0xcbf8c5]
spring [0xccaedb]
spring [0xccaf33]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7f162dc50a7d]
spring [0x6d6ae9]
Re: specify data directories using absolute paths please
Did you change the length of the file? Or did you do something to keep it the same length like "/usr/lib64//"ruky wrote:"lib64/spring" string to "/usr/lib64"
If you kept it the same length I wonder why it's unstable.
Re: specify data directories using absolute paths please
is someone know witch libboost version is used by spring's dev ?
i think it can be a way
i think it can be a way
Re: specify data directories using absolute paths please
spring devs use different versions. 1.35 is minimum, 1.40 is current maximum supported (i think, not sure though), 1.37 and 1.38 should work fine too, not sure about 1.36, could be problematic.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: specify data directories using absolute paths please
anything greater or equal than 1.35 will work.
Someone should tell Agon that the packages are broken, but I didn't saw him online lately.
Someone should tell Agon that the packages are broken, but I didn't saw him online lately.
Re: specify data directories using absolute paths please
i guess you should probably just compile spring yourself. if you are willing to hex edit binary files.. this should not be a problem for you :D
it would be good if the packages worked of course.
it would be good if the packages worked of course.
Re: specify data directories using absolute paths please
Hello, Im the "maintainer" of the packages.
I simply changed the source from 0.80.5.1 to 0.80.5.2 and spring stopped starting.
My solution because I was lazy was to compile it myself which worked.
By the way Im running openSUSE 11.2 x64.
I will try to fix it.
I simply changed the source from 0.80.5.1 to 0.80.5.2 and spring stopped starting.
My solution because I was lazy was to compile it myself which worked.
By the way Im running openSUSE 11.2 x64.
I will try to fix it.
Re: specify data directories using absolute paths please
turns out it was a fail in springs root CMakeLists.txt file. someone messing wiht AI specific stuff there did something wrong. a fix is committed already; also found and fixed two other small bugs in turn, and am preventing an additional problem.
-> should not happen anymore with future releases.
-> should not happen anymore with future releases.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: specify data directories using absolute paths please
On a side note, what do you think about removing the compiled-in path altogether? It causes more harm than good, and if you want to set global paths you can still add them to /etc/spring/datadir.
edit: with compile-in, I mean the SPRING_DATADIR cmake variable, not the automatically added paths
edit: with compile-in, I mean the SPRING_DATADIR cmake variable, not the automatically added paths
Re: specify data directories using absolute paths please
the only possible issues i can see with this change:
short: if package devs will do this right, i don't see a problem.
goods i see:
- package devs would have to make sure they put the same dirs into /etc/spring/datadir as they used when compiling
- when one compiles manually (also devs), they would have to do the same
short: if package devs will do this right, i don't see a problem.
goods i see:
- no more problems as the one described in this thread
- full controll over data-dirs at/before execution time (invalid after Auswaschbars edit)
Last edited by hoijui on 21 Dec 2009, 15:33, edited 1 time in total.
Re: specify data directories using absolute paths please
Its fixed. But only openSUSE 11.2 package creation was successful.
I will take a look at 11.1 .
I will take a look at 11.1 .
Re: specify data directories using absolute paths please
I am running opensuse 11.2 x86_64. I installed spring from the packman repository and had the same problem as described in this topic. I uninstalled spring, added accAgon as a repository, re-installed spring (selecting packages from accAgon, of course) and now spring is working!
Hope this helps.
Cheers,
DJM
Hope this helps.
Cheers,
DJM
Re: specify data directories using absolute paths please
hello
I install last build from agon, and it s work fine. I think you should put high priority to agon's repository, and upgrade all paquets with yast.
Unfortunately, fullscreen don t work
I install last build from agon, and it s work fine. I think you should put high priority to agon's repository, and upgrade all paquets with yast.
Unfortunately, fullscreen don t work

Re: specify data directories using absolute paths please
Same problem here, OpenSUSE, 64b.