Bug 289764 - KDevelop crash on editor right click
Summary: KDevelop crash on editor right click
Status: RESOLVED DUPLICATE of bug 283980
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: subversion (show other bugs)
Version: 0.9.94
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-25 01:57 UTC by slimy300
Modified: 2012-01-26 21:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (26.90 KB, text/plain)
2012-01-02 09:51 UTC, Christian Holzberger
Details
New crash information added by DrKonqi (22.80 KB, text/plain)
2012-01-24 04:45 UTC, Aaron Williams
Details
New crash information added by DrKonqi (44.18 KB, text/plain)
2012-01-24 07:50 UTC, Aaron Williams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description slimy300 2011-12-25 01:57:33 UTC
Application: kdevelop (4.2.3)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
1. Open html file in editor.
2. Right click in editor content area somewhere.
3. Result is immediate crash of kdevelop (Before a context menu or anything else appears).

This happened with 2 different, small html files, after fresh kdevelop installation and first time use.
Other actions like i.e. going into settings and changing several kdev aspects work fine.

(Another problem arised in bug dialogs: After adding debug repos, the dialog asking for doing so does NOT recognize the now activated repositories and asks same question again and again, till i press abort. Thereafter all went smooth (debug syms downloaded, followed by further dialogs).)

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f6cf0885760 (LWP 8876))]

