Bug 392629

Summary: Dolphin git plugin crash.
Product: [Applications] dolphin Reporter: Tony <jodr666>
Component: plugins: gitAssignee: Sebastian Dörner <sebastian>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: dolphin-bugs-null, elvis.angelaccio, jodr666
Priority: NOR Keywords: drkonqi
Version: 17.12.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Installed
New crash information added by DrKonqi
Valgrind log

Description Tony 2018-04-02 07:59:55 UTC
Application: dolphin (17.12.2)

Qt Version: 5.9.4
Frameworks Version: 5.44.0
Operating System: Linux 4.15.13-300.fc27.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
The crash happen after a did a pull on a local repository and minimized the dolhin window.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2027dbf940 (LWP 13289))]

Thread 4 (Thread 0x7f1ff6677700 (LWP 13292)):
#0  0x00007f201f652c6b in poll () from /lib64/libc.so.6
#1  0x00007f2016ebae99 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f2016ebafac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f20204b1c4b in QEventDispatcherGlib::processEvents (this=0x7f1ff0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f202045f96a in QEventLoop::exec (this=this@entry=0x7f1ff6676c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f20202b08ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f20202b4de2 in QThreadPrivate::start (arg=0x55c193273070) at thread/qthread_unix.cpp:368
#7  0x00007f201b88750b in start_thread () from /lib64/libpthread.so.0
#8  0x00007f201f65d16f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f20026b7700 (LWP 13291)):
#0  0x00007f201f64e738 in read () from /lib64/libc.so.6
#1  0x00007f2016eff0a0 in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007f2016eba9a8 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f2016ebae40 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#4  0x00007f2016ebafac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f20204b1c4b in QEventDispatcherGlib::processEvents (this=0x7f1ffc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f202045f96a in QEventLoop::exec (this=this@entry=0x7f20026b6c20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f20202b08ca in QThread::exec (this=this@entry=0x7f2022709060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#8  0x00007f2022495449 in QDBusConnectionManager::run (this=0x7f2022709060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#9  0x00007f20202b4de2 in QThreadPrivate::start (arg=0x7f2022709060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#10 0x00007f201b88750b in start_thread () from /lib64/libpthread.so.0
#11 0x00007f201f65d16f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2008a3f700 (LWP 13290)):
#0  0x00007f201f652c6b in poll () from /lib64/libc.so.6
#1  0x00007f201641bfe7 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f201641ddda in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f200abc9bf9 in QXcbEventReader::run (this=0x55c192d7b180) at qxcbconnection.cpp:1335
#4  0x00007f20202b4de2 in QThreadPrivate::start (arg=0x55c192d7b180) at thread/qthread_unix.cpp:368
#5  0x00007f201b88750b in start_thread () from /lib64/libpthread.so.0
#6  0x00007f201f65d16f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2027dbf940 (LWP 13289)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x0) at /usr/include/c++/7/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x0) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:102
#9  QtPrivate::RefCount::ref (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:55
#10 QString::QString (other=..., this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:907
#11 v_construct_helper<QString> (t=..., x=0x7fff3a5722c0) at ../../include/QtCore/5.9.4/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:123
#12 v_construct<QString> (t=..., x=0x7fff3a5722c0) at ../../include/QtCore/5.9.4/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:152
#13 QVariant::QVariant (this=0x7fff3a5722c0, val=...) at kernel/qvariant.cpp:1746
#14 0x00007f20218a2545 in QComboBox::findText (flags=..., text=..., this=0x55c1934f0140) at widgets/qcombobox.h:111
#15 QComboBox::setCurrentText (this=0x55c1934f0140, text=...) at widgets/qcombobox.cpp:2127
#16 0x00007f1ff49a4ebc in PushDialog::PushDialog(QWidget*) () from /usr/lib64/qt5/plugins/fileviewgitplugin.so
#17 0x00007f1ff499a7e9 in FileViewGitPlugin::push() () from /usr/lib64/qt5/plugins/fileviewgitplugin.so
#18 0x00007f2020489513 in QMetaObject::activate (sender=sender@entry=0x55c19344c440, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff3a572620) at kernel/qobject.cpp:3766
#19 0x00007f2020489b87 in QMetaObject::activate (sender=sender@entry=0x55c19344c440, m=m@entry=0x7f2021e5e940 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff3a572620) at kernel/qobject.cpp:3628
#20 0x00007f20217931b2 in QAction::triggered (this=this@entry=0x55c19344c440, _t1=<optimized out>) at .moc/moc_qaction.cpp:370
#21 0x00007f20217958cb in QAction::activate (this=0x55c19344c440, event=<optimized out>) at kernel/qaction.cpp:1165
#22 0x00007f2021912ba4 in QMenuPrivate::activateCausedStack (this=this@entry=0x55c19339dad0, causedStack=..., action=action@entry=0x55c19344c440, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1323
#23 0x00007f202191a0db in QMenuPrivate::activateAction (this=this@entry=0x55c19339dad0, action=action@entry=0x55c19344c440, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1400
#24 0x00007f202191af03 in QMenu::mouseReleaseEvent (this=<optimized out>, e=0x7fff3a572c30) at widgets/qmenu.cpp:2888
#25 0x00007f20217d82a8 in QWidget::event (this=this@entry=0x55c1937682d0, event=event@entry=0x7fff3a572c30) at kernel/qwidget.cpp:9279
#26 0x00007f202191d1db in QMenu::event (this=0x55c1937682d0, e=0x7fff3a572c30) at widgets/qmenu.cpp:3010
#27 0x00007f202179992c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c1937682d0, e=0x7fff3a572c30) at kernel/qapplication.cpp:3722
#28 0x00007f20217a16cf in QApplication::notify (this=<optimized out>, receiver=0x55c1937682d0, e=0x7fff3a572c30) at kernel/qapplication.cpp:3198
#29 0x00007f2020460be7 in QCoreApplication::notifyInternal2 (receiver=0x55c1937682d0, event=0x7fff3a572c30) at kernel/qcoreapplication.cpp:1016
#30 0x00007f20217a06a2 in QApplicationPrivate::sendMouseEvent (receiver=0x55c1937682d0, event=0x7fff3a572c30, alienWidget=0x0, nativeWidget=0x55c1937682d0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#31 0x00007f20217f31b3 in QWidgetWindow::handleMouseEvent (this=0x55c1934e72b0, event=0x7fff3a573020) at kernel/qwidgetwindow.cpp:523
#32 0x00007f20217f5b1f in QWidgetWindow::event (this=0x55c1934e72b0, event=0x7fff3a573020) at kernel/qwidgetwindow.cpp:250
#33 0x00007f202179992c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c1934e72b0, e=0x7fff3a573020) at kernel/qapplication.cpp:3722
#34 0x00007f20217a1174 in QApplication::notify (this=0x7fff3a574f00, receiver=0x55c1934e72b0, e=0x7fff3a573020) at kernel/qapplication.cpp:3481
#35 0x00007f2020460be7 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x55c1934e72b0, event=event@entry=0x7fff3a573020) at kernel/qcoreapplication.cpp:1016
#36 0x00007f2020e578a3 in QCoreApplication::sendSpontaneousEvent (event=0x7fff3a573020, receiver=0x55c1934e72b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 QGuiApplicationPrivate::processMouseEvent (e=0x7f200400dae0) at kernel/qguiapplication.cpp:1952
#38 0x00007f2020e59495 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x7f200400dae0) at kernel/qguiapplication.cpp:1733
#39 0x00007f2020e3279b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:946
#40 0x00007f200ac2cb60 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:77
#41 0x00007f2016ebab77 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#42 0x00007f2016ebaf20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#43 0x00007f2016ebafac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#44 0x00007f20204b1c2f in QEventDispatcherGlib::processEvents (this=0x55c192dbffc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#45 0x00007f202045f96a in QEventLoop::exec (this=this@entry=0x7fff3a5733d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#46 0x00007f2021917dd6 in QMenu::exec (this=this@entry=0x55c1937682d0, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2622
#47 0x00007f20279791b8 in DolphinContextMenu::openViewportContextMenu (this=this@entry=0x55c1937682d0) at /usr/src/debug/dolphin-17.12.2-2.fc27.x86_64/src/dolphincontextmenu.cpp:369
#48 0x00007f20279794ee in DolphinContextMenu::open (this=this@entry=0x55c1937682d0) at /usr/src/debug/dolphin-17.12.2-2.fc27.x86_64/src/dolphincontextmenu.cpp:118
#49 0x00007f202796fb9b in DolphinMainWindow::openContextMenu (this=0x55c192e014c0, pos=..., item=..., url=..., customActions=...) at /usr/src/debug/dolphin-17.12.2-2.fc27.x86_64/src/dolphinmainwindow.cpp:796
#50 0x00007f2020489637 in QtPrivate::QSlotObjectBase::call (a=0x7fff3a573710, r=0x55c192e014c0, this=0x55c1932f6250) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#51 QMetaObject::activate (sender=0x55c193263e60, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3749
#52 0x00007f2026d60324 in DolphinView::requestContextMenu(QPoint const&, KFileItem const&, QUrl const&, QList<QAction*> const&) () from /lib64/libdolphinprivate.so.5
#53 0x00007f2026d359d5 in DolphinView::slotViewContextMenuRequested(QPointF const&) () from /lib64/libdolphinprivate.so.5
#54 0x00007f2020489637 in QtPrivate::QSlotObjectBase::call (a=0x7fff3a5738a0, r=0x55c193263e60, this=0x55c1932955e0) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#55 QMetaObject::activate (sender=0x55c19326f000, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3749
#56 0x00007f2026d5e6d5 in KItemListController::viewContextMenuRequested(QPointF const&) () from /lib64/libdolphinprivate.so.5
#57 0x00007f2026cf854e in KItemListController::mousePressEvent(QGraphicsSceneMouseEvent*, QTransform const&) () from /lib64/libdolphinprivate.so.5
#58 0x00007f2026cf7aea in KItemListController::processEvent(QEvent*, QTransform const&) () from /lib64/libdolphinprivate.so.5
#59 0x00007f2026d09525 in KItemListView::event(QEvent*) () from /lib64/libdolphinprivate.so.5
#60 0x00007f202179992c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c193056750, e=0x7fff3a574100) at kernel/qapplication.cpp:3722
#61 0x00007f20217a1174 in QApplication::notify (this=0x7fff3a574f00, receiver=0x55c193056750, e=0x7fff3a574100) at kernel/qapplication.cpp:3481
#62 0x00007f2020460be7 in QCoreApplication::notifyInternal2 (receiver=0x55c193056750, event=0x7fff3a574100) at kernel/qcoreapplication.cpp:1016
#63 0x00007f2021799c4e in QCoreApplication::sendSpontaneousEvent (event=event@entry=0x7fff3a574100, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#64 qt_sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7fff3a574100) at kernel/qapplication.cpp:4160
#65 0x00007f2021a9a14b in QGraphicsScenePrivate::sendEvent (this=<optimized out>, item=0x55c193056760, event=0x7fff3a574100) at graphicsview/qgraphicsscene.cpp:1245
#66 0x00007f2021a9a508 in QGraphicsScenePrivate::sendMouseEvent (this=this@entry=0x55c1932790f0, mouseEvent=mouseEvent@entry=0x7fff3a574100) at graphicsview/qgraphicsscene.cpp:1323
#67 0x00007f2021aa22eb in QGraphicsScenePrivate::mousePressEventHandler (this=this@entry=0x55c1932790f0, mouseEvent=mouseEvent@entry=0x7fff3a574100) at graphicsview/qgraphicsscene.cpp:1450
#68 0x00007f2021aa2529 in QGraphicsScene::mousePressEvent (this=<optimized out>, mouseEvent=0x7fff3a574100) at graphicsview/qgraphicsscene.cpp:4043
#69 0x00007f2021aa9670 in QGraphicsScene::event (this=0x55c193279040, event=0x7fff3a574100) at graphicsview/qgraphicsscene.cpp:3407
#70 0x00007f202179992c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c193279040, e=0x7fff3a574100) at kernel/qapplication.cpp:3722
#71 0x00007f20217a1174 in QApplication::notify (this=0x7fff3a574f00, receiver=0x55c193279040, e=0x7fff3a574100) at kernel/qapplication.cpp:3481
#72 0x00007f2020460be7 in QCoreApplication::notifyInternal2 (receiver=0x55c193279040, event=0x7fff3a574100) at kernel/qcoreapplication.cpp:1016
#73 0x00007f2021799c4e in QCoreApplication::sendSpontaneousEvent (event=event@entry=0x7fff3a574100, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#74 qt_sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7fff3a574100) at kernel/qapplication.cpp:4160
#75 0x00007f2021ac6633 in QGraphicsView::mousePressEvent (this=0x55c1932790b0, event=0x7fff3a574660) at graphicsview/qgraphicsview.cpp:3259
#76 0x00007f20217d8baf in QWidget::event (this=this@entry=0x55c1932790b0, event=event@entry=0x7fff3a574660) at kernel/qwidget.cpp:8895
#77 0x00007f202187970e in QFrame::event (this=0x55c1932790b0, e=0x7fff3a574660) at widgets/qframe.cpp:550
#78 0x00007f2021ac798b in QGraphicsView::viewportEvent (this=0x55c1932790b0, event=0x7fff3a574660) at graphicsview/qgraphicsview.cpp:2966
#79 0x00007f202046097c in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55c193293fc0, event=event@entry=0x7fff3a574660) at kernel/qcoreapplication.cpp:1127
#80 0x00007f2021799905 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c193293fc0, e=0x7fff3a574660) at kernel/qapplication.cpp:3718
#81 0x00007f20217a16cf in QApplication::notify (this=<optimized out>, receiver=0x55c193293fc0, e=0x7fff3a574660) at kernel/qapplication.cpp:3198
#82 0x00007f2020460be7 in QCoreApplication::notifyInternal2 (receiver=0x55c193293fc0, event=0x7fff3a574660) at kernel/qcoreapplication.cpp:1016
#83 0x00007f20217a06a2 in QApplicationPrivate::sendMouseEvent (receiver=0x55c193293fc0, event=0x7fff3a574660, alienWidget=0x55c193293fc0, nativeWidget=0x55c192e014c0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#84 0x00007f20217f347b in QWidgetWindow::handleMouseEvent (this=0x55c193035d20, event=0x7fff3a574a50) at kernel/qwidgetwindow.cpp:628
#85 0x00007f20217f5b1f in QWidgetWindow::event (this=0x55c193035d20, event=0x7fff3a574a50) at kernel/qwidgetwindow.cpp:250
#86 0x00007f202179992c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c193035d20, e=0x7fff3a574a50) at kernel/qapplication.cpp:3722
#87 0x00007f20217a1174 in QApplication::notify (this=0x7fff3a574f00, receiver=0x55c193035d20, e=0x7fff3a574a50) at kernel/qapplication.cpp:3481
#88 0x00007f2020460be7 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x55c193035d20, event=event@entry=0x7fff3a574a50) at kernel/qcoreapplication.cpp:1016
#89 0x00007f2020e578a3 in QCoreApplication::sendSpontaneousEvent (event=0x7fff3a574a50, receiver=0x55c193035d20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#90 QGuiApplicationPrivate::processMouseEvent (e=0x55c193706f20) at kernel/qguiapplication.cpp:1952
#91 0x00007f2020e59495 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x55c193706f20) at kernel/qguiapplication.cpp:1733
#92 0x00007f2020e3279b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:946
#93 0x00007f200ac2cb60 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:77
#94 0x00007f2016ebab77 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#95 0x00007f2016ebaf20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#96 0x00007f2016ebafac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#97 0x00007f20204b1c2f in QEventDispatcherGlib::processEvents (this=0x55c192dbffc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#98 0x00007f202045f96a in QEventLoop::exec (this=this@entry=0x7fff3a574e00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#99 0x00007f2020468094 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1289
#100 0x00007f2020e4eebc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1679
#101 0x00007f2021799885 in QApplication::exec () at kernel/qapplication.cpp:2910
#102 0x00007f2027963cfa in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-17.12.2-2.fc27.x86_64/src/main.cpp:163
#103 0x00007f201f588f2a in __libc_start_main () from /lib64/libc.so.6
#104 0x000055c190f16aea in _start ()

