Bug 211076 - Crash when placing a spiral shape on a shape layer
Summary: Crash when placing a spiral shape on a shape layer
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 13:56 UTC by sinozzuke
Modified: 2010-03-04 11:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sinozzuke 2009-10-19 13:56:12 UTC
Application that crashed: krita
Version of the application: 2.1 Beta 2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
This time no compiz active neither OpenGL in Krita preferences
1.- Select Shape Carcoal
2.- Draw it
3.- Get the crash!

 -- Backtrace:
Application: Krita (krita), signal: Segmentation fault
[Current thread is 0 (LWP 10974)]

Thread 2 (Thread 0x7ff70fa32950 (LWP 10991)):
#0  0x00007fff37bff6dc in clock_gettime ()
#1  0x00007ff726f7d0ef in *__GI_clock_gettime (clock_id=1, tp=0x7ff70fa31da0) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007ff72f35469d in QTimerInfoList::getTime (this=<value optimized out>, t=@0x345fc00) at kernel/qeventdispatcher_unix.cpp:339
#3  0x00007ff72f354891 in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:297
#4  0x00007ff72f3565b3 in QTimerInfoList::timerWait (this=0x1, tm=@0x7ff70fa31da0) at kernel/qeventdispatcher_unix.cpp:420
#5  0x00007ff72f352c5d in timerSourcePrepare (source=<value optimized out>, timeout=0x7ff70fa31e94) at kernel/qeventdispatcher_glib.cpp:141
#6  0x00007ff726cf11e2 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0x00007ff726cf15ff in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x00007ff726cf1a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0x00007ff72f352aae in QEventDispatcherGlib::processEvents (this=0x28c7720, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#10 0x00007ff72f327f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 262348768}) at kernel/qeventloop.cpp:149
#11 0x00007ff72f328314 in QEventLoop::exec (this=0x7ff70fa32020, flags={i = 262348848}) at kernel/qeventloop.cpp:201
#12 0x00007ff72f23cdc8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#13 0x00007ff72f23fd35 in QThreadPrivate::start (arg=0x1327ce0) at thread/qthread_unix.cpp:188
#14 0x00007ff726a9e3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#15 0x00007ff727684fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff71eb0b790 (LWP 10974)):
[KCrash Handler]
#5  0x00007ff72c12d004 in KoShape::parent (this=0x28d5a60) at /build/buildd/koffice2-2.0.82/libs/flake/KoShape.cpp:732
#6  0x00007ff72c12c227 in KoSelection::selectedShapes (this=0x35d4320, strip=KoFlake::TopLevelSelection) at /build/buildd/koffice2-2.0.82/libs/flake/KoSelection.cpp:273
#7  0x00007ff71622a4dd in DefaultTool::updateActions (this=0x4ba5b90) at /build/buildd/koffice2-2.0.82/plugins/defaultTools/defaulttool/DefaultTool.cpp:1218
#8  0x00007ff71622e2c0 in DefaultTool::qt_metacall (this=0x4ba5b90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff37a40050)
    at /build/buildd/koffice2-2.0.82/obj-x86_64-linux-gnu/plugins/defaultTools/DefaultTool.moc:104
#9  0x00007ff72f33eea2 in QMetaObject::activate (sender=0x35d4200, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#10 0x00007ff72c13a918 in KoShapeManager::qt_metacall (this=0x35d4200, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=<value optimized out>)
    at /build/buildd/koffice2-2.0.82/obj-x86_64-linux-gnu/libs/flake/KoShapeManager.moc:68
#11 0x00007ff72f33eea2 in QMetaObject::activate (sender=0x35d4320, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#12 0x00007ff72c12bb12 in KoSelection::qt_metacall (this=0x35d4320, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff37a40240)
    at /build/buildd/koffice2-2.0.82/obj-x86_64-linux-gnu/libs/flake/KoSelection.moc:76
