Bug 303941 - Crash on importing full Java Project
Summary: Crash on importing full Java Project
Status: RESOLVED DUPLICATE of bug 279993
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-07-23 02:14 UTC by Damian Nikodem
Modified: 2012-07-29 16:58 UTC (History)
1 user (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 Damian Nikodem 2012-07-23 02:14:48 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-15-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Attempting to import a full java project (Java 5) that uses most features of the language and is a medium sized project (1352 classes) and references to many external libraries.

This program seems to crash when importing class by class from the same project. but is ok with importing 'toy' sized projects (5000 LOC , 10~ classes)

- Custom settings of the application:

None, This is a completely fresh install.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f9cd218c700 (LWP 19424)):
#0  0x00007f9ce27fb1fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x24c9d18) at pthread_mutex_unlock.c:290
#2  0x00007f9cdf203f3f in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9cdf204dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9cdf205792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9cda10e516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f9cdf22a2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f9ce27f7efc in start_thread (arg=0x7f9cd218c700) at pthread_create.c:304
#8  0x00007f9ce2af059d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9cc1e08700 (LWP 19431)):
#0  0x00007f9ce2ae4473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9cdf204f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9cdf205429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9ce3bd8f3e in QEventDispatcherGlib::processEvents (this=0x297d190, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f9ce3baccf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9ce3bacef7 in QEventLoop::exec (this=0x7f9cc1e07dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f9ce3ac427f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f9ce3b8fcbf in QInotifyFileSystemWatcherEngine::run (this=0x28770c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9ce3ac6d05 in QThreadPrivate::start (arg=0x28770c0) at thread/qthread_unix.cpp:331
#9  0x00007f9ce27f7efc in start_thread (arg=0x7f9cc1e08700) at pthread_create.c:304
#10 0x00007f9ce2af059d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9ce6d62780 (LWP 19422)):
[KCrash Handler]
#6  QString (other=..., this=0x7fff72b1fa20) at /usr/include/qt4/QtCore/qstring.h:728
#7  UMLObject::name (this=0x0) at ../../../umbrello/umbrello/umlobject.cpp:186
#8  0x0000000000521fe5 in JavaImport::parseStmt (this=0x7fff72b205c0) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:469
#9  0x0000000000524cb6 in NativeImportBase::parseFile (this=0x7fff72b205c0, filename=<optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#10 0x000000000051d39f in JavaImport::parseFile (this=0x7fff72b205c0, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#11 0x0000000000514337 in ClassImport::importFiles (this=0x7fff72b205c0, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#12 0x000000000051d0d3 in JavaImport::spawnImport (this=<optimized out>, file=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:128
#13 0x000000000051d6cf in JavaImport::resolveClass (this=0x7fff72b218d0, className=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:177
#14 0x0000000000521b6e in JavaImport::parseStmt (this=0x7fff72b218d0) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:506
#15 0x0000000000524cb6 in NativeImportBase::parseFile (this=0x7fff72b218d0, filename=<optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#16 0x000000000051d39f in JavaImport::parseFile (this=0x7fff72b218d0, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#17 0x0000000000514337 in ClassImport::importFiles (this=0x7fff72b218d0, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#18 0x000000000051d0d3 in JavaImport::spawnImport (this=<optimized out>, file=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:128
#19 0x000000000051d6cf in JavaImport::resolveClass (this=0x7fff72b22be0, className=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:177
#20 0x00000000005214e1 in JavaImport::parseStmt (this=0x7fff72b22be0) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:570
#21 0x0000000000524cb6 in NativeImportBase::parseFile (this=0x7fff72b22be0, filename=<optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#22 0x000000000051d39f in JavaImport::parseFile (this=0x7fff72b22be0, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#23 0x0000000000514337 in ClassImport::importFiles (this=0x7fff72b22be0, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#24 0x000000000051d0d3 in JavaImport::spawnImport (this=<optimized out>, file=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:128
#25 0x000000000051df2a in JavaImport::resolveClass (this=0x7fff72b23ef0, className=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:211
#26 0x0000000000521b6e in JavaImport::parseStmt (this=0x7fff72b23ef0) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:506
#27 0x0000000000524cb6 in NativeImportBase::parseFile (this=0x7fff72b23ef0, filename=<optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#28 0x000000000051d39f in JavaImport::parseFile (this=0x7fff72b23ef0, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#29 0x0000000000514337 in ClassImport::importFiles (this=0x7fff72b23ef0, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#30 0x000000000051d0d3 in JavaImport::spawnImport (this=<optimized out>, file=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:128
#31 0x000000000051df2a in JavaImport::resolveClass (this=0x7fff72b25200, className=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:211
#32 0x00000000005214e1 in JavaImport::parseStmt (this=0x7fff72b25200) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:570
#33 0x0000000000524cb6 in NativeImportBase::parseFile (this=0x7fff72b25200, filename=<optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#34 0x000000000051d39f in JavaImport::parseFile (this=0x7fff72b25200, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#35 0x0000000000514337 in ClassImport::importFiles (this=0x7fff72b25200, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#36 0x000000000051d0d3 in JavaImport::spawnImport (this=<optimized out>, file=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:128
#37 0x000000000051d6cf in JavaImport::resolveClass (this=0x7fff72b26510, className=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:177
#38 0x000000000051fb64 in JavaImport::parseStmt (this=0x7fff72b26510) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:339
#39 0x0000000000524cb6 in NativeImportBase::parseFile (this=0x7fff72b26510, filename=<optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#40 0x000000000051d39f in JavaImport::parseFile (this=0x7fff72b26510, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#41 0x0000000000514337 in ClassImport::importFiles (this=0x7fff72b26510, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#42 0x000000000051d0d3 in JavaImport::spawnImport (this=<optimized out>, file=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:128
#43 0x000000000051df2a in JavaImport::resolveClass (this=0x2d50aa0, className=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:211
#44 0x00000000005214e1 in JavaImport::parseStmt (this=0x2d50aa0) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:570
#45 0x0000000000524cb6 in NativeImportBase::parseFile (this=0x2d50aa0, filename=<optimized out>) at ../../../umbrello/umbrello/codeimport/nativeimportbase.cpp:416
#46 0x000000000051d39f in JavaImport::parseFile (this=0x2d50aa0, filename=...) at ../../../umbrello/umbrello/codeimport/javaimport.cpp:253
#47 0x0000000000514337 in ClassImport::importFiles (this=0x2d50aa0, fileList=...) at ../../../umbrello/umbrello/codeimport/classimport.cpp:45
#48 0x0000000000718cb7 in UMLApp::importFiles (this=0x25bc770, fileList=0x7fff72b27850) at ../../../umbrello/umbrello/uml.cpp:2306
#49 0x0000000000718e23 in UMLApp::slotImportProject (this=0x25bc770) at ../../../umbrello/umbrello/uml.cpp:2355
#50 0x000000000071be8d in UMLApp::qt_metacall (this=0x25bc770, _c=QMetaObject::InvokeMetaMethod, _id=48, _a=0x7fff72b279a0) at ./uml.moc:269
#51 0x00007f9ce3bc0eba in QMetaObject::activate (sender=0x27494e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff72b279a0) at kernel/qobject.cpp:3278
#52 0x00007f9ce40d7bb2 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#53 0x00007f9ce40d7d9f in QAction::activate (this=0x27494e0, event=<optimized out>) at kernel/qaction.cpp:1257
#54 0x00007f9ce45126c9 in QMenuPrivate::activateCausedStack (this=0x27c6420, causedStack=..., action=0x27494e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005
#55 0x00007f9ce4518312 in QMenuPrivate::activateAction (this=0x27c6420, action=0x27494e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097
#56 0x00007f9ce55dd0d0 in KMenu::mouseReleaseEvent (this=0x27c5870, e=0x7fff72b283b0) at ../../kdeui/widgets/kmenu.cpp:464
#57 0x00007f9ce412ecea in QWidget::event (this=0x27c5870, event=0x7fff72b283b0) at kernel/qwidget.cpp:8295
#58 0x00007f9ce45198bb in QMenu::event (this=0x27c5870, e=0x7fff72b283b0) at widgets/qmenu.cpp:2405
#59 0x00007f9ce40de474 in notify_helper (e=0x7fff72b283b0, receiver=0x27c5870, this=0x23a8ac0) at kernel/qapplication.cpp:4486
#60 QApplicationPrivate::notify_helper (this=0x23a8ac0, receiver=0x27c5870, e=0x7fff72b283b0) at kernel/qapplication.cpp:4458
#61 0x00007f9ce40e3cbb in QApplication::notify (this=<optimized out>, receiver=0x27c5870, e=0x7fff72b283b0) at kernel/qapplication.cpp:4047
#62 0x00007f9ce551b466 in KApplication::notify (this=0x7fff72b29030, receiver=0x27c5870, event=0x7fff72b283b0) at ../../kdeui/kernel/kapplication.cpp:311
#63 0x00007f9ce3badafc in QCoreApplication::notifyInternal (this=0x7fff72b29030, receiver=0x27c5870, event=0x7fff72b283b0) at kernel/qcoreapplication.cpp:787
#64 0x00007f9ce40df442 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#65 QApplicationPrivate::sendMouseEvent (receiver=0x27c5870, event=0x7fff72b283b0, alienWidget=0x0, nativeWidget=0x27c5870, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#66 0x00007f9ce415f091 in QETWidget::translateMouseEvent (this=0x27c5870, event=<optimized out>) at kernel/qapplication_x11.cpp:4505
#67 0x00007f9ce415d94e in QApplication::x11ProcessEvent (this=0x7fff72b29030, event=0x7fff72b28bd0) at kernel/qapplication_x11.cpp:3693
#68 0x00007f9ce41864a2 in x11EventSourceDispatch (s=0x23ac970, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#69 0x00007f9cdf204a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007f9cdf205258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007f9cdf205429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007f9ce3bd8ed6 in QEventDispatcherGlib::processEvents (this=0x2364f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#73 0x00007f9ce418610e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x00007f9ce3baccf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#75 0x00007f9ce3bacef7 in QEventLoop::exec (this=0x7fff72b28fa0, flags=...) at kernel/qeventloop.cpp:201
#76 0x00007f9ce3bb1789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#77 0x000000000043aba6 in main (argc=1, argv=0x7fff72b29438) at ../../../umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 301150, bug 293770, bug 279993.

Reported using DrKonqi
Comment 1 Oliver Kellogg 2012-07-29 16:58:29 UTC
The backtrace is the same as at bug 279993,

> Likely a duplicate of bug 293770 which was fixed in 2.8.1 but without a reproducer it's hard to tell.
> Please attach Java code for which this happens.

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