[ts-gen] segfault
Bill Pippin
pippin at owlriver.net
Wed Mar 31 21:47:20 EDT 2010
Gene,
Welcome; we're delighted to have you.
> Hi, I've just joined the list, and am looking into using your Trading
> Shim. Your tastes seem to match closely with mine (Linux & C++) so I
> am very happy to have found this project.
So you have 32 bit hardware, and a reasonably up-to-date g++ :
> Ubuntu 9.10(Karmic)/x86
> g++ 4.4.1
> ruby 1.8.7
> Sun Java 6
> MySQL Server 5.1.37
About setup requirements:
> ... I did not set "transaction-isolation = SERIALIZABLE" yet ...
You're correct that this would not cause a segfault. Instead, you
should see a straight-forward error message, followed by termination.
The error text would be as follows:
Problem 512: mySQL isolation level must be serial
Exiting.
So, focusing on the crash you are seeing:
> I am receiving a segfault when running the shim ...
...
> genel at lopburi:~/Downloads/shim/shim-100330$ ./shim --data
> Segmentation fault
Would you please be so kind as to start up gdb, run the shim, capture
a stack trace of where the shim is when it crashes, and post that to
the list?
To obtain the stack trace, start gdb with the file name of the shim
executable as an argument, type "r --data" to run, and "w" (where) to
print the stack trace once the shim has crashed.
Thanks,
Bill
More information about the ts-general
mailing list