#13 0x00007ff72f33eea2 in QMetaObject::activate (sender=0x5479150, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#14 0x00007ff72f34414f in QSingleShotTimer::timerEvent (this=0x5479150) at kernel/qtimer.cpp:298
#15 0x00007ff72f339263 in QObject::event (this=0x5479150, e=0x35d4320) at kernel/qobject.cpp:1075
#16 0x00007ff728949f4d in QApplicationPrivate::notify_helper (this=0xf2c1a0, receiver=0x5479150, e=0x7fff37a40900) at kernel/qapplication.cpp:4056
#17 0x00007ff72895218a in QApplication::notify (this=0x7fff37a43200, receiver=0x5479150, e=0x7fff37a40900) at kernel/qapplication.cpp:4021
#18 0x00007ff729d50abb in KApplication::notify (this=0x7fff37a43200, receiver=0x5479150, event=0x7fff37a40900) at /build/buildd/kde4libs-4.3.2/kdeui/kernel/kapplication.cpp:302
#19 0x00007ff72f3296ac in QCoreApplication::notifyInternal (this=0x7fff37a43200, receiver=0x5479150, event=0x7fff37a40900) at kernel/qcoreapplication.cpp:610
#20 0x00007ff72f356516 in QTimerInfoList::activateTimers (this=0xf2fe60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 0x00007ff72f352b2d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#22 0x00007ff726cee20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x00007ff726cf18e0 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x00007ff726cf1a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0x00007ff72f352a8f in QEventDispatcherGlib::processEvents (this=0xed8430, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#26 0x00007ff7289e2bdf in QGuiEventDispatcherGlib::processEvents (this=0x28d5a60, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00007ff72f327f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 933497712}) at kernel/qeventloop.cpp:149
#28 0x00007ff72f328314 in QEventLoop::exec (this=0x7fff37a40bb0, flags={i = 933497808}) at kernel/qeventloop.cpp:201
#29 0x00007ff728d54be5 in QMenu::exec (this=<value optimized out>, p=@0x7fff37a412f0, action=0x0) at widgets/qmenu.cpp:1993
#30 0x00007ff72edfd3b9 in KisQPainterCanvas::contextMenuEvent (this=0x52b65e0, e=0x7fff37a412d0) at /build/buildd/koffice2-2.0.82/krita/ui/canvas/kis_qpainter_canvas.cpp:209
#31 0x00007ff72899b594 in QWidget::event (this=0x52b65e0, event=0x7fff37a412d0) at kernel/qwidget.cpp:7708
#32 0x00007ff728949f4d in QApplicationPrivate::notify_helper (this=0xf2c1a0, receiver=0x52b65e0, e=0x7fff37a412d0) at kernel/qapplication.cpp:4056
#33 0x00007ff72895262a in QApplication::notify (this=<value optimized out>, receiver=0x52b65e0, e=0x7fff37a412d0) at kernel/qapplication.cpp:3845
#34 0x00007ff729d50abb in KApplication::notify (this=0x7fff37a43200, receiver=0x52b65e0, event=0x7fff37a412d0) at /build/buildd/kde4libs-4.3.2/kdeui/kernel/kapplication.cpp:302
#35 0x00007ff72f3296ac in QCoreApplication::notifyInternal (this=0x7fff37a43200, receiver=0x52b65e0, event=0x7fff37a412d0) at kernel/qcoreapplication.cpp:610
#36 0x00007ff7289bc15a in QETWidget::translateMouseEvent (this=0x52b65e0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4415
#37 0x00007ff7289bab53 in QApplication::x11ProcessEvent (this=0x7fff37a43200, event=0x7fff37a42e80) at kernel/qapplication_x11.cpp:3550
#38 0x00007ff7289e3454 in x11EventSourceDispatch (s=0xf2fec0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007ff726cee20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x00007ff726cf18e0 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x00007ff726cf1a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0x00007ff72f352a8f in QEventDispatcherGlib::processEvents (this=0xed8430, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#43 0x00007ff7289e2bdf in QGuiEventDispatcherGlib::processEvents (this=0x28d5a60, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#44 0x00007ff72f327f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 933507440}) at kernel/qeventloop.cpp:149
#45 0x00007ff72f328314 in QEventLoop::exec (this=0x7fff37a431b0, flags={i = 933507520}) at kernel/qeventloop.cpp:201
#46 0x00007ff72f32a5e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#47 0x00007ff72f6209d5 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/koffice2-2.0.82/krita/main.cc:44
#48 0x00007ff7275bd5a6 in __libc_start_main (main=0x4009a0 <main>, argc=1, ubp_av=0x7fff37a43398, init=0x4009d0 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff37a43388) at libc-start.c:220
#49 0x00000000004008d9 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Halla Rempt 2009-10-20 09:45:52 UTC
Could you try this again with your trunk checkout? I see that the KoShape code has changed since beta2, so maybe it's fixed... I cannot reproduce it, I'm afraid.
Comment 2 sinozzuke 2009-10-20 09:48:56 UTC
ok, when I arrived home I'll try

