[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tower of Brahma



Hi,

On Sun, 12 Nov 2017 19:15:33 +0530
Nandakumar Edamana <nandakumar@nandakumar.co.in> wrote:

> Hi,
> 
> 
> On Sunday 12 November 2017 07:09 PM, Shlomi Fish wrote:
> >> I just downloaded your tarball, compiled it and tried to run
> >> "./black-hole-solve --game black_hole 2.bh.board", but I just got
> >> "Segmentation fault (core dumped)". However, I understand that you've
> >> spent so much time in that. Really appreciate the work.
> >>  
> > The segfault is not supposed to happen. Some questions:
> >
> > 1. Which commands did you use to build it?
> >
> > 2. What are the contents of 2.bh.board?  
> Seems I gave it a non-existing file. Sorry for blindly following the 
> README file. 

That is ok - https://en.wikipedia.org/wiki/Serendipity .

> I had assumed 2.bh.board is there, but it is not. However, 
> it means we have to handle an exception here. This is the gdb output:
> (gdb) run --game black_hole 2.bh.board
> Starting program: 
> /home/nandakumar/Downloads/software/black-hole-solver-0.14.0/black-hole-solve 
> --game black_hole 2.bh.board
> 
> Program received signal SIGSEGV, Segmentation fault.
> __GI__IO_fread (buf=0x7fffffffd010, size=1, count=4092, fp=0x0) at 
> iofread.c:37
> 37    iofread.c: No such file or directory.

It should be fixed in version 0.16.0 released today while crediting you in the
NEWS. Thanks!

> > Thanks for testing!
> >  
> >> Since I've failed to compile it, I would ask this directly rather than
> >> testing it myself: is it a play-able game?
> >>  
> > It is an automated solver for a game, and it should be usable.
> >     
> >> And about Tower of Hanoi. Yes, I first thought it is really silly to put
> >> it into Debian repo. But since there is a games-console package, and I
> >> couldn't find a Tower of Hanoi piece there, I just thought it is
> >> reasonable to include it. I still have no idea whether I am being silly.
> >>
> >> Of course I have serious packages which I'd like to put into the Debian
> >> repo. But I have zero experience with the official process, and I just
> >> thought this simple one would be a better choice as my first experimet.
> >>  
> > Nice! Good luck.
> >  
> >> Nandakumar
> >>  
> >
> >  
> 



-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
My Aphorisms - http://www.shlomifish.org/humour.html

A horse! A horse! My kingdom for a horse!
    — https://en.wikiquote.org/wiki/Richard_III_%28play%29

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Reply to: