Bug 280235 - Crash in dolphin gitview plugin.
Summary: Crash in dolphin gitview plugin.
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: plugins: git (show other bugs)
Version: 1.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 02:42 UTC by michael
Modified: 2012-04-22 23:28 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michael 2011-08-17 02:42:22 UTC
Application: dolphin (1.7)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

Selected git pull from the contextual menu on directory cloned from a local repository viewed in dolphin.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f654b74e780 (LWP 3291))]

Thread 3 (Thread 0x7f6539438700 (LWP 3292)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f6539437ae0 in ?? ()
#2  0x00007ffff67be7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f65325ed700 (LWP 3296)):
#0  0x00007f654b043f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6543811104 in g_main_context_poll (context=0xe376e0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0xe376e0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007f6543811639 in g_main_context_iteration (context=0xe376e0, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007f65474fa446 in QEventDispatcherGlib::processEvents (this=0xcd0440, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f65474ce882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f65474ceabc in QEventLoop::exec (this=0x7f65325ecdd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f65473e5924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f65474b0c2f in QInotifyFileSystemWatcherEngine::run (this=0xe36ec0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f65473e8175 in QThreadPrivate::start (arg=0xe36ec0) at thread/qthread_unix.cpp:320
#10 0x00007f6543cdcd8c in start_thread (arg=0x7f65325ed700) at pthread_create.c:304
#11 0x00007f654b05104d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f654b74e780 (LWP 3291)):
[KCrash Handler]
#6  ref (this=<value optimized out>, t=...) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QString (this=<value optimized out>, t=...) at /usr/include/qt4/QtCore/qstring.h:729
#8  node_construct (this=<value optimized out>, t=...) at /usr/include/qt4/QtCore/qlist.h:360
#9  QList<QString>::append (this=<value optimized out>, t=...) at /usr/include/qt4/QtCore/qlist.h:499
#10 0x00007f65313deabd in operator<< (this=0x7ffff6634b70, parent=<value optimized out>) at /usr/include/qt4/QtCore/qstringlist.h:87
#11 PullDialog::PullDialog (this=0x7ffff6634b70, parent=<value optimized out>) at ../../../dolphin-plugins/git/pulldialog.cpp:71
#12 0x00007f65313d5996 in FileViewGitPlugin::pull (this=0xe46c10) at ../../../dolphin-plugins/git/fileviewgitplugin.cpp:515
#13 0x00007f65313d8a2c in FileViewGitPlugin::qt_metacall (this=0xe46c10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff6634ed0) at ./fileviewgitplugin.moc:90
#14 0x00007f65474e45f8 in QMetaObject::activate (sender=0x10cc430, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff6634ed0) at kernel/qobject.cpp:3287
#15 0x00007f6547e83122 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#16 0x00007f6547e8330f in QAction::activate (this=0x10cc430, event=<value optimized out>) at kernel/qaction.cpp:1257
#17 0x00007f65482c79f3 in QMenuPrivate::activateCausedStack (this=0x14219d0, causedStack=..., action=0x10cc430, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#18 0x00007f65482cd9aa in QMenuPrivate::activateAction (this=0x14219d0, action=0x10cc430, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#19 0x00007f6548c5854d in KMenu::mouseReleaseEvent (this=0x13277c0, e=<value optimized out>) at ../../kdeui/widgets/kmenu.cpp:458
#20 0x00007f6547edacc8 in QWidget::event (this=0x13277c0, event=0x7ffff6635b00) at kernel/qwidget.cpp:8259
#21 0x00007f65482ceb8b in QMenu::event (this=0x13277c0, e=0x7ffff6635b00) at widgets/qmenu.cpp:2415
#22 0x00007f6547e899f4 in QApplicationPrivate::notify_helper (this=0x7e9a80, receiver=0x13277c0, e=0x7ffff6635b00) at kernel/qapplication.cpp:4462
#23 0x00007f6547e8edc3 in QApplication::notify (this=<value optimized out>, receiver=0x13277c0, e=0x7ffff6635b00) at kernel/qapplication.cpp:4023
#24 0x00007f6548b99796 in KApplication::notify (this=0x7ffff6638620, receiver=0x13277c0, event=0x7ffff6635b00) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f65474cf49c in QCoreApplication::notifyInternal (this=0x7ffff6638620, receiver=0x13277c0, event=0x7ffff6635b00) at kernel/qcoreapplication.cpp:731
#26 0x00007f6547e8aa1d in sendEvent (receiver=0x13277c0, event=0x7ffff6635b00, alienWidget=0x0, nativeWidget=0x13277c0, buttonDown=0x7f654896d218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QApplicationPrivate::sendMouseEvent (receiver=0x13277c0, event=0x7ffff6635b00, alienWidget=0x0, nativeWidget=0x13277c0, buttonDown=0x7f654896d218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#28 0x00007f6547f0c3e4 in QETWidget::translateMouseEvent (this=0x13277c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4492
#29 0x00007f6547f0aab7 in QApplication::x11ProcessEvent (this=0x7ffff6638620, event=0x7ffff6636450) at kernel/qapplication_x11.cpp:3680
#30 0x00007f6547f33842 in x11EventSourceDispatch (s=0x7ef8d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007f6543810bcd in g_main_dispatch (context=0x7ee8e0) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#32 g_main_context_dispatch (context=0x7ee8e0) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#33 0x00007f65438113a8 in g_main_context_iterate (context=0x7ee8e0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#34 0x00007f6543811639 in g_main_context_iteration (context=0x7ee8e0, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#35 0x00007f65474fa3ef in QEventDispatcherGlib::processEvents (this=0x7a3db0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#36 0x00007f6547f334de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f65474ce882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f65474ceabc in QEventLoop::exec (this=0x7ffff6636750, flags=...) at kernel/qeventloop.cpp:201
#39 0x00007f65482cb101 in QMenu::exec (this=0x13277c0, p=..., action=0x0) at widgets/qmenu.cpp:2059
#40 0x00007f654b34734b in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#41 0x00007f654b347f35 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#42 0x00007f654b33c62c in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#43 0x00007f654b3414ac in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#44 0x00007f65474e45f8 in QMetaObject::activate (sender=0xb60b20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff6636b60) at kernel/qobject.cpp:3287
#45 0x00007f654a3bc6bf in DolphinView::requestContextMenu(KFileItem const&, KUrl const&, QList<QAction*> const&) () from /usr/lib/libdolphinprivate.so.4
#46 0x00007f654a3bc7bf in DolphinView::openContextMenu(QPoint const&, QList<QAction*> const&) () from /usr/lib/libdolphinprivate.so.4
#47 0x00007f654a3c085f in DolphinView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libdolphinprivate.so.4
#48 0x00007f65474e45f8 in QMetaObject::activate (sender=0xb63260, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff6636d10) at kernel/qobject.cpp:3287
#49 0x00007f654a3d659a in DolphinViewController::requestContextMenu(QPoint const&, QList<QAction*>) () from /usr/lib/libdolphinprivate.so.4
#50 0x00007f654a3d6f1f in DolphinViewController::triggerContextMenuRequest(QPoint const&, QList<QAction*> const&) () from /usr/lib/libdolphinprivate.so.4
#51 0x00007f654a3c791a in DolphinIconsView::contextMenuEvent(QContextMenuEvent*) () from /usr/lib/libdolphinprivate.so.4
#52 0x00007f6547edaa20 in QWidget::event (this=0xc69a20, event=0x7ffff6637930) at kernel/qwidget.cpp:8426
#53 0x00007f654828d156 in QFrame::event (this=0xc69a20, e=0x7ffff6637930) at widgets/qframe.cpp:557
#54 0x00007f654839e46b in QAbstractItemView::viewportEvent (this=0xc69a20, event=0x7ffff6637930) at itemviews/qabstractitemview.cpp:1628
#55 0x00007f65474cf627 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xb64220, event=0x7ffff6637930) at kernel/qcoreapplication.cpp:846
#56 0x00007f6547e899c1 in QApplicationPrivate::notify_helper (this=0x7e9a80, receiver=0xb64220, e=0x7ffff6637930) at kernel/qapplication.cpp:4458
#57 0x00007f6547e8e571 in QApplication::notify (this=<value optimized out>, receiver=0xb64220, e=0x7ffff6637930) at kernel/qapplication.cpp:4102
#58 0x00007f6548b99796 in KApplication::notify (this=0x7ffff6638620, receiver=0xb64220, event=0x7ffff6637930) at ../../kdeui/kernel/kapplication.cpp:311
#59 0x00007f65474cf49c in QCoreApplication::notifyInternal (this=0x7ffff6638620, receiver=0xb64220, event=0x7ffff6637930) at kernel/qcoreapplication.cpp:731
#60 0x00007f6547f0c1ed in sendSpontaneousEvent (this=<value optimized out>, event=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#61 QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4563
#62 0x00007f6547f0aab7 in QApplication::x11ProcessEvent (this=0x7ffff6638620, event=0x7ffff66382b0) at kernel/qapplication_x11.cpp:3680
#63 0x00007f6547f33842 in x11EventSourceDispatch (s=0x7ef8d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#64 0x00007f6543810bcd in g_main_dispatch (context=0x7ee8e0) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#65 g_main_context_dispatch (context=0x7ee8e0) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#66 0x00007f65438113a8 in g_main_context_iterate (context=0x7ee8e0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#67 0x00007f6543811639 in g_main_context_iteration (context=0x7ee8e0, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#68 0x00007f65474fa3ef in QEventDispatcherGlib::processEvents (this=0x7a3db0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#69 0x00007f6547f334de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#70 0x00007f65474ce882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#71 0x00007f65474ceabc in QEventLoop::exec (this=0x7ffff66385b0, flags=...) at kernel/qeventloop.cpp:201
#72 0x00007f65474d2ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#73 0x00007f654b34948b in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#74 0x00007f654af89eff in __libc_start_main (main=0x400740 <_start+256>, argc=5, ubp_av=0x7ffff6638b08, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7ffff6638af8) at libc-start.c:226
#75 0x0000000000400669 in _start ()

Reported using DrKonqi
Comment 1 Sebastian Dörner 2011-12-29 22:09:51 UTC
I cannot reproduce this problem and I'm unsure what causes the segfault. Can you reproduce this reliably? It would also be useful to know your 

git --version

and the command line output of 

git branch -a

in the repository where the bug occurs.

Thanks.
Comment 2 michael 2011-12-30 17:53:22 UTC
I'll try however I just realized I left out an important detail the original was converted from svn to git using git-svn. I have since rebuilt the repository using git only so the commits all have the correct e-mail/name associated. This was the result of an unrelated configuration issue on my part. I still have the original svn repository and try to recreate the issue using that. My current git version is 1.7.5.4. I don't know if this is the same as the one I had when I reported the issue.
Comment 3 Sebastian Dörner 2012-04-14 22:34:58 UTC
Related issue: #295400 (different loc, but same thing in principle).
Comment 4 Sebastian Dörner 2012-04-22 23:24:20 UTC
SVN commit 1291054 by doerner:

Git pull dialog: Don't segfault on git-svn's pseudo branches, disable ok if no valid branch selected


 M  +3 -1      pulldialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1291054
Comment 5 Sebastian Dörner 2012-04-22 23:28:14 UTC
SVN commit 1291055 by doerner:

Backport commit 1291054: Git pull dialog: Don't segfault on git-svn's pseudo branches, disable ok if no valid branch selected

FIXED-IN: 4.8.3


 M  +3 -1      pulldialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1291055