> Yes it would be usefull to isolate which, line of test.py trigger the
> crash.
> 

if len(sys.argv) > 2:

    print "f0 result = %s\n" % pokereval.poker_eval(game = "holdem",
fill_pockets = 1, pockets = [ ["As", "3s"],  ["__", "__"],  ["__",
"__"]], dead = [], board = ["__", "Qs", "2c", "Ac", "Kc"])

It crashes when it executes the above line.

prior to crashing, my printf in poker-eval produced:
inString: As
inString: 3s
inString: Qs
inString: 2c
inString: Ac
inString: Kc

I changed the print line having "3s" as a hold card to have a "ts" as a
hold card.

the printf I put into my poker_eval program produced:
inString: As
inString: ts
inString: 7s
inString: Qs
inString: 2c
inString: Ac
inString: Kc

and then crashed.

> > 
> > The test you ran on 27th of Feb 2010 08:35:12 AM didn't fail. What
> > arcitecture are you using?  
> 
> x86

I am using a x86_64
> 
> > This is all curious because as I said, I got the poker-web-service
> > running on my machine (which uses poker-eval) and it works fine.
> 
> I guess this is because test.py, run some evaluation, that you haven't
> tried (yet) on poker-eval-webservice.

I have been running poker-eval-web-service from
file:///home/elmer/downloads/poker-eval-webservice/static/index.h
for about 2 weeks.

No failure as of yet.

I guess I write some code to call it on every combination of hold
cards/flop cards/turn cards/river cards (I play holdem) to make sure
there is no combination that crashes the program, but I think this is
REALLY NOT A LIKELY PROBLEM.

take care, will be in contact.



_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to