Re: [Bug-gnubg] bug: current binary freezes when opening a sgf file (not solved)

2007-07-25 Thread Achim Mueller
* Achim Mueller <[EMAIL PROTECTED]> [070725 22:51]:
> * Achim Mueller <[EMAIL PROTECTED]> [070725 21:55]:
> > Hi,
> > 
> > again SuSE-10.1, todays snapshot, I also rebuilt sgfl.c.
> > 
> > I can import matches analyse and save them as sgf files, but when I open
> > a sgf file (old or made with this binary) the gzi freezes.
> 
> Ok, after also re-making sgfp.c it works again. Does anyone understand
> what was going on here with the parsing?

Sorry, not solved. In the gui it still freezes, at command line I see
the last position of the match (but vice versa) and it says (no game).

Ciao

Achim
 


___
Bug-gnubg mailing list
Bug-gnubg@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnubg


Re: [Bug-gnubg] bug: current binary freezes when opening a sgf file (solved)

2007-07-25 Thread Achim Mueller
* Achim Mueller <[EMAIL PROTECTED]> [070725 21:55]:
> Hi,
> 
> again SuSE-10.1, todays snapshot, I also rebuilt sgfl.c.
> 
> I can import matches analyse and save them as sgf files, but when I open
> a sgf file (old or made with this binary) the gzi freezes.

Ok, after also re-making sgfp.c it works again. Does anyone understand
what was going on here with the parsing?

Ciao

Achim



___
Bug-gnubg mailing list
Bug-gnubg@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnubg


Re: [Bug-gnubg] Rollout presets

2007-07-25 Thread Achim Mueller
* Massimiliano Maini <[EMAIL PROTECTED]> [070724 16:30]:
> hi,
> 
> in the latest code there're the new "A", "B", ... "E" buttons allowing to 
> quick-load
> rollout settings (stored in files a.rol, b.rol, etc).

Where did you hide that code? I coudn't find anything in cvs, but maybe
I'm blind today.

Ciao

Achim



___
Bug-gnubg mailing list
Bug-gnubg@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnubg


Re: [Bug-gnubg] bug: current binary freezes when opening a sgf file

2007-07-25 Thread Achim Mueller
Addendum: same on a SuSE-10.2 ...

Ciao

Achim




___
Bug-gnubg mailing list
Bug-gnubg@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnubg


Re: [Bug-gnubg] Re: Rollout presets

2007-07-25 Thread Achim Mueller
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [070725 18:49]:
> Don't we know that truncated rollouts for cube decisions are 
> susceptible to considerable evaluation systematic uncertainty?
> (I never trust a truncated rollout on a cube decision, but I'm
> pretty hardcore.  :)  By making that one of the default options
> does it build a false sense of security for the user who may
> not know this?

Afaik this problem only occurs when you use odd truncation and even
plies or vice versa (according to a statement by Daniel Murphy). I did a
lot of truncated rollouts of positions and few of them also with 2ply
full but didn't experience any substantial "odds" besides those where
truncated _and_ full rollouts showed that 2ply eval was wrong.

Ciao

Achim



___
Bug-gnubg mailing list
Bug-gnubg@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnubg


[Bug-gnubg] bug: current binary freezes when opening a sgf file

2007-07-25 Thread Achim Mueller
Hi,

again SuSE-10.1, todays snapshot, I also rebuilt sgfl.c.

I can import matches analyse and save them as sgf files, but when I open
a sgf file (old or made with this binary) the gzi freezes.

