severity 386425 important
forwarded 386425 
http://sourceforge.net/tracker/index.php?func=detail&aid=1554814&group_id=5095&atid=105095
thanks

Hi,

Thanks for reporting this.  On my system I didn't have any problem, so I'm
guessing it comes from some custom files you have installed in
/usr/share/games/pioneers/.  For that reason, I lowered the severity to
"important" (and thus not release-critical).  I do expect to have it fixed
before the release though.

On Thu, Sep 07, 2006 at 04:26:07PM +0200, Markus Kammerstetter wrote:
> pioneers-server-gtk and pioneers-server-console do not start up.
> 
> I did an strace on pioneers-server-console (same error than in
> pioneers-server-gtk, but easier to debug):
> 
> # strace pioneers-server-console
> .....
> read(4, "", 131072)                     = 0
> open("/usr/lib/charset.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
> such file or directory)
> write(2, "\n** ERROR **: file common/game.c"..., 123
> ** ERROR **: file common/game.c: line 420 (read_line_from_file):
> assertion failed: ((*line)[len - 1] == '\n')
> aborting...
> ) = 123

Looking at the code, I would expect this assertion to be triggered when a file
doesn't end on a newline.  Could you check if this is the case for any of the
files in /usr/share/games/pioneers/, which have a name ending on .game?

> I downloaded the source of the pioneers-server-console package, added
> some debugging code and tried to find the error.
> 
> Bulding and installing pioneers without debianization (thus using
> ./configure directly) worked.
> 
> When building and installing using the debian build system (debian/rules
> binary), the pioneers server containis the mentioned error.

I think you installed in /usr/local/ when not using the debian system,
correct?  In that case, my theory would indicate a custom-built .game file not
ending on a newline in /usr/share/games/pioneers, which isn't present in
/usr/local/share/games/pioneers.

I'll fix this anyway, but if you could check that it is indeed what causes
your problem, that would be helpful.

Thanks,
Bas

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://129.125.47.90/e-mail.html

Attachment: signature.asc
Description: Digital signature

Reply via email to