#55 Crash on startup with old .gnomesword-1.0

2.0-dev-series
closed
nobody
misc (40)
5
2012-09-15
2003-11-20
Andy Piper
No

Starting gnomesword2 (0.9-dev13) as my normal user
(andyp) everything is fine.

Starting it as root causes a segfault at initialisation:
gnomesword-0.9.dev13
Initiating Sword

Sword locale is en_GB.UTF-8
Checking for SWORD Modules

Number of Text modules = 9
Number of Commentary modules = 3
Number of Dict/lex modules = 11
Number of Book modules = 0
Number of Percomm modules = 1
Number of Devotion modules = 5

Building GnomeSword interface
Initiating GnomeSword

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1084745728 (LWP 11286)]
0x080747d1 in gui_check_parallel_modules () at
parallel_view.c:79
79 if (strlen(settings.parallel1Module) > 1)
(gdb) bt

0 0x080747d1 in gui_check_parallel_modules () at

parallel_view.c:79

1 0x0807017b in frontend_init () at gnomesword.c:95

2 0x0808db99 in main (argc=0, argv=0xbffce164) at

main.c:92
(gdb)

I'm guessing that this has something to do with dodgy
settings - when I deleted ~/.gnomesword-1.0 it
reinitialised my settings and all was OK.

Perhaps if a settings file is not of a new enough
version we should fix it instead of crashing.

Discussion

  • Andy Piper
    Andy Piper
    2003-12-01

    Logged In: YES
    user_id=3132

    Seems OK now.