Bug 299046 - Karbon crashed when moving a layer.
Summary: Karbon crashed when moving a layer.
Status: RESOLVED WORKSFORME
Alias: None
Product: karbon
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jan Hambrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-29 17:06 UTC by jj-games
Modified: 2021-01-16 04:34 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (9.12 KB, text/plain)
2012-04-29 17:13 UTC, jj-games
Details
New crash information added by DrKonqi (7.09 KB, text/plain)
2012-09-07 06:09 UTC, Marcus Harrison
Details
New crash information added by DrKonqi (7.66 KB, text/plain)
2012-10-10 19:19 UTC, jj-games
Details
New crash information added by DrKonqi (7.24 KB, text/plain)
2015-09-12 12:35 UTC, Ovidiu-Florin BOGDAN
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jj-games 2012-04-29 17:06:09 UTC
Application: karbon (2.4.0)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was moving Layers in the sidebar. By droping an entry into it's new position the application crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Karbon (karbon), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f129e459780 (LWP 2173))]

Thread 4 (Thread 0x7f1288e25700 (LWP 2176)):
#0  __GI___poll (fds=0x7f12840010e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:69
#1  0x00007f129709dff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f129709e45a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f128905398b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f12970bf9a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1297962e9a in start_thread (arg=0x7f1288e25700) at pthread_create.c:308
#6  0x00007f129dda74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1283fff700 (LWP 2177)):
#0  0x00007f129dd9bb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f129709dff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f129709e45a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f128c4d22c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f12970bf9a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1297962e9a in start_thread (arg=0x7f1283fff700) at pthread_create.c:308
#6  0x00007f129dda74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f128235f700 (LWP 2199)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:72
#1  0x00007f129dd9a0b2 in read () at ../sysdeps/unix/syscall-template.S:82
#2  0x00007f12970d888f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f129709dabd in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f129709df96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f129709e124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f129cedd426 in QEventDispatcherGlib::processEvents (this=0x7f12740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f129ceacc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f129ceaced7 in QEventLoop::exec (this=0x7f128235edd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f129cdabfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f129ce8c9ff in QInotifyFileSystemWatcherEngine::run (this=0x194f2e0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f129cdaefcb in QThreadPrivate::start (arg=0x194f2e0) at thread/qthread_unix.cpp:298
#12 0x00007f1297962e9a in start_thread (arg=0x7f128235f700) at pthread_create.c:308
#13 0x00007f129dda74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f129e459780 (LWP 2173)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x5a5cc50, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x00007f129c7ddeed in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502
#8  0x00007f129c7df17d in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:996
#9  0x00007f129c7dffa3 in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x5a5cc50) at itemviews/qsortfilterproxymodel.cpp:1244
#10 0x00007f129cec2281 in QMetaObject::activate (sender=0x5a591e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#11 0x00007f129da8cb09 in KarbonLayerModel::update (this=0x5a591e0) at /build/buildd/calligra-2.4.0/karbon/ui/dockers/KarbonLayerModel.cpp:67
#12 0x00007f129cec2281 in QMetaObject::activate (sender=0x5a4ea38, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#13 0x00007f129cec7179 in QObject::event (this=0x5a4ea38, e=<optimized out>) at kernel/qobject.cpp:1157
#14 0x00007f129c230894 in notify_helper (e=0x7fff709bc160, receiver=0x5a4ea38, this=0x143f510) at kernel/qapplication.cpp:4559
#15 QApplicationPrivate::notify_helper (this=0x143f510, receiver=0x5a4ea38, e=0x7fff709bc160) at kernel/qapplication.cpp:4531
#16 0x00007f129c235713 in QApplication::notify (this=0x7fff709bc400, receiver=0x5a4ea38, e=0x7fff709bc160) at kernel/qapplication.cpp:4420
#17 0x00007f129a2eeb46 in KApplication::notify (this=0x7fff709bc400, receiver=0x5a4ea38, event=0x7fff709bc160) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007f129ceade9c in QCoreApplication::notifyInternal (this=0x7fff709bc400, receiver=0x5a4ea38, event=0x7fff709bc160) at kernel/qcoreapplication.cpp:876
#19 0x00007f129cedf1f2 in sendEvent (event=0x7fff709bc160, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QTimerInfoList::activateTimers (this=0x143e2c0) at kernel/qeventdispatcher_unix.cpp:611
#21 0x00007f129cedcc0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#22 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#23 0x00007f129709dc9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f129709e060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f129709e124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f129cedd3bf in QEventDispatcherGlib::processEvents (this=0x13c3ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#27 0x00007f129c2d8d6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f129ceacc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f129ceaced7 in QEventLoop::exec (this=0x7fff709bc3c0, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007f129ceb1f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#31 0x00007f129e072d95 in kdemain (argc=<optimized out>, argv=0x7fff709bc598) at /build/buildd/calligra-2.4.0/karbon/main.cpp:50
#32 0x00007f129dcd676d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=1, ubp_av=0x7fff709bc598, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff709bc588) at libc-start.c:226
#33 0x0000000000400661 in _start ()

