Duke4.net Forums: DarkMagus - Viewing Profile - Duke4.net Forums

Jump to content

Hide message Show message
Welcome to the Duke4.net Forums!

Register an account now to get access to all board features. After you've registered and logged in, you'll be able to create topics, post replies, send and receive private messages, disable the viewing of ads and more!

Reputation: 2 Neutral
Group:
Junior Members
Active Posts:
1 (0 per day)
Most Active In:
Bug reports & "help me" threads (1 posts)
Joined:
29-August 17
Profile Views:
1,097
Last Active:
User is offline Sep 01 2017 12:10 AM
Currently:
Offline

My Information

Age:
34 years old
Birthday:
September 5, 1984
Gender:
Male Male
Location:
Paris, France

Contact Information

E-mail:
Private

Topics I've Started

  1. Minor bug in OSX version of EDuke32 (with fix)

    30 August 2017 - 11:44 PM

    Hi,

    I had to deal with a minor bug in the OSX version of EDuke32 (svn revision 6437).
    When no valid GRP are found, the application (when ran from the GUI) closes immediately without any error message (while other versions simply display the setup screen with an empty game list).

    Using gdb, I tracked down the issue to line 530 of the file startosx.game.mm :
        int row = [gamelistsrc findIndexForGrpname:[NSString stringWithUTF8String:settings.grp->filename]];


    When no valid GRP files are found, settings.grp is NULL, and this line causes a segfault.

    Fixing the code this way solves the issue :
        int row = -1;
        if (settings.grp != NULL) row = [gamelistsrc findIndexForGrpname:[NSString stringWithUTF8String:settings.grp->filename]];
    


    - David

Friends

DarkMagus hasn't added any friends yet.

Comments

DarkMagus has no profile comments yet. Why not say hello?


All copyrights and trademarks are property of their respective owners. Instead of reading this text, you could be playing Ion Maiden! ;) © 2018 Voidpoint, LLC

Enter your sign in name and password


Sign in options