Version: (using Devel) Compiler: gcc-4.2.4 OS: Linux Installed from: Compiled sources I checked out revision 1050528 and compiled it. Ksudoku always crashes at startup. It happens at ksudoku/src/gui/views/valuelistwidget.cpp:165 because m_maxValue is 1, but m_symbols is an empty list. I was able to fix this with the following patch. This may not be the correct fix, but it works for me: --- ksudoku/src/gui/views/valuelistwidget.cpp (revision 1050705) +++ ksudoku/src/gui/views/valuelistwidget.cpp (working copy) @@ -126,7 +126,7 @@ m_selectionItem = new SelectionItem(); m_scene->addItem(m_selectionItem); - m_maxValue = 1; + setMaxValue(1); m_selectedValue = 1; }
Johannes can you have a look?
I'm not able to reproduce this bug. Can you give infos about your system configuration and a backtrace? Are you using Qt 4.6?
I just rebuilt from revision 1079103, with and without my patch. It no longer crashes. Before closing the bug, can you comment on the validity of the patch? The manipulator function setMaxValue() appears to be intended to set m_maxValue, and also do further things to keep the system consistent. Even if it does not generate a reproducible crash anymore, might the patched version be safer?
Johannes? Comments?
Fixed in the KDE 4.8.1 release. The above patch does the trick. *** This bug has been marked as a duplicate of bug 294420 ***