Possible duplicates by query: bug 273653.

Reported using DrKonqi
Comment 1 jj-games 2012-04-29 17:13:35 UTC
Created attachment 70759 [details]
New crash information added by DrKonqi

karbon (2.4.0) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed:
Moving a group of layers in the sidebar. Before the application crashed the group entry jumped to a different tree in the tree list of layers while grouping layers.

-- Backtrace (Reduced):
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x5f71400, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x00007f8599483eed in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502
#8  0x00007f859948517d in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:996
#9  0x00007f8599489c9f in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x5f71400, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1160
[...]
#11 0x00007f8599bb4507 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
Comment 2 Marcus Harrison 2012-09-07 06:09:29 UTC
Created attachment 73713 [details]
New crash information added by DrKonqi

karbon (2.5.0) on KDE Platform 4.9.00 using Qt 4.8.2

- What I was doing when the application crashed:

Dragging a group of shapes into another group.

-- Backtrace (Reduced):
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x4636400, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x00007f3c83b3b32d in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502
#8  0x00007f3c83b3c5bd in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:996
#9  0x00007f3c83b410df in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x4636400, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1160
[...]
#11 0x00007f3c8426cac7 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
Comment 3 jj-games 2012-10-10 19:19:45 UTC
Created attachment 74466 [details]
New crash information added by DrKonqi

karbon (2.5.2) on KDE Platform 4.9.2 using Qt 4.8.2

- What I was doing when the application crashed:
How to reproduce:
* draw two different Paths (simple path tool; fresh install)
* select both layers "Shape"
* group them with Ctrl+G
* expand the layer "Group" and drag&drop one of the paths BETWEEN "Layer" and "Group"
-> after a very short time (ca. 200ms) the program crashes (until then it seemed to work)

I tested this bug on different Ubuntu variants both virtual and not virtual, it always worked.
This was never tested on an other hardware configuration, though I never had any unusual problems with crashing software.

-- Backtrace (Reduced):
#7  0x00007fe4b0a56f6e in shapeToContainer (shape=0x46cc940) at /build/buildd/calligra-2.5.2/karbon/ui/dockers/KarbonLayerModel.cpp:49
#8  0x00007fe4b0a57141 in KarbonLayerModel::index (this=0x46c92b0, row=262148, column=15056960, parent=...) at /build/buildd/calligra-2.5.2/karbon/ui/dockers/KarbonLayerModel.cpp:120
#9  0x00007fe4af79a599 in QSortFilterProxyModelPrivate::proxy_to_source (this=<optimized out>, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:374
#10 0x00007fe4af79a69d in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502
#11 0x00007fe4af79b92d in QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:996
Comment 4 Ovidiu-Florin BOGDAN 2015-09-12 12:35:47 UTC
Created attachment 94516 [details]
New crash information added by DrKonqi

karbon (2.9.2) on KDE Platform 4.14.8 using Qt 4.8.6

- What I was doing when the application crashed:
Pasted a group of objects (shapes and text).
- Unusual behavior I noticed:
The group elements were scatered around, not as the source.

-- Backtrace (Reduced):
#7  0x00007f75d7291e8e in shapeToContainer (shape=0x59fca20) at /build/buildd/calligra-2.9.2/karbon/ui/dockers/KarbonLayerModel.cpp:48
#8  0x00007f75d7292171 in KarbonLayerModel::index (this=0x3c43c60, row=0, column=0, parent=...) at /build/buildd/calligra-2.9.2/karbon/ui/dockers/KarbonLayerModel.cpp:119
#9  0x00007f75d69ce6c0 in QSortFilterProxyModelPrivate::proxy_to_source (this=<optimized out>, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:374
#10 0x00007f75d69cfdda in mapToSource (proxyIndex=..., this=0x3c43d40) at itemviews/qsortfilterproxymodel.cpp:2519
#11 QSortFilterProxyModelPrivate::store_persistent_indexes (this=this@entry=0x3c43d60) at itemviews/qsortfilterproxymodel.cpp:996
Comment 5 Denis Kurz 2018-01-31 16:05:49 UTC
You might want to consider if this was caused by a Qt bug that was resolved fixed in 5.8, as described in Bug 361895, Comment 1.
Comment 6 Justin Zobel 2020-12-17 05:33:56 UTC
Thank you for the crash report.

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 7 Bug Janitor Service 2021-01-01 04:34:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2021-01-16 04:34:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!