Version: 1.2.92 (using KDE Devel) Installed from: Compiled sources Compiler: gcc (GCC) 3.3.4 (Debian 1:3.3.4-2) OS: Linux While trying to workaround #57667 by using context menu's "Cut" and "Paste" to move Classes from one folder to another. How to reproduce: - create new document - create new class - create new Folder (in "Logical View") - rightclick the new class in tree view --> "Cut" . (the class disapeares) - rightclick the new folder in tree view --> "Paste" . --> crash Although i configured kdesdk with --enable-debug=full the stacktrace reads like this: (i'll omitt the lines without symbols) ------------------------------------------------------------------ This backtrace appears to be useless. This is probably because your packages are built in a way which prevents creating of proper backtraces, or the stack frame was seriously corrupted in the crash. (no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1". 0x412febe8 in ?? () #0 0x412febe8 in ?? () ... #115 <signal handler called> #116 0x00000000 in ?? () #117 0x081978ad in CParsedContainer::addMethod () #121 0x0820c0c4 in UMLOperationDialog::slotParameterProperties () #129 0x08166477 in UMLListView::loadPixmaps () #132 0x08203cd7 in SettingsDlg::setupGeneralPage () #136 0x0820ac53 in UMLOperationDialog::setupDialog () #144 0x08205365 in SettingsDlg::setupClassPage () #149 0x082b9e28 in typeinfo for UMLRoleProperties () #157 0x082b9208 in vtable for CodeGenerationOptionsPage () #168 0x0820b6c9 in UMLOperationDialog::slotNewParameter () #180 0x08176da5 in imageTypeToMimeType () #199 0x082b9e28 in typeinfo for UMLRoleProperties () #207 0x082b9208 in vtable for CodeGenerationOptionsPage () #215 0x082a2d88 in typeinfo name for QDict<CodeGenerator> () #223 0x082a4068 in UMLView::defaultCanvasSize () #231 0x082b4e48 in vtable for DiagramPrintPage () #248 0x081039bb in CodeDocument::loadFromXMI () #252 0x08189be3 in QMapPrivate<Uml::Diagram_Type, WorkToolBar::ToolBar_Buttons>::clear () #256 0x0818e03c in Umbrello::RefactoringAssistant::addDerivedClassifier () #432 0x0819579a in CParsedContainer::addStruct () #705 0x082bbe30 in construction vtable for TextBlock-in-JavaCodeAccessorMethod () #789 0x082bbe30 in construction vtable for TextBlock-in-JavaCodeAccessorMethod () #849 0x082bbe30 in construction vtable for TextBlock-in-JavaCodeAccessorMethod () #1088 0x0818b3ce in Umbrello::RefactoringAssistant::findListViewItem () #1096 0x0817f8ad in UMLView::loadAssociationsFromXMI () #1172 0x081598f5 in UMLDoc::renameDiagram () #1179 0x082aed40 in JavaCodeGenerationPolicy::DEFAULT_AUTO_GEN_ACCESSORS () #1181 0x082aed29 in JavaCodeGenerationPolicy::DEFAULT_AUTO_GEN_ACCESSORS () #1182 0x082aed15 in JavaCodeGenerationPolicy::DEFAULT_AUTO_GEN_ACCESSORS () #1238 0x082a22e6 in typeinfo name for QDict<CodeGenerator> () #1260 0x081038c2 in CodeDocument::toString () #1261 0x082aeda0 in typeinfo name for JavaCodeGenerationPolicy () #1262 0x082aed8a in typeinfo name for JavaCodeGenerationPolicy () #1263 0x082aed83 in typeinfo name for JavaCodeGenerationPolicy () #1264 0x082aee74 in typeinfo name for CPPCodeDocumentation () #1266 0x082aed40 in JavaCodeGenerationPolicy::DEFAULT_AUTO_GEN_ACCESSORS () #1268 0x082aed29 in JavaCodeGenerationPolicy::DEFAULT_AUTO_GEN_ACCESSORS () #1269 0x082aed15 in JavaCodeGenerationPolicy::DEFAULT_AUTO_GEN_ACCESSORS () #1272 0x082a213b in typeinfo name for QDict<CodeGenerator> () #1274 0x082a2180 in typeinfo name for QDict<CodeGenerator> () #1284 0x081025a0 in CodeDocument::~CodeDocument () #1290 0x081025a0 in CodeDocument::~CodeDocument () #1292 0x081025c1 in CodeDocument::~CodeDocument () #1293 0x0815947c in UMLDoc::createDiagram () #1296 0x082a2120 in typeinfo name for QDict<CodeGenerator> () #1297 0x082a2180 in typeinfo name for QDict<CodeGenerator> () #1361 0x081025a0 in CodeDocument::~CodeDocument () ================================================================================ I can also reproduce it on gentoo with gcc-3.4 and kdedsk-3.3.0-beta1
At least it doesn't crash anymore, but the cut'n'paste code is still in horrible shape. Help is always welcome :)
Could you try again with current cvs? (I fixed 82346 - perhaps this is the same?)
It works, but the code definitely needs more massaging. Also there is some warning message upon pasting although the paste itself is okay.