Thread 7 (Thread 0x7f6cd8f6d700 (LWP 8877)):
#0  0x00007f6ced79b1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6ceed6042e in wait (time=1000, this=0x1920520) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x19201d0, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6ceb193f4b in ?? () from /usr/lib64/libkdevplatformlanguage.so.3
#4  0x00007f6ceed60025 in QThreadPrivate::start (arg=0x19201b0) at thread/qthread_unix.cpp:331
#5  0x00007f6ced796f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f6ceda8553d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f6cca1d7700 (LWP 8892)):
#0  0x00007f6ceda7c423 in poll () from /lib64/libc.so.6
#1  0x00007f6ce83d1a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6ce83d1f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6ceee71576 in QEventDispatcherGlib::processEvents (this=0x7f6cc40008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f6ceee45a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6ceee45c1f in QEventLoop::exec (this=0x7f6cca1d6df0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f6ceed5d5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f6ceee28aef in QInotifyFileSystemWatcherEngine::run (this=0x27fa060) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f6ceed60025 in QThreadPrivate::start (arg=0x27fa060) at thread/qthread_unix.cpp:331
#9  0x00007f6ced796f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f6ceda8553d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f6cc3338700 (LWP 8903)):
#0  0x00007f6ced79ae6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6ce51139dc in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f6ce5113b09 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f6ced796f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6ceda8553d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f6cc2a37700 (LWP 8904)):
#0  0x00007f6ceda7c423 in poll () from /lib64/libc.so.6
#1  0x00007f6ce83d1a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6ce83d1f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6ceee71576 in QEventDispatcherGlib::processEvents (this=0x7f6cb80008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f6ceee45a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6ceee45c1f in QEventLoop::exec (this=0x7f6cc2a36e20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f6ceed5d5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f6ceed60025 in QThreadPrivate::start (arg=0x18e6020) at thread/qthread_unix.cpp:331
#8  0x00007f6ced796f05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f6ceda8553d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f6cc0ceb700 (LWP 8945)):
#0  0x00007f6ced79ae6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6cd9806852 in ?? () from /usr/lib64/libQtScript.so.4
#2  0x00007f6cd9806889 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x00007f6ced796f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6ceda8553d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6c77bef700 (LWP 8946)):
[KCrash Handler]
#6  0x00007f6cd328476b in svn_wc__db_wcroot_parse_local_abspath () from /usr/lib64/libsvn_wc-1.so.0
#7  0x00007f6cd327bd8b in svn_wc__db_read_info () from /usr/lib64/libsvn_wc-1.so.0
#8  0x00007f6cd324eeaa in svn_wc__internal_walk_children () from /usr/lib64/libsvn_wc-1.so.0
#9  0x00007f6cd3249221 in svn_wc__get_info () from /usr/lib64/libsvn_wc-1.so.0
#10 0x00007f6cd373d4ba in svn_client_info3 () from /usr/lib64/libsvn_client-1.so.0
#11 0x00007f6cd3735233 in svn_client_info2 () from /usr/lib64/libsvn_client-1.so.0
#12 0x00007f6cd3735273 in svn_client_info () from /usr/lib64/libsvn_client-1.so.0
#13 0x00007f6cd39afb72 in svn::Client::info (this=<optimized out>, pathOrUrl=..., recurse=false, revision=<optimized out>, pegRevision=...) at /usr/src/debug/kdevplatform-1.2.3/plugins/subversion/kdevsvncpp/client_status.cpp:404
#14 0x00007f6cd399778d in SvnInternalInfoJob::run (this=0x3284900) at /usr/src/debug/kdevplatform-1.2.3/plugins/subversion/svninfojob.cpp:47
#15 0x00007f6ce5af9d31 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f6c77beedc0, th=0x3030bd0, job=0x3284900) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Job.cpp:106
#16 0x00007f6ce5af9e5c in ThreadWeaver::Job::execute (this=0x3284900, th=0x3030bd0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Job.cpp:135
#17 0x00007f6ce5af953f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6c77beee40, parent=0x983ef0, th=0x3030bd0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:95
#18 0x00007f6ce5af95fb in ThreadWeaver::Thread::run (this=0x3030bd0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:142
#19 0x00007f6ceed60025 in QThreadPrivate::start (arg=0x3030bd0) at thread/qthread_unix.cpp:331
#20 0x00007f6ced796f05 in start_thread () from /lib64/libpthread.so.0
#21 0x00007f6ceda8553d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6cf0885760 (LWP 8876)):
#0  0x00007f6ceda7c423 in poll () from /lib64/libc.so.6
#1  0x00007f6ce3b6dc62 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f6ce3b6e1bf in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007f6ce3b6e244 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x00007f6ce9ebdab7 in _XSend () from /usr/lib64/libX11.so.6
#5  0x00007f6ce9ebe00b in _XReply () from /usr/lib64/libX11.so.6
#6  0x00007f6ce9eb3610 in XQueryPointer () from /usr/lib64/libX11.so.6
#7  0x00007f6cee29adbf in QCursor::pos() () from /usr/lib64/libQtGui.so.4
#8  0x00007f6cee216fb5 in QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) () from /usr/lib64/libQtGui.so.4
#9  0x00007f6cee26a0e2 in QWidget::setVisible(bool) () from /usr/lib64/libQtGui.so.4
#10 0x00007f6cdeb4f3b4 in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#11 0x00007f6ceee469a8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x2904050, event=0x7fff8dd7ab80) at kernel/qcoreapplication.cpp:902
#12 0x00007f6cee215bff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x00007f6cee21aac1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x00007f6cef633e36 in KApplication::notify (this=0x7fff8dd7f210, receiver=0x2904050, event=0x7fff8dd7ab80) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#15 0x000000000040adb6 in _start ()

Reported using DrKonqi
Comment 1 Christian Holzberger 2012-01-02 09:51:16 UTC
Created attachment 67330 [details]
New crash information added by DrKonqi

