Bug 206665 - Crash creating new project with local svn (Crash in svn plugin destructor)
Summary: Crash creating new project with local svn (Crash in svn plugin destructor)
Status: RESOLVED DUPLICATE of bug 201942
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: subversion (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 200692 214613 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-07 20:44 UTC by Jonathan Thomas
Modified: 2009-12-16 07:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Thomas 2009-09-07 20:44:00 UTC
Version:           3.9.95 (using KDE 4.3.1)
OS:                Linux
Installed from:    Ubuntu Packages

We received a report at https://launchpad.net/bugs/425723 documenting a crash that occurred after hitting "Finish" on the new project wizard. The project was of the "qt4 cmake gui application" type, and the user gave "localhost" as the svn repository.

The stacktrace looks similar to that of bug 201942, but they happen in different circumstances and the traces differ a bit.

Stacktrace:

#0  0x00ada422 in __kernel_vsyscall ()
#1  0x01a8e4d1 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
	resultvar = <value optimized out>
	pid = 29065204
	selftid = 5270
#2  0x01a91932 in *__GI_abort () at abort.c:92
	act = {__sigaction_handler = {sa_handler = 0x3f0, 
    sa_sigaction = 0x3f0}, sa_mask = {__val = {3217168260, 28732504, 5755492, 
      786432, 95262576, 94924936, 0, 25187, 3217168408, 94903368, 68, 2, 
      3217168260, 28478254, 9, 0, 3217168336, 29065204, 63, 3217169792, 
      3217168452, 28595668, 2, 3217168336, 9, 0, 8, 0, 7, 28857215, 28857211, 
      28852787}}, sa_flags = 28852761, sa_restorer = 0x1b866c7}
	sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0x01ac4f85 in __libc_message (do_abort=2, 
    fmt=0x1b884b0 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
	ap = <value optimized out>
	fd = -1077798532
	on_2 = <value optimized out>
	list = <value optimized out>
	nlist = <value optimized out>
	cp = <value optimized out>
	written = false
#4  0x01acf091 in malloc_printerr (action=<value optimized out>, 
    str=0x6 <Address 0x6 out of bounds>, ptr=0xbfc22c44) at malloc.c:6217
	buf = "bfc22c44"
	cp = <value optimized out>
#5  0x01ad0792 in _int_free (av=<value optimized out>, 
    p=<value optimized out>) at malloc.c:4750
	size = 1226920
	nextchunk = (mchunkptr) 0x1496
	nextsize = 0
	prevsize = <value optimized out>
	bck = <value optimized out>
	fwd = <value optimized out>
	errstr = 0x6 <Address 0x6 out of bounds>
	__PRETTY_FUNCTION__ = "_int_free"
#6  0x01ad383d in *__GI___libc_free (mem=0xbfc22c44) at malloc.c:3716
	ar_ptr = (mstate) 0x1bb93a0
	p = (mchunkptr) 0x6
#7  0x019126f1 in operator delete (ptr=0x0)
    at ../../../../src/libstdc++-v3/libsupc++/del_op.cc:44
No locals.
#8  0x00c18dd5 in QEventLoop::~QEventLoop () from /usr/lib/libQtCore.so.4
#9  0x00c2945f in QObjectPrivate::deleteChildren ()
   from /usr/lib/libQtCore.so.4
#10 0x00c317bf in QObject::~QObject () from /usr/lib/libQtCore.so.4
#11 0x001ea691 in ~KJob (this=0xa5620e8) at ../../kdecore/jobs/kjob.cpp:72
No locals.
#12 0x057933df in ~VcsJob (this=0xa5620e8) at ../../outputview/outputjob.h:37
No locals.
#13 0x0338d355 in ~SvnJobBase (this=0xa5620e8)
    at ../../../plugins/subversion/svnjobbase.cpp:40
No locals.
#14 0x033acc4a in ~SvnImportJob (this=0xa5620e8)
    at ../../../plugins/subversion/svnimportjob.h:30
No locals.
#15 0x00c2945f in QObjectPrivate::deleteChildren ()
   from /usr/lib/libQtCore.so.4
