Bug 342228 - systemsettings crashes when entering a new web shortcut
Summary: systemsettings crashes when entering a new web shortcut
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords: drkonqi
: 343634 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-26 19:44 UTC by Christian Trippe
Modified: 2021-07-24 00:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the mentioned dialog (29.29 KB, image/png)
2015-02-02 19:07 UTC, Christian Trippe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Trippe 2014-12-26 19:44:25 UTC
Application: systemsettings5 (5.1.2)

Qt Version: 5.4.0
Operating System: Linux 3.16.6-2-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
I changed the shortcut web shortcut "wp" to search in the german wikipedia and the try to add a new shortcut "wpe" which searches in the English wikipedia. When I confirm the last step systemsettings5 crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2dfe2bc780 (LWP 6375))]

Thread 2 (Thread 0x7f2ded8f7700 (LWP 6376)):
#0  0x00007f2dfa1223cd in poll () from /lib64/libc.so.6
#1  0x00007f2df8a36322 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f2df8a37def in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f2defe47bf9 in QXcbEventReader::run (this=0x180e8e0) at qxcbconnection.cpp:1099
#4  0x00007f2dfa79c6ff in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007f2df72b50a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f2dfa12a7fd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2dfe2bc780 (LWP 6375)):
[KCrash Handler]
#5  QString (other=<error reading variable: Cannot access memory at address 0x8>, this=this@entry=0x7fff7c688320) at /usr/include/qt5/QtCore/qstring.h:811
#6  KUriFilterSearchProvider::name (this=0x0) at /usr/src/debug/kio-5.5.0/src/widgets/kurifilter.cpp:126
#7  0x00007f2ddc6c0d51 in ProvidersModel::data (this=<optimized out>, index=..., role=<optimized out>) at /usr/src/debug/kio-5.5.0/src/urifilters/ikws/ikwsopts.cpp:99
#8  0x00007f2dfa93e1e3 in QSortFilterProxyModel::lessThan(QModelIndex const&, QModelIndex const&) const () from /usr/lib64/libQt5Core.so.5
#9  0x00007f2dfa93f78f in ?? () from /usr/lib64/libQt5Core.so.5
#10 0x00007f2dfa93fad1 in ?? () from /usr/lib64/libQt5Core.so.5
#11 0x00007f2dfa946117 in ?? () from /usr/lib64/libQt5Core.so.5
#12 0x00007f2dfa9a6441 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#13 0x00007f2dfaa21724 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#14 0x00007f2dfa9244b2 in QAbstractItemModel::endInsertRows() () from /usr/lib64/libQt5Core.so.5
#15 0x00007f2ddc6c0a0b in ProvidersModel::addProvider (this=0x19882e0, p=0x0) at /usr/src/debug/kio-5.5.0/src/urifilters/ikws/ikwsopts.cpp:170
#16 0x00007f2ddc6c0ab1 in FilterOptions::addSearchProvider (this=0x1acc7d0) at /usr/src/debug/kio-5.5.0/src/urifilters/ikws/ikwsopts.cpp:423
#17 0x00007f2dfa9a6441 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#18 0x00007f2dfc10c5c2 in QAbstractButton::clicked (this=this@entry=0x19c1d10, _t1=false) at .moc/moc_qabstractbutton.cpp:298
#19 0x00007f2dfbe85946 in QAbstractButtonPrivate::emitClicked (this=0x19c2300) at widgets/qabstractbutton.cpp:534
#20 0x00007f2dfbe8645e in QAbstractButtonPrivate::click (this=0x19c2300) at widgets/qabstractbutton.cpp:527
#21 0x00007f2dfbe865d4 in QAbstractButton::mouseReleaseEvent (this=0x19c1d10, e=0x7fff7c688f30) at widgets/qabstractbutton.cpp:1132
#22 0x00007f2dfbdcfb31 in QWidget::event (this=0x19c1d10, event=0x7fff7c688f30) at kernel/qwidget.cpp:8656
#23 0x00007f2dfbd901dc in QApplicationPrivate::notify_helper (this=this@entry=0x17f3ae0, receiver=receiver@entry=0x19c1d10, e=e@entry=0x7fff7c688f30) at kernel/qapplication.cpp:3722
#24 0x00007f2dfbd95b16 in QApplication::notify (this=<optimized out>, receiver=0x19c1d10, e=0x7fff7c688f30) at kernel/qapplication.cpp:3280
#25 0x00007f2dfa976be5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#26 0x00007f2dfbd944e1 in sendSpontaneousEvent (event=0x7fff7c688f30, receiver=0x19c1d10) at ../../src/corelib/kernel/qcoreapplication.h:231
#27 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x19c1d10, event=event@entry=0x7fff7c688f30, alienWidget=alienWidget@entry=0x19c1d10, nativeWidget=0x18adcb0, buttonDown=buttonDown@entry=0x7f2dfc4a15b0 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:2751
#28 0x00007f2dfbde6f36 in QWidgetWindow::handleMouseEvent (this=this@entry=0x1b76ea0, event=event@entry=0x7fff7c689380) at kernel/qwidgetwindow.cpp:506
#29 0x00007f2dfbde8e4b in QWidgetWindow::event (this=0x1b76ea0, event=0x7fff7c689380) at kernel/qwidgetwindow.cpp:173
#30 0x00007f2dfbd901dc in QApplicationPrivate::notify_helper (this=this@entry=0x17f3ae0, receiver=receiver@entry=0x1b76ea0, e=e@entry=0x7fff7c689380) at kernel/qapplication.cpp:3722
#31 0x00007f2dfbd951f0 in QApplication::notify (this=0x7fff7c689830, receiver=0x1b76ea0, e=0x7fff7c689380) at kernel/qapplication.cpp:3505
#32 0x00007f2dfa976be5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#33 0x00007f2dfb6085fe in sendSpontaneousEvent (event=0x7fff7c689380, receiver=0x1b76ea0) at ../../src/corelib/kernel/qcoreapplication.h:231
#34 QGuiApplicationPrivate::processMouseEvent (e=0x1c24b70) at kernel/qguiapplication.cpp:1796
#35 0x00007f2dfb609cd5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x1c24b70) at kernel/qguiapplication.cpp:1598
#36 0x00007f2dfb5f07a8 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#37 0x00007f2defe6f930 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#38 0x00007f2df6d99a04 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f2df6d99c48 in ?? () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f2df6d99cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f2dfa9cdf0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#42 0x00007f2dfa974b4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#43 0x00007f2dfa97c1b6 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#44 0x00007f2dfb600f0c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1532
#45 0x00007f2dfbd8c9e5 in QApplication::exec () at kernel/qapplication.cpp:2956
#46 0x000000000040f9e0 in main (argc=1, argv=<optimized out>) at /usr/src/debug/systemsettings-5.1.2/app/main.cpp:55