Possible duplicates by query: bug 384419, bug 381285, bug 372712, bug 365163.

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2018-04-02 20:47:06 UTC
If you can reproduce the crash, please install debug symbols for the dolphin-plugins package. See https://community.kde.org/Dolphin/FAQ/Crashes
Comment 2 Tony 2018-04-05 09:30:13 UTC
Created attachment 111838 [details]
Installed

(In reply to Elvis Angelaccio from comment #1)
> If you can reproduce the crash, please install debug symbols for the
> dolphin-plugins package. See https://community.kde.org/Dolphin/FAQ/Crashes


They are installed.....
Comment 3 Tony 2018-04-05 09:32:21 UTC
....Unless for some reason on Fedora you need the debugsource as well.
Comment 4 Elvis Angelaccio 2018-04-05 19:57:46 UTC
No idea about Fedora packaging, but

  #16 0x00007f1ff49a4ebc in PushDialog::PushDialog(QWidget*) () from /usr/lib64/qt5/plugins/fileviewgitplugin.so

means that this plugin (which should be part of dolphin-plugins) doesn't have debug symbols available.
Comment 5 Tony 2018-05-22 01:03:35 UTC
Created attachment 112801 [details]
New crash information added by DrKonqi

dolphin (18.07.70) using Qt 5.11.0

- What I was doing when the application crashed:

I hit "Git Push" while inside a clone repo from https://github.com/RobertBeckebans/RBDOOM-3-BFG.

The cloned repo was copied from a Fedora 27 system were i experience the same issue, but could not reproduce easily. Here is 100% sure crash if you hit "Git push".

-- Backtrace (Reduced):
#6  0x00007efc2b5d89cd in QVariant::QVariant(QString const&) () from /usr/lib64/libQt5Core.so.5
#7  0x00007efc2c6da2a5 in QComboBox::setCurrentText(QString const&) () from /usr/lib64/libQt5Widgets.so.5
#8  0x00007efbfcf36f9c in PushDialog::PushDialog (this=0x7fff144016e0, parent=<optimized out>) at /usr/src/debug/dolphin-plugins-18.07.70git.20180430T053112~d69ced4-8.2.x86_64/git/pushdialog.cpp:105
#9  0x00007efbfcf2bc96 in FileViewGitPlugin::push (this=0x55f416d625a0) at /usr/src/debug/dolphin-plugins-18.07.70git.20180430T053112~d69ced4-8.2.x86_64/git/fileviewgitplugin.cpp:630
[...]
#11 0x00007efc2c5d2582 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5
Comment 6 Tony 2018-05-22 01:04:37 UTC
(In reply to Tony from comment #5)
> Created attachment 112801 [details]
> New crash information added by DrKonqi
> 
> dolphin (18.07.70) using Qt 5.11.0
> 
> - What I was doing when the application crashed:
> 
> I hit "Git Push" while inside a clone repo from
> https://github.com/RobertBeckebans/RBDOOM-3-BFG.
> 
> The cloned repo was copied from a Fedora 27 system were i experience the
> same issue, but could not reproduce easily. Here is 100% sure crash if you
> hit "Git push".
> 
> -- Backtrace (Reduced):
> #6  0x00007efc2b5d89cd in QVariant::QVariant(QString const&) () from
> /usr/lib64/libQt5Core.so.5
> #7  0x00007efc2c6da2a5 in QComboBox::setCurrentText(QString const&) () from
> /usr/lib64/libQt5Widgets.so.5
> #8  0x00007efbfcf36f9c in PushDialog::PushDialog (this=0x7fff144016e0,
> parent=<optimized out>) at
> /usr/src/debug/dolphin-plugins-18.07.70git.20180430T053112~d69ced4-8.2.
> x86_64/git/pushdialog.cpp:105
> #9  0x00007efbfcf2bc96 in FileViewGitPlugin::push (this=0x55f416d625a0) at
> /usr/src/debug/dolphin-plugins-18.07.70git.20180430T053112~d69ced4-8.2.
> x86_64/git/fileviewgitplugin.cpp:630
> [...]
> #11 0x00007efc2c5d2582 in QAction::triggered(bool) () from
> /usr/lib64/libQt5Widgets.so.5

This is on a Opensuse Tumbleweed system.
Comment 7 Christoph Feck 2018-06-15 00:00:45 UTC
Elvis, is backtrace from comment #5 sufficient to pinpoint the issue?
Comment 8 Elvis Angelaccio 2018-06-16 16:04:30 UTC
Hmm. Could be that `currentBranchIndex` does not get initialized which would explain why `branches.at(currentBranchIndex)` crashes.

A valgrind log would be very helpful, if the crash is 100% reproducible.
Comment 9 Tony 2018-06-16 16:31:20 UTC
Created attachment 113380 [details]
Valgrind log
Comment 10 Elvis Angelaccio 2018-06-16 17:12:52 UTC
Ok, not what I was thinking of. Could be a bad allocation of memory for the strings containing the branch names.

Can you show the output of "git branch -a" in the repository from which you are triggering the crash?
Comment 11 Tony 2018-06-16 20:41:00 UTC
I hate myself as i type this, when i typed git branch -a i realized somehow Git was removed from my opensuse system from which i got the valgrind log and the 2nd bracktrace. F me.

git branch -a out "after" i re-installed Git:

  branch_remotes/origin/vkdoom3-merge
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/IBL-environment-probes
  remotes/origin/flash-tools
  remotes/origin/flash-tools-lua
  remotes/origin/imgui-tools
  remotes/origin/master
  remotes/origin/nvidia-driver-381.65-bugfix
  remotes/origin/oculus-vr
  remotes/origin/openvr
  remotes/origin/vkdoom3-merge
Comment 12 Elvis Angelaccio 2018-06-17 08:13:57 UTC
Does it still crash after you reinstalled git?
Comment 13 Tony 2018-06-17 16:31:13 UTC
(In reply to Elvis Angelaccio from comment #12)
> Does it still crash after you reinstalled git?

No, while using git push.
Comment 14 Elvis Angelaccio 2018-06-18 20:20:20 UTC
What I meant was: can you still reproduce the crash when pressing "Git Push", even if have installed git?
Comment 15 Tony 2018-06-18 23:14:04 UTC
(In reply to Elvis Angelaccio from comment #14)
> What I meant was: can you still reproduce the crash when pressing "Git
> Push", even if have installed git?

No, on my opensuse system i haven't seen any crashes with "git push" after installing git.
Comment 16 Elvis Angelaccio 2018-06-19 20:36:45 UTC
Thanks, I'll close this report for now then.