#16 0x00c317bf in QObject::~QObject () from /usr/lib/libQtCore.so.4
#17 0x0039ba03 in ~IPlugin (this=0x9e5b518)
    at ../../interfaces/iplugin.cpp:144
No locals.
#18 0x0337ef13 in ~KDevSvnPlugin (this=0x9e5b518)
    at ../../../plugins/subversion/kdevsvnplugin.cpp:98
No locals.
#19 0x003fe78d in KDevelop::PluginController::unloadPlugin (this=0x9c7de60, 
    plugin=0x9e5b518, deletion=KDevelop::PluginController::Now)
    at ../../shell/plugincontroller.cpp:314
No locals.
#20 0x003fea3d in KDevelop::PluginController::cleanup (this=0x9c7de60)
    at ../../shell/plugincontroller.cpp:194
No locals.
#21 0x004057ef in KDevelop::Core::cleanup (this=0x9c1ced8)
    at ../../shell/core.cpp:263
No locals.
#22 0x003f35fd in ~MainWindow (this=0x9c190b0)
    at ../../shell/mainwindow.cpp:99
No locals.
#23 0x00c29125 in qDeleteInEventHandler () from /usr/lib/libQtCore.so.4
#24 0x00c2a61b in QObject::event () from /usr/lib/libQtCore.so.4
#25 0x00e84886 in QWidget::event () from /usr/lib/libQtGui.so.4
#26 0x01251f67 in QMainWindow::event () from /usr/lib/libQtGui.so.4
#27 0x00837094 in KMainWindow::event (this=0x9c190b0, ev=0xab3ce00)
    at ../../kdeui/widgets/kmainwindow.cpp:1094
	d = (KMainWindowPrivate * const) 0x6
#28 0x0087d5ef in KXmlGuiWindow::event (this=0x9c190b0, ev=0xab3ce00)
    at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
	ret = <value optimized out>
#29 0x00e2ff44 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#30 0x00e375ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#31 0x00750f7a in KApplication::notify (this=0xbfc252f4, receiver=0x9c190b0, 
    event=0xab3ce00) at ../../kdeui/kernel/kapplication.cpp:302
No locals.
#32 0x00c1a6bb in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#33 0x00c1b2a2 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#34 0x00c1b46d in QCoreApplication::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#35 0x00c453ef in ?? () from /usr/lib/libQtCore.so.4
#36 0x05ab5d78 in IA__g_main_context_dispatch (context=0x9b42c98)
    at /build/buildd/glib2.0-2.21.5/glib/gmain.c:1960
No locals.
#37 0x05ab9620 in g_main_context_iterate (context=0x9b42c98, 
    block=<value optimized out>, dispatch=1, self=0x9b40b90)
    at /build/buildd/glib2.0-2.21.5/glib/gmain.c:2591
	max_priority = 0
	timeout = 0
	some_ready = 1
	nfds = <value optimized out>
	allocated_nfds = <value optimized out>
	fds = <value optimized out>
	__PRETTY_FUNCTION__ = "g_main_context_iterate"
#38 0x05ab9753 in IA__g_main_context_iteration (context=0x9b42c98, 
    may_block=1) at /build/buildd/glib2.0-2.21.5/glib/gmain.c:2654
	retval = <value optimized out>
#39 0x00c4501c in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#40 0x00ed0ad5 in ?? () from /usr/lib/libQtGui.so.4
#41 0x00c18c69 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#42 0x00c190ba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#43 0x001ea54e in KJob::exec (this=0xa5620e8)
    at ../../kdecore/jobs/kjob.cpp:202
	d = (KJobPrivate * const) 0xab54590
	wasAutoDelete = true
	loop = <incomplete type>
#44 0x026c984a in initializeCVCS (cvcs=0x9e5b52c, info=@0xbfc22fc0, 
    scratchArea=@0xbfc22eec)
    at ../../../plugins/appwizard/appwizardplugin.cpp:179
	__PRETTY_FUNCTION__ = "bool<unnamed>::initializeCVCS(KDevelop::ICentralizedVersionControl*, const ApplicationInfo&, KTempDir&)"
	job = <value optimized out>