On Tue, Oct 20, 2009 at 9:45 AM, <boud@valdyas.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=211076
>
>
> boud@valdyas.org changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                 CC|                            |boud@valdyas.org
>
>
>
>
> --- Comment #1 from  <boud valdyas org>  2009-10-20 09:45:52 ---
> Could you try this again with your trunk checkout? I see that the KoShape
> code
> has changed since beta2, so maybe it's fixed... I cannot reproduce it, I'm
> afraid.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Elián Hanisch 2009-10-20 23:13:22 UTC
can't reproduce here
Comment 4 Halla Rempt 2009-10-22 09:26:51 UTC
me neither, Gaizka -- can you try again? If you manage to reproduce, please be really specific about what you did.
Comment 5 sinozzuke 2009-10-22 09:56:31 UTC
all right boud, this days I'm too busy at work making extra hours and can't.
I'll try as soon as possible :)

On Thu, Oct 22, 2009 at 9:26 AM, <boud@valdyas.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=211076
>
>
> boud@valdyas.org changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEEDSINFO
>         Resolution|                            |WAITINGFORINFO
>
>
>
>
> --- Comment #4 from  <boud valdyas org>  2009-10-22 09:26:51 ---
> me neither, Gaizka -- can you try again? If you manage to reproduce, please
> be
> really specific about what you did.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 6 sinozzuke 2009-10-22 23:33:34 UTC
Can't reproduce it again!! :)

On Tue, Oct 20, 2009 at 3:33 PM, <boud@valdyas.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=211076
>
>
> boud@valdyas.org changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>            Summary|Drawing a carcoal makes     |Crash when placing a spiral
>                   |CRASH                       |shape on a shape layer
>
>
>
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 7 Kubuntiac 2009-12-04 06:48:12 UTC
Hi Gaizka,

Sounds like your problem is probably solved, but I'd like to try and reproduce it to see. The only problem is that I'm not sure what you mean by "Select shape charcoal". Do you mean the chalk painttop (that is the dropdown at the top of the screen and then "chalk") or are you adding a shape? I couldn't see any shape called "charcoal".

Thanks again for helping Lrita improve!
Comment 8 sinozzuke 2009-12-04 14:27:37 UTC
Well, Think it was solved, in the irc channel we discuss that thing ;) It's
not charcoal it's conch, snail, winkle, it's a problem with spanish-english
false friends, sorry I mean to say SNAIL shape. :)

On Fri, Dec 4, 2009 at 6:48 AM, bugsbane <bugsbane@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=211076
>
>
> bugsbane <bugsbane@gmail.com> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                 CC|                            |bugsbane@gmail.com
>
>
>
>
> --- Comment #7 from bugsbane <bugsbane gmail com>  2009-12-04 06:48:12 ---
> Hi Gaizka,
>
> Sounds like your problem is probably solved, but I'd like to try and
> reproduce
> it to see. The only problem is that I'm not sure what you mean by "Select
> shape
> charcoal". Do you mean the chalk painttop (that is the dropdown at the top
> of
> the screen and then "chalk") or are you adding a shape? I couldn't see any
> shape called "charcoal".
>
> Thanks again for helping Lrita improve!
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 9 Kubuntiac 2009-12-04 21:07:32 UTC
Gracias! Que es útil. Su Inglés es mucho mejor que mi español, jajaja!
Comment 10 sinozzuke 2009-12-05 03:13:01 UTC
Pero tu español es bueno :) por lo menos puedes decir algo.

And my english is very bad, really!! :P I tried today with the opensuse
krita, and still can't work. Load a photo of at least 2000px and making some
edit, curves or something. Try some path editing, for selecting and deleting
background, is a pain for my patience! ;( but I really love krita, the
interface is so great.

2009/12/4 bugsbane <bugsbane@gmail.com>

> https://bugs.kde.org/show_bug.cgi?id=211076
>
>
>
>
>
> --- Comment #9 from bugsbane <bugsbane gmail com>  2009-12-04 21:07:32 ---
> Gracias! Que es útil. Su Inglés es mucho mejor que mi español, jajaja!
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 11 Kubuntiac 2009-12-05 07:27:14 UTC
Well, if speed is your problem, then you're about to be very happy. Take a look at this:
http://krita.org/index.php&option=com_content&id=20

We just raised the minimum amount of money we needed for this and we're still going! Lukas is going to be working *full time* to speed up Krita to the point where it can be used for professional high resolution work.

Exciting times are coming! :)
Comment 13 Elián Hanisch 2010-03-04 11:46:09 UTC
looks like it can be closed then :)