Reported using DrKonqi
Comment 1 Christian Trippe 2014-12-26 19:50:58 UTC
No idea why DrKonqi choose th product "KDE", I guess systemsettings is more appropriate.
Comment 2 Christoph Feck 2014-12-30 02:42:54 UTC
Crash caused by KIO uri filters, maybe Internet Keywords.
Comment 3 Hrvoje Senjan 2015-02-01 19:08:33 UTC
*** Bug 343634 has been marked as a duplicate of this bug. ***
Comment 4 Eike Hein 2015-02-02 14:25:42 UTC
Please give more exact steps to reproduce:

1. The exact sequence of actions
2. The patterns you enter.
3. By "confirm" do you mean the subdialog or the module Apply button.
Comment 5 Christian Trippe 2015-02-02 19:07:26 UTC
Created attachment 90876 [details]
Screenshot of the mentioned dialog

1. open systemsettings -> shortcuts -> web shortcuts
2. press the new button and fill out the dialog (Name, link, shortcut) (see screenshot)
3. press "OK" in the dialog from 2
4. systemsettings crashes
Comment 6 Christian Trippe 2015-02-02 19:08:04 UTC
Requesed information was provided
Comment 7 Eike Hein 2015-02-02 19:20:14 UTC
Thanks! After testing with the above, it appears that a fix I made on Jan 8th has inadvertendly also addressed this crash. Unfortunately it was committed a few days too late to make the Frameworks v5.6 release (I can reproduce the crash on v5.6). It will be included with the Frameworks v5.7 release on February 12th.