[Kde-games-devel] Testing Klickety Frameworks Branch

Frederik Schwarzer schwarzer at kde.org
Tue Oct 27 02:18:49 UTC 2015


Am Montag, 26. Oktober 2015, 23:25:08 schrieb Albert Astals Cid:
> El Sunday 25 October 2015, a les 02:44:24, Frederik Schwarzer va 
escriure:
> > Am Samstag, 17. Oktober 2015, 14:29:45 schrieb Alexander Semke:
> > > > KgDifficultyLevel::key (this=0x0) at
> > > > /home/fs/git/libkdegames/kgdifficulty.cpp:132
> > > > 132             return d->m_key;
> > > > (gdb) bt
> > > > #0  KgDifficultyLevel::key (this=0x0) at
> > > > /home/fs/git/libkdegames/kgdifficulty.cpp:132
> > > > #1  0x00007ffff7760ddd in saveLevel () at
> > > > /home/fs/git/libkdegames/kgdifficulty.cpp:164
> > > > [...]
> > > > Are there ways to get more info about what is happening? At
> > > > least
> > > > today I could not find the cause for this.
> > > 
> > > This looks like a null-pointer access in kgdifficulty.cpp:164.
> > > currentLevel() returns a null pointer.
> > 
> > Yep. In KSameMode no level was created and thus the
> > currentLevel->key() had to crash. It should be fixed now.
> > Please check the frameworks branch again (also look at the last
> > commit in case I got all confused reading code during the
> > daylight saving time transition ;)) ... no seriously. I get
> > confused reading libkdegames code. Too complex for a few short
> > evenings of trying here and there.
> > 
> > Thanks for the hints.
> 
> The crash seems gone here.

May I merge this to master then? Functionally it seems fine to me. I 
played both game types quite a few times, changed options and such.

Also I would like to see what EBN thinks of my attempts to get rid of 
its warnings. :)

Regards
Frederik


More information about the kde-games-devel mailing list