Could you send the image you are trying to open?  I'll take a look this weekend and see if I can see what's causing the crash.


On Wed, Jul 24, 2013 at 12:54 PM, Chris Chaffey <> wrote:

I think I have characterized a bug but since I am not familiar with the source I can't say exactly where the problem is happening.  When I import an image and select DMC floss, max 30 colors, 18 count, 17 scale, it loads my image, but the top 10 or so colors in the palette causes the application to crash when I hover over them.

The   stack dump is:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5596552 in ?? () from /usr/lib/x86_64-linux-gnu/
(gdb) bt
#0  0x00007ffff5596552 in ?? () from /usr/lib/x86_64-linux-gnu/
#1  0x00007ffff55968fd in QString::arg(QString const&, int, QChar const&) const () from /usr/lib/x86_64-linux-gnu/
#2  0x0000000000489ca1 in Palette::event (this=0x95db00, event=0x7fffffffd4a0) at /home/chris/dev/kxstitch/kxstitch/src/Palette.cpp:264
#3  0x00007ffff60338ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/
#4  0x00007ffff60364ff in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/
#5  0x00007ffff79c01a6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/
#6  0x00007ffff564963e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/
#7  0x00007ffff603b64f in QApplication::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/
#8  0x00007ffff60338ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/
#9  0x00007ffff603625b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/
#10 0x00007ffff79c01a6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/
#11 0x00007ffff564963e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/
#12 0x00007ffff567ab72 in ?? () from /usr/lib/x86_64-linux-gnu/
#13 0x00007ffff56779a4 in ?? () from /usr/lib/x86_64-linux-gnu/
#14 0x00007ffff127cf05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/
#15 0x00007ffff127d248 in ?? () from /lib/x86_64-linux-gnu/
#16 0x00007ffff127d304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/
#17 0x00007ffff5678016 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/
#18 0x00007ffff60d91ae in ?? () from /usr/lib/x86_64-linux-gnu/
#19 0x00007ffff564838f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/
#20 0x00007ffff5648618 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/
#21 0x00007ffff564dcf6 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/
#22 0x00000000004746f3 in main (argc=1, argv=0x7fffffffe008) at /home/chris/dev/kxstitch/kxstitch/src/Main.cpp:129

I looks like the floss scheme doesn't have all of the colors properly allocated in the palette.

I'm digging into it myself, but GDB isn't my forte.


See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
Kxstitch-devel mailing list