#45 0x026cb720 in AppWizardPlugin::createProject (this=0xa132c50, 
    info=@0xbfc22fc0) at ../../../plugins/appwizard/appwizardplugin.cpp:288
	dvcs = (KDevelop::IDistributedVersionControl *) 0x0
	cvcs = (KDevelop::ICentralizedVersionControl *) 0x0
	success = <value optimized out>
	tmpdir = {d = 0xa57d190}
	unpackDir = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 23986}, alloc = 0, size = 0, data = 0x8053322, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {
      _q_value = 1439}, alloc = 0, size = 0, data = 0xd0d46e, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, d = 0x9ec3f40, static codecForCStrings = 0x0}
	plugin = (class KDevelop::IPlugin *) 0x9e5b518
	templateInfo = {d_ptr = 0xab8e228}
	__PRETTY_FUNCTION__ = "QString AppWizardPlugin::createProject(const ApplicationInfo&)"
	dest = {<QUrl> = {d = 0xa562aa8}, d = 0x0}
	arch = (class KArchive *) 0x0
	templateName = {static null = {<No data fields>}, 
  static shared_null = {ref = {_q_value = 23986}, alloc = 0, size = 0, 
    data = 0x8053322, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
  static shared_empty = {ref = {_q_value = 1439}, alloc = 0, size = 0, 
    data = 0xd0d46e, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xa22d0a8, 
  static codecForCStrings = 0x0}
	templateArchive = {static null = {<No data fields>}, 
  static shared_null = {ref = {_q_value = 23986}, alloc = 0, size = 0, 
    data = 0x8053322, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
  static shared_empty = {ref = {_q_value = 1439}, alloc = 0, size = 0, 
    data = 0xd0d46e, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xab5fec8, 
  static codecForCStrings = 0x0}
	projectFileName = {static null = {<No data fields>}, 
  static shared_null = {ref = {_q_value = 23986}, alloc = 0, size = 0, 
    data = 0x8053322, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
  static shared_empty = {ref = {_q_value = 1439}, alloc = 0, size = 0, 
    data = 0xd0d46e, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x33865d7, 
  static codecForCStrings = 0x0}
#46 0x026cc097 in AppWizardPlugin::slotNewProject (this=0xa132c50)
    at ../../../plugins/appwizard/appwizardplugin.cpp:105
	project = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 23986}, alloc = 0, size = 0, data = 0x8053322, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {
      _q_value = 1439}, alloc = 0, size = 0, data = 0xd0d46e, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, d = 0xbfc23058, static codecForCStrings = 0x0}
	dlg = {<KAssistantDialog> = {<KPageDialog> = {<KDialog> = {<> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x169b484, 
            stringdata = 0x8cd240 "KDialog", data = 0x8cd680, 
            extradata = 0x0}}, d_ptr = 0x9dda470}, static staticMetaObject = {
        d = {superdata = 0x947164, stringdata = 0x8da380 "KPageDialog", 
          data = 0x8da400, extradata = 0x0}}}, static staticMetaObject = {
      d = {superdata = 0x94b084, stringdata = 0x8c5da0 "KAssistantDialog", 
        data = 0x8c5de0, extradata = 0x0}}, d = 0xa93b740}, 
  static staticMetaObject = {d = {superdata = 0x946d24, 
      stringdata = 0x26d6060 "AppWizardDialog", data = 0x26d60c0, 
      extradata = 0x0}}, m_pageItems = {{d = 0xa1fd150, e = 0xa1fd150}}, 
  m_invalidMapper = 0xa79cd60, m_validMapper = 0xa7ae1a8, 
  m_selectionPage = 0xa4a3798, m_vcsPage = 0xa7f2610}
#47 0x026cc281 in AppWizardPlugin::qt_metacall (this=0xa132c50, 
    _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfc23178)
    at ./appwizardplugin.moc:68
No locals.
#48 0x00c30253 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#49 0x00c306c8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#50 0x00e299a1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#51 0x00e2af22 in QAction::activate () from /usr/lib/libQtGui.so.4
#52 0x0127869c in ?? () from /usr/lib/libQtGui.so.4
#53 0x0127ed1b in ?? () from /usr/lib/libQtGui.so.4
#54 0x0127f8d7 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#55 0x0083b495 in KMenu::mouseReleaseEvent (this=0x9da7438, e=0xbfc238d0)
    at ../../kdeui/widgets/kmenu.cpp:456
No locals.
#56 0x00e84f92 in QWidget::event () from /usr/lib/libQtGui.so.4
#57 0x01281b14 in QMenu::event () from /usr/lib/libQtGui.so.4
#58 0x00e2ff44 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#59 0x00e38023 in QApplication::notify () from /usr/lib/libQtGui.so.4
#60 0x00750f7a in KApplication::notify (this=0xbfc252f4, receiver=0x9da7438, 
    event=0xbfc238d0) at ../../kdeui/kernel/kapplication.cpp:302
