Chris,

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.

thanks,
Jeremy


On Wed, Jul 24, 2013 at 12:54 PM, Chris Chaffey <chaffey_854@hotmail.com> wrote:
Hi,

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/libQtCore.so.4
(gdb) bt
#0  0x00007ffff5596552 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#1  0x00007ffff55968fd in QString::arg(QString const&, int, QChar const&) const () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#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/libQtGui.so.4
#4  0x00007ffff60364ff in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#5  0x00007ffff79c01a6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#6  0x00007ffff564963e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007ffff603b64f in QApplication::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8  0x00007ffff60338ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9  0x00007ffff603625b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007ffff79c01a6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#11 0x00007ffff564963e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007ffff567ab72 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007ffff56779a4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007ffff127cf05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff127d248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007ffff127d304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ffff5678016 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffff60d91ae in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007ffff564838f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007ffff5648618 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007ffff564dcf6 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#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.

Chris

------------------------------------------------------------------------------
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!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Kxstitch-devel mailing list
Kxstitch-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kxstitch-devel