kdevelop (4.2.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

Right click in JS File crashes whole IDE

-- Backtrace (Reduced):
#6  0x00007f9d86b59e40 in svn_wc__db_wcroot_parse_local_abspath () from /usr/lib/libsvn_wc-1.so.1
#7  0x00007f9d86b4dfeb in svn_wc__db_read_info () from /usr/lib/libsvn_wc-1.so.1
#8  0x00007f9d86b2408a in svn_wc__internal_walk_children () from /usr/lib/libsvn_wc-1.so.1
#9  0x00007f9d86b1b7f1 in svn_wc__get_info () from /usr/lib/libsvn_wc-1.so.1
#10 0x00007f9d87003112 in svn_client_info3 () from /usr/lib/libsvn_client-1.so.1
Comment 2 Aaron Williams 2012-01-24 04:45:44 UTC
Created attachment 68124 [details]
New crash information added by DrKonqi

kdevelop (4.2.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

Crashes every time I right click in the editor window. I use a split-pane with the editor so there's two windows.

-- Backtrace (Reduced):
#6  svn_wc__db_wcroot_parse_local_abspath (wcroot=0x7fa357db35b0, local_relpath=0x7fa357db35b8, db=0x0, local_abspath=0x7fa357dbd758 "/home/aaronw/projects/tot/sdk/bootloader/u-boot/drivers/mmc/octeon_mmc.c", result_pool=0x7fa34fffe028, scratch_pool=0x7fa34fffe028) at subversion/libsvn_wc/wc_db_wcroot.c:383
#7  0x00007fa3cf5d4dbb in svn_wc__db_read_info (status=0x7fa357db370c, kind=0x7fa357db3704, revision=0x0, repos_relpath=0x0, repos_root_url=0x0, repos_uuid=0x0, changed_rev=0x0, changed_date=0x0, changed_author=0x0, depth=0x0, checksum=0x0, target=0x0, original_repos_relpath=0x0, original_root_url=0x0, original_uuid=0x0, original_revision=0x0, lock=0x0, recorded_size=0x0, recorded_mod_time=0x0, changelist=0x0, conflicted=0x0, op_root=0x0, have_props=0x0, props_mod=0x0, have_base=0x0, have_more_work=0x0, have_work=0x0, db=0x0, local_abspath=0x7fa357dbd758 "/home/aaronw/projects/tot/sdk/bootloader/u-boot/drivers/mmc/octeon_mmc.c", result_pool=0x7fa34fffe028, scratch_pool=0x7fa34fffe028) at subversion/libsvn_wc/wc_db.c:6711
#8  0x00007fa3cf5a7eda in svn_wc__internal_walk_children (db=0x0, local_abspath=0x7fa357dbd758 "/home/aaronw/projects/tot/sdk/bootloader/u-boot/drivers/mmc/octeon_mmc.c", show_hidden=0, changelist_filter=0x0, walk_callback=0x7fa3cf5a1570 <info_found_node_callback>, walk_baton=0x7fa357db3790, walk_depth=svn_depth_empty, cancel_func=0x7fa3d45ab5d0, cancel_baton=0x113fd820, scratch_pool=0x7fa34fffe028) at subversion/libsvn_wc/node.c:697
#9  0x00007fa3cf5a2251 in svn_wc__get_info (wc_ctx=0x7fa3ec250598, local_abspath=0x7fa357dbd758 "/home/aaronw/projects/tot/sdk/bootloader/u-boot/drivers/mmc/octeon_mmc.c", depth=svn_depth_empty, fetch_excluded=<optimized out>, fetch_actual_only=1, changelist_filter=0x0, receiver=0x7fa3d4335f70 <wc_info_receiver>, receiver_baton=0x7fa357db3870, cancel_func=0x7fa3d45ab5d0, cancel_baton=0x113fd820, scratch_pool=0x7fa357dbd028) at subversion/libsvn_wc/info.c:453
#10 0x00007fa3d433653a in svn_client_info3 (abspath_or_url=<optimized out>, peg_revision=0x7fa3d47d0070, revision=<optimized out>, depth=svn_depth_empty, fetch_excluded=<optimized out>, fetch_actual_only=<optimized out>, changelists=0x0, receiver=0x7fa3d432b5e0 <info_receiver_relpath_wrapper>, receiver_baton=0x7fa357db39a0, ctx=0x113fd850, pool=0x7fa357dbd028) at subversion/libsvn_client/info.c:297
Comment 3 Aaron Williams 2012-01-24 07:50:08 UTC
Created attachment 68127 [details]
New crash information added by DrKonqi

kdevelop (4.2.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:
This appears to be related to subversion. In all cases I see it crashing in the subversion client library where the database variable in the context is NULL. This might be related to upgrading Subversion to 1.7.2 from 1.6.1. Note that I also recompiled kdevelop and kdevplatform on OpenSUSE 12.1 after installing the new subversion (compiled from sources) and I see exactly the same behavior.


- Custom settings of the application:
Compiled with SVN 1.7.2 instead of 1.6.1.

-- Backtrace (Reduced):
#6  svn_wc__db_wcroot_parse_local_abspath (wcroot=0x7f23931725b0, local_relpath=0x7f23931725b8, db=0x0, local_abspath=0x7f2371146758 "/home/aaronw/projects/tot/sdk/bootloader/u-boot/drivers/mmc/octeon_mmc.c", result_pool=0x7f237113c028, scratch_pool=0x7f237113c028) at subversion/libsvn_wc/wc_db_wcroot.c:383
#7  0x00007f239b370dbb in svn_wc__db_read_info (status=0x7f239317270c, kind=0x7f2393172704, revision=0x0, repos_relpath=0x0, repos_root_url=0x0, repos_uuid=0x0, changed_rev=0x0, changed_date=0x0, changed_author=0x0, depth=0x0, checksum=0x0, target=0x0, original_repos_relpath=0x0, original_root_url=0x0, original_uuid=0x0, original_revision=0x0, lock=0x0, recorded_size=0x0, recorded_mod_time=0x0, changelist=0x0, conflicted=0x0, op_root=0x0, have_props=0x0, props_mod=0x0, have_base=0x0, have_more_work=0x0, have_work=0x0, db=0x0, local_abspath=0x7f2371146758 "/home/aaronw/projects/tot/sdk/bootloader/u-boot/drivers/mmc/octeon_mmc.c", result_pool=0x7f237113c028, scratch_pool=0x7f237113c028) at subversion/libsvn_wc/wc_db.c:6711
#8  0x00007f239b343eda in svn_wc__internal_walk_children (db=0x0, local_abspath=0x7f2371146758 "/home/aaronw/projects/tot/sdk/bootloader/u-boot/drivers/mmc/octeon_mmc.c", show_hidden=0, changelist_filter=0x0, walk_callback=0x7f239b33d570 <info_found_node_callback>, walk_baton=0x7f2393172790, walk_depth=svn_depth_empty, cancel_func=0x7f23a04345d0 <svn::Context::Data::onCancel(void*)>, cancel_baton=0x116e2eb0, scratch_pool=0x7f237113c028) at subversion/libsvn_wc/node.c:697
#9  0x00007f239b33e251 in svn_wc__get_info (wc_ctx=0x7f23b6cf8598, local_abspath=0x7f2371146758 "/home/aaronw/projects/tot/sdk/bootloader/u-boot/drivers/mmc/octeon_mmc.c", depth=svn_depth_empty, fetch_excluded=<optimized out>, fetch_actual_only=1, changelist_filter=0x0, receiver=0x7f23a01bef70 <wc_info_receiver>, receiver_baton=0x7f2393172870, cancel_func=0x7f23a04345d0 <svn::Context::Data::onCancel(void*)>, cancel_baton=0x116e2eb0, scratch_pool=0x7f2371146028) at subversion/libsvn_wc/info.c:453
#10 0x00007f23a01bf53a in svn_client_info3 (abspath_or_url=<optimized out>, peg_revision=0x7f23a0659070, revision=<optimized out>, depth=svn_depth_empty, fetch_excluded=<optimized out>, fetch_actual_only=<optimized out>, changelists=0x0, receiver=0x7f23a01b45e0 <info_receiver_relpath_wrapper>, receiver_baton=0x7f23931729a0, ctx=0x116e2ee0, pool=0x7f2371146028) at subversion/libsvn_client/info.c:297
Comment 4 Aaron Williams 2012-01-24 07:53:15 UTC
Since this is SVN related I'm adding Andreas Pakulat.
Comment 5 Andreas Pakulat 2012-01-24 08:31:32 UTC
Please don't add random people to the cc of a bugreport, just because they touched the code at some point in the past. Those still active in a project will see your bugreport anyway since they monitor the incoming bugs. That being said, this bug is known and fixed in the upcoming 4.3 version of kdevelop.
Comment 6 Milian Wolff 2012-01-26 21:18:11 UTC
duplicate, please either upgrade to kdevelop 4.3 beta 1 or downgrade your svn to 1.6.x

*** This bug has been marked as a duplicate of bug 283980 ***