No locals.
#61 0x00c1a6bb in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#62 0x00e36f5e in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#63 0x00ea5ba7 in ?? () from /usr/lib/libQtGui.so.4
#64 0x00ea4b6b in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#65 0x00ed13f2 in ?? () from /usr/lib/libQtGui.so.4
#66 0x05ab5d78 in IA__g_main_context_dispatch (context=0x9b42c98)
    at /build/buildd/glib2.0-2.21.5/glib/gmain.c:1960
No locals.
#67 0x05ab9620 in g_main_context_iterate (context=0x9b42c98, 
    block=<value optimized out>, dispatch=1, self=0x9b40b90)
    at /build/buildd/glib2.0-2.21.5/glib/gmain.c:2591
	max_priority = 2147483647
	timeout = 29973
	some_ready = 1
	nfds = <value optimized out>
	allocated_nfds = <value optimized out>
	fds = <value optimized out>
	__PRETTY_FUNCTION__ = "g_main_context_iterate"
#68 0x05ab9753 in IA__g_main_context_iteration (context=0x9b42c98, 
    may_block=1) at /build/buildd/glib2.0-2.21.5/glib/gmain.c:2654
	retval = <value optimized out>
#69 0x00c4501c in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#70 0x00ed0ad5 in ?? () from /usr/lib/libQtGui.so.4
#71 0x00c18c69 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#72 0x00c190ba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#73 0x00c1b52f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#74 0x00e2fdc7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#75 0x0804f3b3 in main (argc=1, argv=0xbfc25804) at ../../app/main.cpp:181
	aboutData = {d = 0x9b3aa68}
	app = {<> = {<No data fields>}, static staticMetaObject = {d = {
      superdata = 0x1691f48, stringdata = 0x8d7860 "KApplication", 
      data = 0x8d7a00, extradata = 0x0}}, static loadedByKdeinit = false, 
  static KApp = 0xbfc252f4, d = 0x9b6f3e8}
	count = 0
	__PRETTY_FUNCTION__ = "int main(int, char**)"
	description = "The KDevelop Integrated Development Environment"
	options = {d = 0x9b405e0}
	args = (KCmdLineArgs *) 0x9b40800
	core = (class KDevelop::Core *) 0x9c1ced8
	projectNames = {<QList<QString>> = {{p = {static shared_null = {
          ref = {_q_value = 37459}, alloc = 0, begin = 0, end = 0, 
          sharable = 1, array = {0x0}}, d = 0x8053344}, 
      d = 0x8053344}}, <No data fields>}
Comment 1 Andreas Pakulat 2009-09-07 20:59:22 UTC
The problem is either in Qt or libc 2.10, not in kdevelop. The "workaround" is already applied by KDE 4.3's startkde script, for usage in other DE's setting MALLOC_CHECK=1 makes libc not abort the application. For more information see http://www.gnu.org/s/libc/manual/html_node/Heap-Consistency-Checking.html

*** This bug has been marked as a duplicate of bug 201942 ***
Comment 2 Jonathan Thomas 2009-12-16 07:21:05 UTC
*** Bug 200692 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Thomas 2009-12-16 07:21:23 UTC
*** Bug 214613 has been marked as a duplicate of this bug. ***