[ts-gen] SIGSEGV on 32-bit jaunty, shim-090807
Ken Feng
kfmfe04 at gmail.com
Mon Aug 24 14:58:51 EDT 2009
Thank you, Russ, for that sanity check... ...there are so many
possible causes, but I will definitely follow your suggestions in the
next few days and see if I can narrow down possibilities. I will post
my findings.
I really appreciate your taking the time to give me some thoughtful
ideas on where to look.
- Ken
(On a side note, I am glad to see that the CentOS crisis a few weeks
ago seems to have been resolved!)
On 8/24/09, R P Herrold <herrold at owlriver.com> wrote:
> On Mon, 24 Aug 2009, Ken Feng wrote:
>
>> I'm getting a SIGSEGV on 32-bit jaunty with a select bars request,
>> using shim-090807, slightly patched.
>>
>> The same code runs fine on 64-bit jaunty. Could someone confirm?
>> Thank you.
>
> Bill is not in yet, but I get clean runs of our current
> pristine externals (viz., not with the field width patch) on
> both Debian Testing 32 and 64 bit chassis, using sample single
> line, culled from the ./exs/bars script. One of the first
> rules on such debugging (and I am as guilty as any other in
> racing to where I _think) the problem is) is not first running
> through existing code to verify it is working. While Ubuntu
> is not Debian [we noted a problem with a broken GCC varaint
> in Ubuntu back at the start of the year], I assume you have
> run updates, etc.
>
> Older code, and local patches introduce two possible points
> for partition of defect, and as we note on the webpage,
> "Often, our response is a request to 'upgrade to current'",
> which is where our interest usually is for FOSS users
> (commercial support stabilized side trees are not in scope
> here). Then with only one point left, I have to look to the
> external patches as a possible source of an unintended side
> effect. Possible, but not known to be the issue. We know of
> the field width issue, and have a tentative long term fix in
> design (contrary to our regular practice Bill and I took an
> hour last Thursday to talk through some ramifications on our
> tentative approach) which will probably come up in our next
> design meeting yet again.
>
>
> select bars CASH:IDEALPRO:USD:JPY 4;
>
> herrold at debian:~/shim/shim-builder/shim-090821$ exs/bars --data cout
> Maps: 1
>
> The trading shim has connected to the database server and
> loaded 51620 products. The IB tws offered api level 45,
> and connection negotiation resulted in an api level of 44
> and a client id of 1. 23955|36171| 7243372|4| 0|
> 0|# star|****************|
> 23955|36171| 7243390|4| 1| 0|# head|0.94|090821|data|
> ...
> 23956|36198| 8123779|4|11| 0|# select bars CASH:IDEALPRO:USD:JPY 4;|
> 23956|36198| 8124072|1|13| 0|select bars CASH:IDEALPRO:USD:JPY 4;|
> 23956|36198| 8124288|2|50| 1|50|1|1|USD|CASH||0.0000||1|
> IDEALPRO||JPY||2|ASK|0||||
> 23956|36198| 8614761|3|50| 3| 1|1251122590| 94.72|
> 94.72| 94.72| 94.72| -1| -1.00| -1|CASH::USD:JPY:
> 23956|36200| 10369133|3|50| 3| 1|1251122595| 94.72|
> 94.72| 94.71| 94.72| -1| -1.00| -1|CASH::USD:JPY:
> 23956|36205| 15376838|3|50| 3| 1|1251122600| 94.72|
> 94.72| 94.72| 94.72| -1| -1.00| -1|CASH::USD:JPY:
> 23956|36210| 20368408|3|50| 3| 1|1251122605| 94.72|
> 94.72| 94.72| 94.72| -1| -1.00| -1|CASH::USD:JPY:
> ^C
> herrold at debian:~/shim/shim-builder/shim-090821$
> Linux debian 2.6.26-2-686 #1 SMP Sun Jun 21 04:57:38 UTC 2009 i686 GNU/Linux
> herrold at debian:~/shim/shim-builder/shim-090821$
>
>
> - and -
>
>
> select bars CASH:IDEALPRO:USD:JPY 4;
>
> 25560|36457| 8397438|4|11| 0|# select bars CASH:IDEALPRO:USD:JPY 4;|
> 25560|36457| 8397488|1|13| 0|select bars CASH:IDEALPRO:USD:JPY 4;|
> 25560|36457| 8397517|2|50|
> 1|50|1|1|USD|CASH||0.0000||1|IDEALPRO||JPY||2|ASK|0||||
> 25560|36457| 8864406|3|50| 3| 1|1251122850| 94.66|
> 94.66| 94.66| 94.66|4294967295|
> -1.00|4294967295|CASH::USD:JPY:
> 25560|36460| 11494625|3|50| 3| 1|1251122855| 94.66|
> 94.67| 94.66| 94.67|4294967295|
> -1.00|4294967295|CASH::USD:JPY:
> 25560|36465| 16485510|3|50| 3| 1|1251122860| 94.67|
> 94.67| 94.67| 94.67|4294967295|
> -1.00|4294967295|CASH::USD:JPY:
> 25560|36470| 21495260|3|50| 3| 1|1251122865| 94.67|
> 94.67| 94.66| 94.66|4294967295|
> -1.00|4294967295|CASH::USD:JPY:
> 25560|36475| 26492462|3|50| 3| 1|1251122870| 94.66|
> 94.66| 94.66| 94.66|4294967295|
> -1.00|4294967295|CASH::USD:JPY:
> 25560|36480| 31492200|3|50| 3| 1|1251122875| 94.66|
> 94.67| 94.66| 94.66|4294967295|
> -1.00|4294967295|CASH::USD:JPY:
> 25560|36485| 36496706|3|50| 3| 1|1251122880| 94.66|
> 94.66| 94.66| 94.66|4294967295|
> -1.00|4294967295|CASH::USD:JPY:
> 25560|36490| 41506532|3|50| 3| 1|1251122885| 94.66|
> 94.66| 94.66| 94.66|4294967295|
> -1.00|4294967295|CASH::USD:JPY:
> quit;
> 25560|36491| 42868276|1| 1| 0|quit;|
> herrold at pippin:~/shim/shim-builder/shim-090821$ uname -a
> Linux pippin 2.6.26-2-amd64 #1 SMP Fri Mar 27 04:02:59 UTC 2009 x86_64
> GNU/Linux
> herrold at pippin:~/shim/shim-builder/shim-090821$
>
> -- Russ herrold
> _______________________________________________
> ts-general mailing list
> ts-general at trading-shim.org
> http://www.trading-shim.org/mailman/listinfo/ts-general
>
More information about the ts-general
mailing list