SSE supported and available.
[New Thread -1237058656 (LWP 4827)]
[Thread -1237058656 (LWP 4827) exited]
[New Thread -1260594272 (LWP 4829)]
(No game) load match
"/home/ace/Dateien/Backgammon/gnubg-ace_3p_2007-07-25.sgf"
bt
Program received signal SIGTERM, Terminated.<- killed window
[Switching to Thread -1232918832 (LWP 4824)]
0xe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xe410 in __kernel_vsyscall ()
#1  0xb736977b in __read_nocancel () from /lib/libc.so.6
#2  0xb731aa98 in _IO_file_read_internal () from /lib/libc.so.6
#3  0xb731bd1b in _IO_new_file_underflow () from /lib/libc.so.6
#4  0xb731c45b in _IO_default_uflow_internal () from /lib/libc.so.6
#5  0xb731d78d in __uflow () from /lib/libc.so.6
#6  0xb73177db in getc () from /lib/libc.so.6
#7  0x080c08c4 in sgflex () at sgfl.c:1539
#8  0x080bf72a in sgfparse () at sgfp.c:1090
#9  0x080bfa31 in SGFParse (pf=0xc4f6588) at ./sgf.y:175
#10 0x080bb619 in LoadCollection (sz=) at sgf.c:116
#11 0x080beb09 in CommandLoadMatch (sz=0xc4f41bb
"/home/ace/Dateien/Backgammon/gnubg-ace_3p_2007-07-25.sgf") at
sgf.c:1552
#12 0x0807d693 in HandleCommand (sz=0xc4f41bb
"/home/ace/Dateien/Backgammon/gnubg-ace_3p_2007-07-25.sgf",
ac=0x82b0fc0) at gnubg.c:2681
#13 0x0807d7ce in HandleCommand (sz=0xc4f41b5 "match", ac=0x82b38c0) at
gnubg.c:2685
#14 0x0807e8ea in ProcessInput (sz=0xbfb23cf0 "load match
\"/home/ace/Dateien/Backgammon/gnubg-ace_3p_2007-07-25.sgf\"") at
gnubg.c:5275
#15 0x0807fed2 in UserCommand (szCommand=0xc4f6328 "load match
\"/home/ace/Dateien/Backgammon/gnubg-ace_3p_2007-07-25.sgf\"") at
gnubg.c:5331
#16 0x0813370d in GTKOpen (p=0xc06c210, n=0, pw=0xb76ed8bb) at
gtkfile.c:374
#17 0xb76fb0b9 in g_cclosure_marshal_VOID__VOID () from
/opt/gnome/lib/libgobject-2.0.so.0
#18 0xb76edc0b in g_closure_invoke () from
/opt/gnome/lib/libgobject-2.0.so.0
#19 0xb76fed3d in g_signal_override_class_closure () from
/opt/gnome/lib/libgobject-2.0.so.0
#20 0xb7700247 in g_signal_emit_valist () from
/opt/gnome/lib/libgobject-2.0.so.0
#21 0xb7700415 in g_signal_emit () from
/opt/gnome/lib/libgobject-2.0.so.0
#22 0xb78f7623 in gtk_button_clicked () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#23 0xb78f8efe in gtk_button_set_alignment () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#24 0xb76fb0b9 in g_cclosure_marshal_VOID__VOID () from
/opt/gnome/lib/libgobject-2.0.so.0
#25 0xb76ec407 in g_value_set_static_boxed () from
/opt/gnome/lib/libgobject-2.0.so.0
#26 0xb76edc0b in g_closure_invoke () from
/opt/gnome/lib/libgobject-2.0.so.0
#27 0xb76ff1ca in g_signal_override_class_closure () from
/opt/gnome/lib/libgobject-2.0.so.0
#28 0xb7700247 in g_signal_emit_valist () from
/opt/gnome/lib/libgobject-2.0.so.0
#29 0xb7700415 in g_signal_emit () from
/opt/gnome/lib/libgobject-2.0.so.0
#30 0xb78f76b3 in gtk_button_released () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#31 0xb78f7711 in gtk_button_released () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#32 0xb79c7bde in gtk_marshal_BOOLEAN__VOID () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#33 0xb76ec407 in g_value_set_static_boxed () from
/opt/gnome/lib/libgobject-2.0.so.0
#34 0xb76edc0b in g_closure_invoke () from
/opt/gnome/lib/libgobject-2.0.so.0
#35 0xb76ff383 in g_signal_override_class_closure () from
/opt/gnome/lib/libgobject-2.0.so.0
#36 0xb77f in g_signal_emit_valist () from
/opt/gnome/lib/libgobject-2.0.so.0
#37 0xb7700415 in g_signal_emit () from
/opt/gnome/lib/libgobject-2.0.so.0
#38 0xb7ab2908 in gtk_widget_get_default_style () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#39 0xb79c15f3 in gtk_propagate_event () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#40 0xb79c2847 in gtk_main_do_event () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#41 0xb784758a in gdk_add_client_message_filter () from
/opt/gnome/lib/libgdk-x11-2.0.so.0
#42 0xb7678de2 in g_main_context_dispatch () from
/opt/gnome/lib/libglib-2.0.so.0
#43 0xb767be1f in g_main_context_prepare () from
/opt/gnome/lib/libglib-2.0.so.0
#44 0xb767c1c9 in g_main_loop_run () from
/opt/gnome/lib/libglib-2.0.so.0
#45 0xb79c2cc4 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#46 0x081319ac in RunGTK (pwSplash=0xc0b9648, commands=0x0,
python_script=0x0, match=0x0) at gtkgame.c:2212
#47 0x0807fd3f in main (argc=1, argv=0xbfb261d4) at gnubg.c:6445
(gdb)

At the command line I'm able to use ctrl-d for stopping,the gui has to
be killed. 


(No game) load match Dateien/Backgammon/gnubg-ace_3p_2007-07-25.sgf

   <- ctrl-d

Dateien/Backgammon/gnubg-ace_3p_2007-07-25.sgf: warning: no backgammon
games in SGF file

(No game)

Ciao

Achim



___
Bug-gnubg mailing list
Bug-gnubg@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnubg


[Bug-gnubg] Re: Rollout presets

2007-07-25 Thread bower
Don't we know that truncated rollouts for cube decisions are 
susceptible to considerable evaluation systematic uncertainty?

(I never trust a truncated rollout on a cube decision, but I'm
pretty hardcore.  :)  By making that one of the default options
does it build a false sense of security for the user who may
not know this?

   Chuck

On Wed, 25 Jul 2007, Achim Muller wrote:


Date: Tue, 24 Jul 2007 23:22:07 +0200
From: Achim Mueller <[EMAIL PROTECTED]>
Subject: Re: [Bug-gnubg] Rollout presets

* Massimiliano Maini <[EMAIL PROTECTED]> [070724 16:30]:

I saved

quick:
set rollout truncation plies 12
set rollout trials 324
set rollout jsd minimumgames 216
set rollout jsd limit 1.9600
set rollout player 0 chequerplay plies 0
set rollout player 0 cubedecision plies 0

quick-cube-2ply:
set rollout truncation plies 12
set rollout trials 648
set rollout jsd minimumgames 216
set rollout jsd limit 1.9600
set rollout player 0 chequerplay plies 0
set rollout player 1 cubedecision plies 2

quick-2ply:
set rollout truncation plies 12
set rollout trials 324
set rollout jsd minimumgames 108
set rollout jsd limit 1.9600
set rollout player 0 chequerplay plies 2
set rollout player 0 cubedecision plies 2

cube-2ply:
same as quick-cube-2ply but without jsd and truncation

full-2ply:
set rollout truncation enable off
set rollout trials 324 (or more)
set rollout jsd move off
set rollout player 0 chequerplay plies 2
set rollout player 0 cubedecision plies 2

Pruning for all 2ply (default)

Ciao

Achim



___
Bug-gnubg mailing list
Bug-gnubg@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnubg