Bug#700328: bsdgames: unable to load saved monop game

treaki treaki at gmail.com
Mon Feb 11 16:12:53 UTC 2013


Package: bsdgames
Version: 2.17-19
Severity: normal

hi,

i am unable to load a savegame with monop. i get this error:

"filename" [Mon Feb 11 16:54:12 2013]
Segmentation fault

as attachment i am trying it to do within gdb (but im dont understanding gdb)

i think i dont am able to help you out with any more informaions.

greetings treaki
contact me:

email:
treaki at treaki.tk
treaki at gmail.com



-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-0.bpo.3-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bsdgames depends on:
ii  libc6                     2.11.3-4       Embedded GNU C Library: Shared lib
ii  libgcc1                   1:4.4.5-8      GCC support library
ii  libncurses5               5.7+20100313-5 shared libraries for terminal hand
ii  libstdc++6                4.4.5-8        The GNU Standard C++ Library v3
ii  wamerican [wordlist]      6-3            American English dictionary words 
ii  wbritish-large [wordlist] 6-3            British English dictionary words f
ii  wngerman [wordlist]       20091006-4.2   New German orthography wordlist

bsdgames recommends no packages.

bsdgames suggests no packages.

-- no debconf information
-------------- next part --------------
treaki at treakis-thinkpad:~$ /usr/games/monop filename
"filename" [Mon Feb 11 16:54:12 2013]
Segmentation fault
treaki at treakis-thinkpad:~$ gdb /usr/games/monop
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/games/monop...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/games/monop 
How many players? 2
Player 1's name: p1
Player 2's name: p2

p1 (1) rolls 10
p2 (2) rolls 5
p1 (1) goes first

p1 (1) (cash $1500) on === GO ===
-- Command: restore
Which file do you wish to restore from? filename
monop: malloc.c:3097: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.

Program received signal SIGSEGV, Segmentation fault.
_IO_flush_all_lockp (do_lock=0) at genops.c:842
842	genops.c: No such file or directory.
	in genops.c
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/games/monop 
How many players? 
How many players? 
How many players? 0
Sorry. Number must range from 1 to 9
How many players? 1
Player 1's name: 
Player 1's name: a

a (1) rolls 7
a (1) goes first

a (1) (cash $1500) on === GO ===
-- Command: quit

Do you all really want to quit? y

Program exited normally.
(gdb) quit
treaki at treakis-thinkpad:~$ gdb --args /usr/games/monop filename
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/games/monop...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/games/monop filename
"filename" [Mon Feb 11 16:54:12 2013]

Program received signal SIGSEGV, Segmentation fault.
0x0804abdd in ?? ()
(gdb) q
A debugging session is active.

	Inferior 1 [process 26523] will be killed.

Quit anyway? (y or n) y
treaki at treakis-thinkpad:~$ 



More information about the Pkg-games-devel mailing list