#25 Segfault when selecting keybinding buttons w/ keyboard

closed-fixed
nobody
None
7
2007-08-17
2007-05-08
Bjorn Hansen
No

Pasted from debian bug #422766:

Package: balder2d
Version: 1.0~rc1-1

To reproduce this bug (use keyboard, not mouse):

1) Start balder2d.
2) Tab to and select "Options" by pressing space or enter.
3) Tab to and select "Player Setup" by pressing space or enter.
4) Tab down to the Either Rotate Right/Left, Stick/Push Off, or Fire.
Press space or enter.
5) segfault

These directions do not always result in a segfault. About half the
time they do for me.

Here is an output log of several different sessions. For clarity, I've
added a space between each session. This space does not actually show
up on the command line.

wk@ALPHA:~/package-lists$ balder2d
Loading config manager
Initializing SDL.
Audio & video initialized correctly
creating renderer
creating sound manager
creating main menu
/usr/games/balder2d: line 16: 3898 Segmentation fault ${bin_prefix}/balder2d/balder2d $CONFIG_FILE

wk@ALPHA:~/package-lists$
balder2d Loading config manager
Initializing SDL.
Audio & video initialized correctly
creating renderer
creating sound manager
creating main menu

wk@ALPHA:~/package-lists$ balder2d
Loading config manager
Initializing SDL.
Audio & video initialized correctly
creating renderer
creating sound manager
creating main menu
/usr/games/balder2d: line 16: 3904 Segmentation fault ${bin_prefix}/balder2d/balder2d $CONFIG_FILE

wk@ALPHA:~/package-lists$
balder2d Loading config manager
Initializing SDL.
Audio & video initialized correctly
creating renderer
creating sound manager
creating main menu
/usr/games/balder2d: line 16: 3907 Segmentation fault ${bin_prefix}/balder2d/balder2d $CONFIG_FILE

Discussion

  • Bjorn Hansen
    Bjorn Hansen
    2007-07-17

    Logged In: YES
    user_id=465145
    Originator: YES

    well, doesn't segfault anymore . . .but unfortunately keybinging is broken now :(

    I blame new guichan. . . time to fix.

     
  • Bjorn Hansen
    Bjorn Hansen
    2007-08-17

    Logged In: YES
    user_id=465145
    Originator: YES

    keybinding works again, segfault occurs.

     
  • Bjorn Hansen
    Bjorn Hansen
    2007-08-17

    • status: open --> open-fixed
     
  • Bjorn Hansen
    Bjorn Hansen
    2007-08-17

    Logged In: YES
    user_id=465145
    Originator: YES

    forgot to initialize bindNextKey . . . fixed

     
  • Bjorn Hansen
    Bjorn Hansen
    2007-08-17

    • status: open-fixed --> closed-fixed