Bug 308249 - Crash when importing Java sources
Summary: Crash when importing Java sources
Status: RESOLVED DUPLICATE of bug 230770
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.7.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-11 17:06 UTC by Alan Krueger
Modified: 2013-03-04 16:40 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Krueger 2012-10-11 17:06:02 UTC
Application: umbrello (2.7.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-26-generic x86_64
Distribution: Linux Mint 12 Lisa

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

Selected Java as the language of choice, then selected Import Project from menu.  Browsed to main source folder containing Java source files.  Upon selecting, the application flickered and briefly displayed a changing set of classes in the left-hand tree view, then suddenly crashed mid-way through the process.

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f263050c780 (LWP 6901))]

Thread 3 (Thread 0x7f261d3eb700 (LWP 6903)):
#0  0x00007f262bfb41fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x15bc648) at pthread_mutex_unlock.c:290
#2  0x00007f26289bd9ac in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f26289be2c2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f26289bead2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f26238c5b86 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f26289e3586 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f262bfb0efc in start_thread (arg=0x7f261d3eb700) at pthread_create.c:304
#8  0x00007f262c2aaf4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f261ddef700 (LWP 6906)):
#0  0x00007f26289be76c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f262d393f3e in QEventDispatcherGlib::processEvents (this=0x1bb4ee0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#2  0x00007f262d367cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#3  0x00007f262d367ef7 in QEventLoop::exec (this=0x7f261ddeedd0, flags=...) at kernel/qeventloop.cpp:201
#4  0x00007f262d27f27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#5  0x00007f262d34acbf in QInotifyFileSystemWatcherEngine::run (this=0x1ba3770) at io/qfilesystemwatcher_inotify.cpp:248
#6  0x00007f262d281d05 in QThreadPrivate::start (arg=0x1ba3770) at thread/qthread_unix.cpp:331
#7  0x00007f262bfb0efc in start_thread (arg=0x7f261ddef700) at pthread_create.c:304
#8  0x00007f262c2aaf4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f263050c780 (LWP 6901)):
[KCrash Handler]
#6  ref (this=0x1f4) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QList (l=..., this=0x7fff91a69aa0) at /usr/include/qt4/QtCore/qlist.h:118
#8  QListIterator (container=..., this=0x7fff91a69aa0) at /usr/include/qt4/QtCore/qlist.h:883
#9  UMLPackage::findObject (this=0x1d57900, name=...) at ../../../umbrello/umbrello/package.cpp:238
#10 0x00000000007212a5 in UMLDoc::isUnique (this=<optimized out>, name=..., package=<optimized out>) at ../../../umbrello/umbrello/umldoc.cpp:973
#11 0x00000000006e46fe in Model_Utils::uniqObjectName (type=<optimized out>, parentPkg=0x1d57900, prefix=<optimized out>) at ../../../umbrello/umbrello/model_utils.cpp:438
#12 0x00000000006ed5dd in Object_Factory::createUMLObject (type=Uml::ot_Class, n=..., parentPkg=0x1d57900, solicitNewName=false) at ../../../umbrello/umbrello/object_factory.cpp:188
#13 0x000000000051aca0 in Import_Utils::createUMLObject (type=Uml::ot_UMLObject, inName=<optimized out>, parentPkg=0x1d57900, comment=..., stereotype=...) at ../../../umbrello/umbrello/codeimport/import_utils.cpp:231
#14 0x000000000051c16b in Import_Utils::addMethodParameter (method=0x1de09d0, type=..., name=...) at ../../../umbrello/umbrello/codeimport/import_utils.cpp:478
#15 0x0000000000521bf1 in JavaImport::parseStmt (this=0x1d51400) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:511
#16 0x0000000000524cb6 in NativeImportBase::parseFile (this=0x1d51400, filename=<optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#17 0x000000000051d39f in JavaImport::parseFile (this=0x1d51400, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#18 0x0000000000514337 in ClassImport::importFiles (this=0x1d51400, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#19 0x0000000000718cb7 in UMLApp::importFiles (this=0x16abb70, fileList=0x7fff91a6b460) at ../../../umbrello/umbrello/uml.cpp:2306
#20 0x0000000000718e23 in UMLApp::slotImportProject (this=0x16abb70) at ../../../umbrello/umbrello/uml.cpp:2355
#21 0x000000000071be8d in UMLApp::qt_metacall (this=0x16abb70, _c=QMetaObject::InvokeMetaMethod, _id=48, _a=0x7fff91a6b5b0) at ./uml.moc:269
#22 0x00007f262d37beba in QMetaObject::activate (sender=0x16f1aa0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff91a6b5b0) at kernel/qobject.cpp:3278
#23 0x00007f262d892bb2 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#24 0x00007f262d892d9f in QAction::activate (this=0x16f1aa0, event=<optimized out>) at kernel/qaction.cpp:1257
#25 0x00007f262dccd6c9 in QMenuPrivate::activateCausedStack (this=0x17f25b0, causedStack=..., action=0x16f1aa0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005
#26 0x00007f262dcd3312 in QMenuPrivate::activateAction (this=0x17f25b0, action=0x16f1aa0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097
#27 0x00007f262ed980d0 in KMenu::mouseReleaseEvent (this=0x17f18f0, e=0x7fff91a6bfc0) at ../../kdeui/widgets/kmenu.cpp:464
#28 0x00007f262d8e9cea in QWidget::event (this=0x17f18f0, event=0x7fff91a6bfc0) at kernel/qwidget.cpp:8295
#29 0x00007f262dcd48bb in QMenu::event (this=0x17f18f0, e=0x7fff91a6bfc0) at widgets/qmenu.cpp:2405
#30 0x00007f262d899474 in notify_helper (e=0x7fff91a6bfc0, receiver=0x17f18f0, this=0x1421830) at kernel/qapplication.cpp:4486
#31 QApplicationPrivate::notify_helper (this=0x1421830, receiver=0x17f18f0, e=0x7fff91a6bfc0) at kernel/qapplication.cpp:4458
#32 0x00007f262d89ecbb in QApplication::notify (this=<optimized out>, receiver=0x17f18f0, e=0x7fff91a6bfc0) at kernel/qapplication.cpp:4047
#33 0x00007f262ecd6466 in KApplication::notify (this=0x7fff91a6cc40, receiver=0x17f18f0, event=0x7fff91a6bfc0) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007f262d368afc in QCoreApplication::notifyInternal (this=0x7fff91a6cc40, receiver=0x17f18f0, event=0x7fff91a6bfc0) at kernel/qcoreapplication.cpp:787
#35 0x00007f262d89a442 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0x17f18f0, event=0x7fff91a6bfc0, alienWidget=0x0, nativeWidget=0x17f18f0, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#37 0x00007f262d91a091 in QETWidget::translateMouseEvent (this=0x17f18f0, event=<optimized out>) at kernel/qapplication_x11.cpp:4505
#38 0x00007f262d91894e in QApplication::x11ProcessEvent (this=0x7fff91a6cc40, event=0x7fff91a6c7e0) at kernel/qapplication_x11.cpp:3693
#39 0x00007f262d9414a2 in x11EventSourceDispatch (s=0x141b1b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007f26289bdd9f in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f26289be598 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f26289be769 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f262d393ed6 in QEventDispatcherGlib::processEvents (this=0x13e0f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#44 0x00007f262d94110e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f262d367cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f262d367ef7 in QEventLoop::exec (this=0x7fff91a6cbb0, flags=...) at kernel/qeventloop.cpp:201
#47 0x00007f262d36c789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#48 0x000000000043aba6 in main (argc=1, argv=0x7fff91a6d048) at ../../../umbrello/umbrello/main.cpp:111

This bug may be a duplicate of or related to bug 288406.

Possible duplicates by query: bug 288406, bug 285001, bug 283707, bug 281398, bug 276876.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-03-04 16:40:37 UTC

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