Bug 305447 - Playing with Artistic text after a long period of work with shapes
Summary: Playing with Artistic text after a long period of work with shapes
Status: RESOLVED UNMAINTAINED
Alias: None
Product: karbon
Classification: Applications
Component: general (show other bugs)
Version: 2.4.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Jan Hambrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-19 16:57 UTC by Bruno Friedmann
Modified: 2020-12-13 07:45 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Friedmann 2012-08-19 16:57:41 UTC
Application: karbon (2.4.1)
KDE Platform Version: 4.8.5 (4.8.5) "release 521"
Qt Version: 4.8.2
Operating System: Linux 3.1.10-1.16-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: I was adding an artistic text above a shape. Once my text was entered, I select with shift + right and down arrow the empty 3 lines buggy added. At that time karbon crash.

-- Backtrace:
Application: Karbon (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ffb87d1f760 (LWP 5899))]

Thread 2 (Thread 0x7ffb64c69700 (LWP 5900)):
#0  0x00007ffb85315ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffb81ed8ae8 in g_main_context_poll (n_fds=1, fds=0x7ffb60002420, timeout=-1, context=0x7ffb600009c0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7ffb600009c0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007ffb81ed8fa9 in g_main_context_iteration (context=0x7ffb600009c0, may_block=1) at gmain.c:3136
#4  0x00007ffb86984e36 in QEventDispatcherGlib::processEvents (this=0x7ffb600008e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007ffb86954842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ffb86954a97 in QEventLoop::exec (this=0x7ffb64c68d30, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ffb868545f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007ffb8693462f in QInotifyFileSystemWatcherEngine::run (this=0xd14570) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007ffb8685761b in QThreadPrivate::start (arg=0xd14570) at thread/qthread_unix.cpp:307
#10 0x00007ffb775edae4 in ?? () from /usr/X11R6/lib64/libGL.so.1
#11 0x00007ffb865bff05 in start_thread (arg=0x7ffb64c69700) at pthread_create.c:301
#12 0x00007ffb8531f10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7ffb87d1f760 (LWP 5899)):
[KCrash Handler]
#6  QString (other=..., this=0x7fffa25a4e10) at /usr/include/QtCore/qstring.h:725
#7  ArtisticTextRange::text (this=0x2ff68c) at /usr/src/debug/calligra-2.4.1/plugins/artistictextshape/ArtisticTextRange.cpp:41
#8  0x00007ffb67335340 in ArtisticTextToolSelection::outline (this=0x82db408) at /usr/src/debug/calligra-2.4.1/plugins/artistictextshape/ArtisticTextToolSelection.cpp:122
#9  0x00007ffb67335ab3 in repaintDecoration (this=0x82db408) at /usr/src/debug/calligra-2.4.1/plugins/artistictextshape/ArtisticTextToolSelection.cpp:179
#10 ArtisticTextToolSelection::repaintDecoration (this=0x82db408) at /usr/src/debug/calligra-2.4.1/plugins/artistictextshape/ArtisticTextToolSelection.cpp:176
#11 0x00007ffb67335bcb in ArtisticTextToolSelection::selectText (this=0x82db408, from=<optimized out>, to=<optimized out>) at /usr/src/debug/calligra-2.4.1/plugins/artistictextshape/ArtisticTextToolSelection.cpp:72
#12 0x00007ffb67333723 in keyPressEvent (event=<optimized out>, this=0x82db3f0) at /usr/src/debug/calligra-2.4.1/plugins/artistictextshape/ArtisticTextTool.cpp:386
#13 ArtisticTextTool::keyPressEvent (this=0x82db3f0, event=<optimized out>) at /usr/src/debug/calligra-2.4.1/plugins/artistictextshape/ArtisticTextTool.cpp:347
#14 0x00007ffb72ed92a1 in KarbonCanvas::keyPressEvent (this=0x7bc8fa0, e=0x7fffa25a5800) at /usr/src/debug/calligra-2.4.1/karbon/ui/widgets/KarbonCanvas.cpp:250
#15 0x00007ffb85b0c6c8 in QWidget::event (this=0x7bc8fa0, event=0x7fffa25a5800) at kernel/qwidget.cpp:8406
#16 0x00007ffb85abbfe4 in notify_helper (e=0x7fffa25a5800, receiver=0x7bc8fa0, this=0x890660) at kernel/qapplication.cpp:4551
#17 QApplicationPrivate::notify_helper (this=0x890660, receiver=0x7bc8fa0, e=0x7fffa25a5800) at kernel/qapplication.cpp:4523
#18 0x00007ffb85ac147e in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fffa25a5800) at kernel/qapplication.cpp:3992
#19 0x00007ffb8771c156 in KApplication::notify (this=0x7fffa25a66f0, receiver=0x7bc8fa0, event=0x7fffa25a5800) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#20 0x00007ffb86955d0c in QCoreApplication::notifyInternal (this=0x7fffa25a66f0, receiver=0x7bc8fa0, event=0x7fffa25a5800) at kernel/qcoreapplication.cpp:915
#21 0x00007ffb85b5b589 in QKeyMapper::sendKeyEvent (keyWidget=0x7bc8fa0, grab=<optimized out>, type=QEvent::KeyPress, code=16777236, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=114, nativeVirtualKey=65363, nativeModifiers=17) at kernel/qkeymapper_x11.cpp:1866
#22 0x00007ffb85b5b9fb in QKeyMapperPrivate::translateKeyEvent (this=0x8c8b00, keyWidget=0x7bc8fa0, event=0x7fffa25a62e0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#23 0x00007ffb85b377b4 in QApplication::x11ProcessEvent (this=0x7fffa25a66f0, event=0x7fffa25a62e0) at kernel/qapplication_x11.cpp:3529
#24 0x00007ffb85b5fa12 in x11EventSourceDispatch (s=0x894300, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007ffb81ed85dd in g_main_dispatch (context=0x8930e0) at gmain.c:2425
#26 g_main_context_dispatch (context=0x8930e0) at gmain.c:2995
#27 0x00007ffb81ed8dd8 in g_main_context_iterate (context=0x8930e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#28 0x00007ffb81ed8fa9 in g_main_context_iteration (context=0x8930e0, may_block=1) at gmain.c:3136
#29 0x00007ffb86984dcf in QEventDispatcherGlib::processEvents (this=0x616770, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007ffb85b5f69e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007ffb86954842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007ffb86954a97 in QEventLoop::exec (this=0x7fffa25a66b0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007ffb869598b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#34 0x00007ffb73139e15 in kdemain (argc=<optimized out>, argv=0x6150b0) at /usr/src/debug/calligra-2.4.1/karbon/main.cpp:50
#35 0x00000000004088e4 in launch (argc=1, _name=0x73d4c8 "/usr/bin/karbon", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x73d4f3 "c-3po;1345374987;632764;2890_TIME15018460") at /usr/src/debug/kdelibs-4.8.5/kinit/kinit.cpp:734
#36 0x00000000004099e6 in handle_launcher_request (sock=8, who=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/kinit/kinit.cpp:1226
#37 0x0000000000409f27 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.8.5/kinit/kinit.cpp:1419
#38 0x00000000004057a7 in main (argc=4, argv=0x7fff00000001, envp=0x7fffa25a79d0) at /usr/src/debug/kdelibs-4.8.5/kinit/kinit.cpp:1907

Reported using DrKonqi
Comment 1 T Zachmann 2012-09-02 04:32:49 UTC
Can confirm. The important thing is to use shift in the selection of text as that makes it crash
Comment 2 T Zachmann 2012-09-02 05:38:31 UTC
Analysis of the problem shows that empty lines are not handled as a range which is the reason for the functions to not work properly
Comment 3 Justin Zobel 2020-12-13 02:39:14 UTC
Thank you for the crash report, Bruno.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 4 Bruno Friedmann 2020-12-13 07:45:42 UTC
Due to lack of response, Karbon was drop here. So I'm not able to test it 8 years after.