<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Bitstream Vera Sans'; font-size:10pt; font-weight:400; font-style:normal;">Hi,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p>Here is a crash which currently defeats my debugging skills: on x64, go to project->new and create a new c++ -> kde 4 gui project (or possibly others, I didn't test), and you get the following:<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p>#5 operator+= (s=@0x7fffe3ff9db0, n=@0xeaa968)<br>
at /home/kde4/qt4/include/QtCore/qatomic_x86_64.h:123<br>
#6 0x00007f9fda795f66 in KMacroMapExpander<QString, QString>::expandEscapedMacro (this=0x7fffe3ff9e00, str=<value optimized out>, pos=<value optimized out>, <br>
ret=@0x7fffe3ff9db0)<br>
at /home/kde4/kdesvn/kdelibs/kdecore/util/kmacroexpander.cpp:241<br>
#7 0x00007f9fda793963 in KMacroExpanderBase::expandMacros (<br>
this=0x7fffe3ff9e00, str=@0x7fffe3ff9f80)<br>
at /home/kde4/kdesvn/kdelibs/kdecore/util/kmacroexpander.cpp:62<br>
#8 0x00007f9fda794789 in KMacroExpander::expandMacros (<br>
ostr=<value optimized out>, map=@0xc76e10, c=<value optimized out>)<br>
at /home/kde4/kdesvn/kdelibs/kdecore/util/kmacroexpander.cpp:319<br>
#9 0x00007f9fc3ace050 in AppWizardPlugin::copyFileAndExpandMacros (<br>
this=0xc76de0, source=<value optimized out>, dest=<value optimized out>)<br>
at /home/kde4/kdesvn/kdevelop/plugins/appwizard/appwizardplugin.cpp:341<br>
#10 0x00007f9fc3aceb51 in AppWizardPlugin::unpackArchive (this=0xc76de0, <br>
dir=0xe5b730, dest=@0x7fffe3ffaaa0)<br>
at /home/kde4/kdesvn/kdevelop/plugins/appwizard/appwizardplugin.cpp:314<br>
#11 0x00007f9fc3acfa41 in AppWizardPlugin::createProject (this=0xc76de0, <br>
info=@0x7fffe3ffad30)<br>
at /home/kde4/kdesvn/kdevelop/plugins/appwizard/appwizardplugin.cpp:174<br>
#12 0x00007f9fc3ad1866 in AppWizardPlugin::slotNewProject (this=0xc76de0)<br>
at /home/kde4/kdesvn/kdevelop/plugins/appwizard/appwizardplugin.cpp:99<br>
#13 0x00007f9fc3ad19d8 in AppWizardPlugin::qt_metacall (this=0xc76de0, <br>
_c=QMetaObject::InvokeMetaMethod, _id=32, _a=<value optimized out>)<br>
at /home/kde4/kdesvn/build/kdevelop/plugins/appwizard/appwizardplugin.moc:69<br>
#14 0x00007f9fdbb27f10 in QMetaObject::activate (sender=0xc5a970, <br>
from_signal_index=<value optimized out>, to_signal_index=6, argv=0x0)<br>
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3007<br>
#15 0x00007f9fd59a69d7 in QAction::triggered (this=0xe71858, _t1=false)<br>
at .moc/release-shared/moc_qaction.cpp:216<br>
#16 0x00007f9fd59a7190 in QAction::activate (this=0xc5a970, <br>
event=<value optimized out>)<br>
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qaction.cpp:1119<br>
#17 0x00007f9fd5ce7293 in QMenuPrivate::activateAction (this=0x82dba0, <br>
action=0xc5a970, action_e=QAction::Trigger, self=true)<br>
at /home/kde4/kdesvn/qt-copy/src/gui/widgets/qmenu.cpp:1005<br>
#18 0x00007f9fda0321a1 in KMenu::mouseReleaseEvent (this=0x840bc0, <br>
e=0x7f9fdbddf658) at /home/kde4/kdesvn/kdelibs/kdeui/widgets/kmenu.cpp:452<br>
#19 0x00007f9fd59f8604 in QWidget::event (this=0xe71858, event=0x7fffe3ffbac0)<br>
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:6927<br>
#20 0x00007f9fd5ce87db in QMenu::event (this=0x840bc0, e=0x7fffe3ffbac0)<br>
at /home/kde4/kdesvn/qt-copy/src/gui/widgets/qmenu.cpp:2256<br>
#21 0x00007f9fd59abaed in QApplicationPrivate::notify_helper (this=0x69e520, <br>
receiver=0x840bc0, e=0x7fffe3ffbac0)<br>
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3772<br>
#22 0x00007f9fd59b2756 in QApplication::notify (this=<value optimized out>, <br>
receiver=0x840bc0, e=0x7fffe3ffbac0)<br>
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3501<br>
#23 0x00007f9fd9f7581b in KApplication::notify (this=0x7fffe3ffc790, <br>
receiver=0x840bc0, event=0x7fffe3ffbac0)<br>
at /home/kde4/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311<br>
#24 0x00007f9fdbb1682c in QCoreApplication::notifyInternal (<br>
this=0x7fffe3ffc790, receiver=0x840bc0, event=0x7fffe3ffbac0)<br>
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583<br>
#25 0x00007f9fd59b3a28 in QApplicationPrivate::sendMouseEvent (<br>
receiver=0x840bc0, event=0x7fffe3ffbac0, alienWidget=0x0, <br>
nativeWidget=0x840bc0, buttonDown=<value optimized out>, <br>
lastMouseReceiver=@0x7f9fd62438e0)<br>
at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:218<br>
#26 0x00007f9fd5a09c1b in QETWidget::translateMouseEvent (this=0x840bc0, <br>
event=<value optimized out>)<br>
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4067<br>
#27 0x00007f9fd5a08c93 in QApplication::x11ProcessEvent (this=0x7fffe3ffc790, <br>
event=0x7fffe3ffc380)<br>
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3255<br>
#28 0x00007f9fd5a2c9bc in x11EventSourceDispatch (s=0x6a1c90, callback=0, <br>
user_data=0x0)<br>
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:148<br>
#29 0x00007f9fd46566fa in g_main_context_dispatch ()<br>
from /usr/lib/libglib-2.0.so.0<br>
#30 0x00007f9fd4659df0 in g_main_context_iterate ()<br>
from /usr/lib/libglib-2.0.so.0<br>
#31 0x00007f9fd4659f8c in g_main_context_iteration ()<br>
from /usr/lib/libglib-2.0.so.0<br>
#32 0x00007f9fdbb3adcf in QEventDispatcherGlib::processEvents (this=0x69e320, <br>
flags=<value optimized out>)<br>
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:325<br>
#33 0x00007f9fd5a2c24f in QGuiEventDispatcherGlib::processEvents (<br>
this=0xe71858, flags=<value optimized out>)<br>
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204<br>
#34 0x00007f9fdbb15192 in QEventLoop::processEvents (<br>
this=<value optimized out>, flags={i = -469776784})<br>
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:149<br>
#35 0x00007f9fdbb15325 in QEventLoop::exec (this=0x7fffe3ffc6b0, flags=<br>
{i = -469776704})<br>
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:196<br>
#36 0x00007f9fdbb17485 in QCoreApplication::exec ()<br>
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845<br>
#37 0x000000000040729e in main (argc=1, argv=0x7fffe3ffd738)<br>
at /home/kde4/kdesvn/kdevelop/src/main.cpp:209<br>
#0 0x00007f9fd4d89f71 in nanosleep () from /lib/libc.so.6<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p>and from valgrind:<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p>kdevelop(23230)/KTar KTar::createDevice: creating tempfile: "/tmp/hamish-kde4/kde-hamish/ktar-b23230.tar"<br>
kdevelop(23230)/KTar KTar::KTarPrivate::fillTempFile: filling tmpFile of mimetype "application/x-bzip"<br>
kdevelop(23230)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: Unable to find a plugin named ' "" '!<br>
==23230==<br>
==23230== Invalid read of size 4<br>
==23230== at 0x635F767: QList<QString>::append(QString const&) (qatomic_x86_64.h:123)<br>
==23230== by 0x64BEC48: operator+=(QStringList&, QString const&) (qstringlist.h:88)<br>
==23230== by 0x64C0197: KMacroMapExpander<QString, QString>::expandEscapedMacro(QString const&, int, QStringList&) (kmacroexpander.cpp:241)<br>
==23230== by 0x64BEA82: KMacroExpanderBase::expandMacros(QString&) (kmacroexpander.cpp:62)<br>
==23230== by 0x64BF34D: KMacroExpander::expandMacros(QString const&, QHash<QString, QString> const&, QChar) (kmacroexpander.cpp:319)<br>
==23230== by 0x15566255: AppWizardPlugin::copyFileAndExpandMacros(QString const&, QString const&) (appwizardplugin.cpp:341)<br>
==23230== by 0x15566813: AppWizardPlugin::unpackArchive(KArchiveDirectory const*, QString const&) (appwizardplugin.cpp:314)<br>
==23230== by 0x15566660: AppWizardPlugin::unpackArchive(KArchiveDirectory const*, QString const&) (appwizardplugin.cpp:307)<br>
==23230== by 0x1556729F: AppWizardPlugin::createProject(ApplicationInfo const&) (appwizardplugin.cpp:174)<br>
==23230== by 0x15568420: AppWizardPlugin::slotNewProject() (appwizardplugin.cpp:99)<br>
==23230== by 0x15568504: AppWizardPlugin::qt_metacall(QMetaObject::Call, int, void**) (appwizardplugin.moc:69)<br>
==23230== by 0x4F9D79C: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3007)<br>
==23230== by 0x4F9D9AE: QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) (qobject.cpp:3100)<br>
==23230== by 0xAE68CC2: QAction::triggered(bool) (moc_qaction.cpp:216)<br>
==23230== by 0xAE6A65D: QAction::activate(QAction::ActionEvent) (qaction.cpp:1119)<br>
==23230== by 0xB25BE42: QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) (qmenu.cpp:1005)<br>
==23230== by 0xB25E6E7: QMenu::mouseReleaseEvent(QMouseEvent*) (qmenu.cpp:2160)<br>
==23230== by 0x6CA1190: KMenu::mouseReleaseEvent(QMouseEvent*) (kmenu.cpp:452)<br>
==23230== by 0xAEC97F4: QWidget::event(QEvent*) (qwidget.cpp:6927)<br>
==23230== by 0xB259AE2: QMenu::event(QEvent*) (qmenu.cpp:2256)<br>
==23230== Address 0x4000400000020 is not stack'd, malloc'd or (recently) free'd<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p>Cheers,<br>
Hamish.</p></body></html>