Bug#471378: blobwars: Segmentation fault

2008-05-13 Thread Mark Purcell
On Tue, 1 Apr 2008, you wrote:
  Therefore I am downgrading this bug. I do hope you can
 produce a coredump and a backtrace so we can figure out what happens on
 your machine.

Guus,

Removing the config files from .parallelrealities/blobwars/ fixed the core 
fault.

I have attached the offending config files.

Mark
1.07 1
1 100 128 2 10 0 1
2 p

signature.asc
Description: This is a digitally signed message part.


Bug#471378: blobwars: Segmentation fault

2008-05-13 Thread Mark Purcell
On Tue, 18 Mar 2008, Guus Sliepen wrote:
 Did blobwars work for you before? Also, could you try building
 non-stripped binaries, and use gdb to get a backtrace of the stack from
 the core dump? If you don't know how I can show you.

gdb output:

[EMAIL PROTECTED]:~$ gdb blobwars core
GNU gdb 6.8-debian
Copyright (C) 2008 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 powerpc-linux-gnu...

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /usr/lib/libSDL_mixer-1.2.so.0...done.
[...]
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Failed to read a valid object file image from memory.
Core was generated by `blobwars'.
Program terminated with signal 11, Segmentation fault.
[New process 11869]
#0  0x10008b44 in Engine::doPause (this=0x100556a4) at src/CEngine.cpp:542
542 if (keyState[keyboard.pause])
(gdb) bt
#0  0x10008b44 in Engine::doPause (this=0x100556a4) at src/CEngine.cpp:542
#1  0x1001e5d8 in doGameStuff () at src/game.cpp:254
#2  0x1002521c in playIntro (tx=value optimized out, ty=value optimized 
out, delay=value optimized out)
at src/intro.cpp:58
#3  0x100255a4 in doIntro () at src/intro.cpp:176
#4  0x1003a020 in main (argc=value optimized out, argv=0x7fac3614) at 
src/main.cpp:125
(gdb) 

Mark


signature.asc
Description: This is a digitally signed message part.


Bug#471378: blobwars: Segmentation fault

2008-04-06 Thread Guus Sliepen
On Tue, Apr 01, 2008 at 11:06:49PM +1100, Mark Purcell wrote:

  I haven't heard a reply from you yet, and I asked Cyril Brulebois to
  reproduce the segmentation fault on PowerPC, but on his computer
  blobwars worked. Therefore I am downgrading this bug. I do hope you can
  produce a coredump and a backtrace so we can figure out what happens on
  your machine.
 
 Sorry about the delay in response.
 
 I am still having the issue with Segmentation Faults, but haven't yet been 
 able to produce a core dump.
 
 I have created my blobwars-dbg package with symbols, but when I run with gdb, 
 the startup 'loading' screen goes full screen and I can't control gdb any 
 further.  I haven't played around with it too much though ;-(
 
 I see there is a -fullscreen option, but no -nofullscreen, so it must be a 
 compile time flag, if I can get that then I should be able to make some 
 further progress.

Try to remove the config files:

rm -R ~/.parallelrealities/blobwars

By default, blobwars should start in windowed mode. But you don't need
to start blobwars from within gdb. To get a core dump from a normally
started blobwars, make sure you are in a directory that you have write
access in (your home or /tmp), and give the following command (in bash):

ulimit -c unlimited

Then try running blobwars again. Now you should have a coredump that you
can process with gdb.

-- 
Met vriendelijke groet / with kind regards,
  Guus Sliepen [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#471378: blobwars: Segmentation fault

2008-04-01 Thread Guus Sliepen
tags 471378 + unreproducible
severity 471378 serious
thanks

On Mon, Mar 17, 2008 at 09:52:36PM +1100, Mark Purcell wrote:

 $ blobwars
 Segmentation fault

I haven't heard a reply from you yet, and I asked Cyril Brulebois to
reproduce the segmentation fault on PowerPC, but on his computer
blobwars worked. Therefore I am downgrading this bug. I do hope you can
produce a coredump and a backtrace so we can figure out what happens on
your machine.

-- 
Met vriendelijke groet / with kind regards,
  Guus Sliepen [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#471378: blobwars: Segmentation fault

2008-04-01 Thread Mark Purcell
On Tue, 1 Apr 2008, Guus Sliepen wrote:
 On Mon, Mar 17, 2008 at 09:52:36PM +1100, Mark Purcell wrote:
  $ blobwars
  Segmentation fault

 I haven't heard a reply from you yet, and I asked Cyril Brulebois to
 reproduce the segmentation fault on PowerPC, but on his computer
 blobwars worked. Therefore I am downgrading this bug. I do hope you can
 produce a coredump and a backtrace so we can figure out what happens on
 your machine.

Guus,

Sorry about the delay in response.

I am still having the issue with Segmentation Faults, but haven't yet been 
able to produce a core dump.

I have created my blobwars-dbg package with symbols, but when I run with gdb, 
the startup 'loading' screen goes full screen and I can't control gdb any 
further.  I haven't played around with it too much though ;-(

I see there is a -fullscreen option, but no -nofullscreen, so it must be a 
compile time flag, if I can get that then I should be able to make some 
further progress.

Mark



signature.asc
Description: This is a digitally signed message part.


Bug#471378: blobwars: Segmentation fault

2008-03-21 Thread Guus Sliepen
Hello Cyril,

Could you verify if blobwars crashes on powerpc? Below follows the
original bugreport:

On Mon, Mar 17, 2008 at 09:52:36PM +1100, Mark Purcell wrote:

 Package: blobwars
 Version: 1.08-1
 Severity: grave
 
 When trying to start blobwars, I get the initial screen that says 
 'Loading...' then
 I get a segmentation fault:
 
 $ blobwars
 Segmentation fault
 
 Rebuilding against the current libraries in unstable doesn't help either.
 
 -- System Information:
 Debian Release: lenny/sid
   APT prefers unstable
   APT policy: (500, 'unstable')
 Architecture: powerpc (ppc)
 
 Kernel: Linux 2.6.24-1-powerpc
 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/bash
 
 Versions of packages blobwars depends on:
 ii  libc6  2.7-9 GNU C Library: Shared libraries
 ii  libgcc11:4.3.0-1 GCC support library
 ii  libmikmod2 3.1.11-a-6A portable sound library
 ii  libsdl-image1.21.2.6-3   image loading library for Simple 
 D
 ii  libsdl-mixer1.21.2.8-3   mixer library for Simple 
 DirectMed
 ii  libsdl-ttf2.0-02.0.9-1   ttf library for Simple 
 DirectMedia
 ii  libsdl1.2debian1.2.13-2  Simple DirectMedia Layer
 ii  libstdc++6 4.3.0-1   The GNU Standard C++ Library v3
 ii  zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime
 
 blobwars recommends no packages.
 
 -- no debconf information

-- 
Met vriendelijke groet / with kind regards,
  Guus Sliepen [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#471378: blobwars: Segmentation fault

2008-03-21 Thread Cyril Brulebois
On 21/03/2008, Guus Sliepen wrote:
 Hello Cyril,

Hi Guus,

 Could you verify if blobwars crashes on powerpc?

I can't reproduce it, it works quite perfectly, and I've spent almost an
hour discovering it. ;-)

Let me know if you want specific tests.

Cheers,

-- 
Cyril Brulebois


pgptY6EUTLCJp.pgp
Description: PGP signature


Bug#471378: blobwars: Segmentation fault

2008-03-18 Thread David Roguin
I just download the debian source and compiled it.
And I can't reproduce the bug.


Package: blobwars
Version: 1.08-1

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/1 CPU core)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages blobwars depends on:
ii  libc6  2.7-6 GNU C Library: Shared libraries
ii  libgcc11:4.3.0~rc2-1 GCC support library
ii  libsdl-image1.21.2.6-3   image loading library for Simple D
ii  libsdl-mixer1.21.2.8-3   mixer library for Simple DirectMed
ii  libsdl-ttf2.0-02.0.9-1   ttf library for Simple DirectMedia
ii  libsdl1.2debian1.2.13-2  Simple DirectMedia Layer
ii  libstdc++6 4.3.0~rc2-1   The GNU Standard C++ Library v3
ii  zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime


-- 
David


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#471378: blobwars: Segmentation fault

2008-03-18 Thread Guus Sliepen
On Mon, Mar 17, 2008 at 09:52:36PM +1100, Mark Purcell wrote:

 When trying to start blobwars, I get the initial screen that says 
 'Loading...' then
 I get a segmentation fault:
 
 $ blobwars
 Segmentation fault
 
 Rebuilding against the current libraries in unstable doesn't help either.

Did blobwars work for you before? Also, could you try building
non-stripped binaries, and use gdb to get a backtrace of the stack from
the core dump? If you don't know how I can show you.

-- 
Met vriendelijke groet / with kind regards,
  Guus Sliepen [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#471378: blobwars: Segmentation fault

2008-03-18 Thread Guus Sliepen
On Tue, Mar 18, 2008 at 10:50:36AM -0300, David Roguin wrote:

 I just download the debian source and compiled it.
 And I can't reproduce the bug.

Mark runs it on powerpc, it could be an endianness bug.

-- 
Met vriendelijke groet / with kind regards,
  Guus Sliepen [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#471378: blobwars: Segmentation fault

2008-03-18 Thread Mark Purcell
Package: blobwars
Version: 1.08-1
Severity: grave

Guus,

When trying to start blobwars, I get the initial screen that says 'Loading...' 
then
I get a segmentation fault:

$ blobwars
Segmentation fault

Rebuilding against the current libraries in unstable doesn't help either.

Mark

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.24-1-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages blobwars depends on:
ii  libc6  2.7-9 GNU C Library: Shared libraries
ii  libgcc11:4.3.0-1 GCC support library
ii  libmikmod2 3.1.11-a-6A portable sound library
ii  libsdl-image1.21.2.6-3   image loading library for Simple D
ii  libsdl-mixer1.21.2.8-3   mixer library for Simple DirectMed
ii  libsdl-ttf2.0-02.0.9-1   ttf library for Simple DirectMedia
ii  libsdl1.2debian1.2.13-2  Simple DirectMedia Layer
ii  libstdc++6 4.3.0-1   The GNU Standard C++ Library v3
ii  zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime

blobwars recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]