Daimonin MMORPG Logo

Daimonin Bugtracker

 
Note: You have to join a dev group before you can post to the bugtracker.

Code

Report here bugs and requests related to code development (Server, Client2D, or Client3D)
Tasklist

FS#55 - sigsegv in menu.c while login in...

Attached to Project: Code
Opened by sur3 (sur3) - Thursday, 07 October 2010, 01:19 GMT+1
Task Type Bug Report
Category Client2D
Status Unconfirmed
Assigned To No-one
Operating System Linux
Severity High
Priority Normal
Reported Version Main/Test (server)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Works fine in 0.10.3, but 0.10.5 crashes when loging in.
It just draws the map and then crashes immediatly:

PlayerCmd: lengths do not match (20!=19)
Loading quickslot settings for server
Trying to save options... OK!

Program received signal SIGSEGV, Segmentation fault.
0x00000000004329e5 in widget_quickslots (x=<value optimized out>, y=<value optimized out>) at ../../src/menu.c:1605
1605 sprite_blt(spell_list[quick_slots[i].spell.groupNr].entry[quick_slots[i].spell.classNr][quick_slots[i].shared.tag].icon,
(gdb) bt
#0 0x00000000004329e5 in widget_quickslots (x=<value optimized out>, y=<value optimized out>) at ../../src/menu.c:1605
#1 0x000000000044570d in process_widget () at ../../src/widget.c:903
#2 process_widgets () at ../../src/widget.c:973
#3 0x000000000042d61f in DisplayLayer3 (argc=<value optimized out>, argv=<value optimized out>) at ../../src/main.c:2733
#4 main (argc=<value optimized out>, argv=<value optimized out>) at ../../src/main.c:1863
This task depends upon

Comment by sur3 (sur3) - Tuesday, 12 October 2010, 09:32 GMT+1
well connecting with a new char works fine, but with my main char "kurktu" from 0.10.3 it crashes :/
Can someone probably repair my main char to work again, please?
...anyway a segfault shouldnt happen.
Comment by sur3 (sur3) - Tuesday, 12 October 2010, 09:39 GMT+1
with 0.10.4dev it also crashes, just the 0.10.3 client seemes to work for "kurktu" :/
Comment by smacky (smacky) - Saturday, 16 October 2010, 15:47 GMT+1
Thanks. Useful info. The 'fix' (workaround) for you is to delete your ~/.daimonin/0.10/settings/quick.dat file. But please don't just do this! First zip up (or tar.gz or whatever) your entire ~/.daimonin directory and email it to smacky@daimonin.org. Then delete that file (if that does not fix it, delete the whole settings dir).
Comment by smacky (smacky) - Sunday, 16 January 2011, 17:18 GMT+1
quick.zip contains three examples of quick.dat files which kill the client (I assume as a result of this bug). AFAICR no changes were made to the quickslot code in B5 yet so this bug is from B4. But whatever, it should quite fixable with this bug report and three example files.

Loading...