Bug 359377 - KNotes crashed after deleting selected note
Summary: KNotes crashed after deleting selected note
Status: RESOLVED FIXED
Alias: None
Product: knotes
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-02-14 03:57 UTC by Navid
Modified: 2016-02-15 07:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Navid 2016-02-14 03:57:04 UTC
Application: knotes (5.0.2)

Qt Version: 5.5.1
Operating System: Linux 4.2.0-27-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed:
When I tried to "Delete Selected Notes" from menu, BEFORE selecting any note to delete, KNote crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: KNotes (knotes), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  QObject::connect (sender=0x620064002e006c, signal=signal@entry=0x43fb41 "2itemSelectionChanged()", receiver=receiver@entry=0x1bde0c0, method=method@entry=0x43fb08 "1slotDeleteNoteSelectionChanged()", type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2625
#7  0x000000000042cafe in KNoteDeleteSelectedNotesDialog::KNoteDeleteSelectedNotesDialog (this=0x1bde0c0, parent=<optimized out>) at ../../knotes/dialog/knotedeleteselectednotesdialog.cpp:40
#8  0x0000000000422419 in KNotesApp::slotDeleteSelectedNotes (this=0x1a97800) at ../../knotes/apps/knotesapp.cpp:233
#9  0x00007ff909c8b777 in QtPrivate::QSlotObjectBase::call (a=0x7ffdcdc12020, r=0x1a97800, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#10 QMetaObject::activate (sender=sender@entry=0x1b67290, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdcdc12020) at kernel/qobject.cpp:3698
#11 0x00007ff909c8c0e7 in QMetaObject::activate (sender=sender@entry=0x1b67290, m=m@entry=0x7ff90aa54bc0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdcdc12020) at kernel/qobject.cpp:3578
#12 0x00007ff90a547d92 in QAction::triggered (this=this@entry=0x1b67290, _t1=false) at .moc/moc_qaction.cpp:365
#13 0x00007ff90a54a218 in QAction::activate (this=0x1b67290, event=<optimized out>) at kernel/qaction.cpp:1162
#14 0x00007ff90a54a79f in QAction::trigger (this=<optimized out>) at kernel/qaction.h:177
#15 QAction::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qaction.cpp:206
#16 0x00007ff909c8c7b1 in QObject::event (this=0x1b67290, e=<optimized out>) at kernel/qobject.cpp:1239
#17 0x00007ff90a54aaa1 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1094
#18 0x00007ff90a5519dc in QApplicationPrivate::notify_helper (this=this@entry=0x1a98560, receiver=receiver@entry=0x1b67290, e=e@entry=0x1f75bc0) at kernel/qapplication.cpp:3716
#19 0x00007ff90a556ea6 in QApplication::notify (this=0x7ffdcdc12750, receiver=0x1b67290, e=0x1f75bc0) at kernel/qapplication.cpp:3499
#20 0x00007ff909c5cd7b in QCoreApplication::notifyInternal (this=0x7ffdcdc12750, receiver=0x1b67290, event=event@entry=0x1f75bc0) at kernel/qcoreapplication.cpp:965
#21 0x00007ff909c5f176 in QCoreApplication::sendEvent (event=0x1f75bc0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1a93b60) at kernel/qcoreapplication.cpp:1593
#23 0x00007ff909c5f658 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#24 0x00007ff909cb30e3 in postEventSourceDispatch (s=0x1ad30e0) at kernel/qeventdispatcher_glib.cpp:271
#25 0x00007ff901fb4ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ff901fb5250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ff901fb52fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ff909cb34ef in QEventDispatcherGlib::processEvents (this=0x1adb310, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#29 0x00007ff909c5a50a in QEventLoop::exec (this=this@entry=0x7ffdcdc12630, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#30 0x00007ff909c625ec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#31 0x00007ff909f96d1c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1530
#32 0x00007ff90a54de15 in QApplication::exec () at kernel/qapplication.cpp:2976
#33 0x000000000041c709 in main (argc=1, argv=0x7ffdcdc128e8) at ../../knotes/apps/main.cpp:73

Reported using DrKonqi
Comment 1 Laurent Montel 2016-02-15 07:54:51 UTC
Git commit f6bbc995710ec041ce3f71bb4f6c56fd5d99420a by Montel Laurent.
Committed on 15/02/2016 at 07:54.
Pushed by mlaurent into branch 'Applications/15.12'.

Fix Bug 359377 - KNotes crashed after deleting selected note

FIXED-IN: 5.1.3

M  +1    -1    knotes/dialog/knotedeleteselectednotesdialog.cpp

http://commits.kde.org/kdepim/f6bbc995710ec041ce3f71bb4f6c56fd5d99420a