Bug 335478 - umbrello crash after Java import via wizard
Summary: umbrello crash after Java import via wizard
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.13.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-28 14:55 UTC by Nico Kruber
Modified: 2015-09-05 21:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.14.3 (KDE 4.14.3)


Attachments
KCrash trace from Umbrello 2.13.3 import of cardme-code/src svn r373 (4.29 KB, text/plain)
2014-09-27 20:23 UTC, Oliver Kellogg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Kruber 2014-05-28 14:55:55 UTC
Application: umbrello (2.13.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.14.4-30.gbebeb6f-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

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

1) Code -> Code Importing Wizard
2) select a folder including java files (the "Include Subdirectories" checkbox does not work!) -> Next
3) Start import
-> it will crash during this import

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1a20488880 (LWP 3133))]

Thread 3 (Thread 0x7f1a0d05b700 (LWP 3134)):
#0  0x00007f1a1df020af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1a1e195eb6 in wait (time=18446744073709551615, this=0x2285150) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2284cb8, mutex=mutex@entry=0x2284cb0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1a1d8e9486 in QFileInfoGatherer::run (this=0x2284ca0) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f1a1e1959cf in QThreadPrivate::start (arg=0x2284ca0) at thread/qthread_unix.cpp:349
#5  0x00007f1a1defe0db in start_thread () from /lib64/libpthread.so.0
#6  0x00007f1a1c95e90d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f1a0c85a700 (LWP 3135)):
#0  0x00007f1a19811ffa in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f1a198122b9 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1a197d1790 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1a197d24c5 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f1a197d270c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f1a1e2c4986 in QEventDispatcherGlib::processEvents (this=0x7f1a000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f1a1e29679f in QEventLoop::processEvents (this=this@entry=0x7f1a0c859d20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f1a1e296a95 in QEventLoop::exec (this=this@entry=0x7f1a0c859d20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1a1e1932ff in QThread::exec (this=this@entry=0x20bb4f0) at thread/qthread.cpp:538
#9  0x00007f1a1e277fa3 in QInotifyFileSystemWatcherEngine::run (this=0x20bb4f0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f1a1e1959cf in QThreadPrivate::start (arg=0x20bb4f0) at thread/qthread_unix.cpp:349
#11 0x00007f1a1defe0db in start_thread () from /lib64/libpthread.so.0
#12 0x00007f1a1c95e90d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1a20488880 (LWP 3133)):
[KCrash Handler]
#6  0x00007f1a1c8ac849 in raise () from /lib64/libc.so.6
#7  0x00007f1a1c8adcd8 in abort () from /lib64/libc.so.6
#8  0x00007f1a1c8eb114 in __libc_message () from /lib64/libc.so.6
#9  0x00007f1a1c8f096e in malloc_printerr () from /lib64/libc.so.6
#10 0x00007f1a1c8f1647 in _int_free () from /lib64/libc.so.6
#11 0x0000000000504304 in free (this=<optimized out>, data=<optimized out>) at /usr/include/QtCore/qlist.h:759
#12 ~QList (this=0x7fff10802530, __in_chrg=<optimized out>) at /usr/include/QtCore/qlist.h:732
#13 NativeImportBase::~NativeImportBase (this=0x7fff10802500, __in_chrg=<optimized out>) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/nativeimportbase.cpp:47
#14 0x00000000004ff88d in JavaImport::spawnImport (this=<optimized out>, file=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/javaimport.cpp:128
#15 0x0000000000500698 in JavaImport::resolveClass (this=this@entry=0x7fff10802a40, className=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/javaimport.cpp:216
#16 0x0000000000503cc1 in JavaImport::parseStmt (this=0x7fff10802a40) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/javaimport.cpp:530
#17 0x00000000005061f2 in NativeImportBase::parseFile (this=this@entry=0x7fff10802a40, filename=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/nativeimportbase.cpp:425
#18 0x0000000000504054 in JavaImport::parseFile (this=0x7fff10802a40, filename=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/javaimport.cpp:258
#19 0x00000000004f81f0 in ClassImport::importFiles (this=this@entry=0x7fff10802a40, fileNames=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/classimport.cpp:72
#20 0x00000000004ff87b in JavaImport::spawnImport (this=<optimized out>, file=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/javaimport.cpp:128
#21 0x00000000004ffeaa in JavaImport::resolveClass (this=this@entry=0x7fff10802f80, className=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/javaimport.cpp:177
#22 0x000000000050370a in JavaImport::parseStmt (this=0x7fff10802f80) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/javaimport.cpp:594
#23 0x00000000005061f2 in NativeImportBase::parseFile (this=this@entry=0x7fff10802f80, filename=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/nativeimportbase.cpp:425
#24 0x0000000000504054 in JavaImport::parseFile (this=0x7fff10802f80, filename=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/javaimport.cpp:258
#25 0x00000000004f81f0 in ClassImport::importFiles (this=this@entry=0x7fff10802f80, fileNames=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/classimport.cpp:72
#26 0x00000000004ff87b in JavaImport::spawnImport (this=<optimized out>, file=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/javaimport.cpp:128
#27 0x00000000004ffeaa in JavaImport::resolveClass (this=this@entry=0x27fe110, className=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/javaimport.cpp:177
#28 0x000000000050370a in JavaImport::parseStmt (this=0x27fe110) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/javaimport.cpp:594
#29 0x00000000005061f2 in NativeImportBase::parseFile (this=this@entry=0x27fe110, filename=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/nativeimportbase.cpp:425
#30 0x0000000000504054 in JavaImport::parseFile (this=0x27fe110, filename=...) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimport/javaimport.cpp:258
#31 0x0000000000496615 in CodeImpThread::run (this=0x25f7340) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimpwizard/codeimpthread.cpp:62
#32 0x00000000004949de in CodeImpStatusPage::importCodeFile (this=this@entry=0x22bda90, noError=noError@entry=true) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimpwizard/codeimpstatuspage.cpp:181
#33 0x0000000000494c8f in CodeImpStatusPage::importCode (this=0x22bda90) at /usr/src/debug/umbrello-4.13.1/umbrello/codeimpwizard/codeimpstatuspage.cpp:150
#34 0x00007f1a1e2ab978 in QMetaObject::activate (sender=sender@entry=0x20b45b0, m=m@entry=0x7f1a1dedfbc0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff108035f0) at kernel/qobject.cpp:3576
#35 0x00007f1a1da5afb2 in QAbstractButton::clicked (this=this@entry=0x20b45b0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#36 0x00007f1a1d7bd663 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x20b45e0) at widgets/qabstractbutton.cpp:548
#37 0x00007f1a1d7be7d3 in QAbstractButtonPrivate::click (this=this@entry=0x20b45e0) at widgets/qabstractbutton.cpp:541
#38 0x00007f1a1d7be8bc in QAbstractButton::mouseReleaseEvent (this=0x20b45b0, e=0x7fff10803ae0) at widgets/qabstractbutton.cpp:1123
#39 0x00007f1a1d45ef8e in QWidget::event (this=0x20b45b0, event=0x7fff10803ae0) at kernel/qwidget.cpp:8389
#40 0x00007f1a1d40f9ec in QApplicationPrivate::notify_helper (this=this@entry=0x1ec4410, receiver=receiver@entry=0x20b45b0, e=e@entry=0x7fff10803ae0) at kernel/qapplication.cpp:4565
#41 0x00007f1a1d4160aa in QApplication::notify (this=this@entry=0x7fff10805310, receiver=receiver@entry=0x20b45b0, e=e@entry=0x7fff10803ae0) at kernel/qapplication.cpp:4108
#42 0x00007f1a1ef565ea in KApplication::notify (this=0x7fff10805310, receiver=0x20b45b0, event=0x7fff10803ae0) at /usr/src/debug/kdelibs-4.13.1/kdeui/kernel/kapplication.cpp:311
#43 0x00007f1a1e297bcd in QCoreApplication::notifyInternal (this=0x7fff10805310, receiver=receiver@entry=0x20b45b0, event=event@entry=0x7fff10803ae0) at kernel/qcoreapplication.cpp:953
#44 0x00007f1a1d4158a3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#45 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x20b45b0, event=event@entry=0x7fff10803ae0, alienWidget=alienWidget@entry=0x20b45b0, nativeWidget=nativeWidget@entry=0x21c1520, buttonDown=buttonDown@entry=0x7f1a1def2278 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#46 0x00007f1a1d4870db in QETWidget::translateMouseEvent (this=this@entry=0x21c1520, event=event@entry=0x7fff10803e50) at kernel/qapplication_x11.cpp:4530
#47 0x00007f1a1d485b4c in QApplication::x11ProcessEvent (this=0x7fff10805310, event=event@entry=0x7fff10803e50) at kernel/qapplication_x11.cpp:3653
#48 0x00007f1a1d4ac9e2 in x11EventSourceDispatch (s=0x1ec5a00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#49 0x00007f1a197d2316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#50 0x00007f1a197d2668 in ?? () from /usr/lib64/libglib-2.0.so.0
#51 0x00007f1a197d270c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#52 0x00007f1a1e2c4965 in QEventDispatcherGlib::processEvents (this=0x1e715d0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#53 0x00007f1a1d4aca96 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007f1a1e29679f in QEventLoop::processEvents (this=this@entry=0x7fff10804240, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007f1a1e296a95 in QEventLoop::exec (this=this@entry=0x7fff10804240, flags=...) at kernel/qeventloop.cpp:204
#56 0x00007f1a1d8b364c in QDialog::exec (this=0x21c1520) at dialogs/qdialog.cpp:562
#57 0x0000000000688e8f in UMLApp::slotImportingWizard (this=<optimized out>) at /usr/src/debug/umbrello-4.13.1/umbrello/uml.cpp:2631
#58 0x00007f1a1e2ab978 in QMetaObject::activate (sender=sender@entry=0x22dc7e0, m=m@entry=0x7f1a1deb5e80 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff108043c0) at kernel/qobject.cpp:3576
#59 0x00007f1a1d409892 in QAction::triggered (this=this@entry=0x22dc7e0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#60 0x00007f1a1d40b263 in QAction::activate (this=this@entry=0x22dc7e0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#61 0x00007f1a1d835379 in QMenuPrivate::activateCausedStack (this=this@entry=0x225fce0, causedStack=..., action=action@entry=0x22dc7e0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1037
#62 0x00007f1a1d8398c9 in QMenuPrivate::activateAction (this=0x225fce0, action=0x22dc7e0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1129
#63 0x00007f1a1d83d2a5 in QMenu::mouseReleaseEvent (this=this@entry=0x22210d0, e=e@entry=0x7fff10804af0) at widgets/qmenu.cpp:2371
#64 0x00007f1a1f00cd95 in KMenu::mouseReleaseEvent (this=0x22210d0, e=0x7fff10804af0) at /usr/src/debug/kdelibs-4.13.1/kdeui/widgets/kmenu.cpp:464
#65 0x00007f1a1d45ef8e in QWidget::event (this=this@entry=0x22210d0, event=event@entry=0x7fff10804af0) at kernel/qwidget.cpp:8389
#66 0x00007f1a1d83d73b in QMenu::event (this=0x22210d0, e=0x7fff10804af0) at widgets/qmenu.cpp:2480
#67 0x00007f1a1d40f9ec in QApplicationPrivate::notify_helper (this=this@entry=0x1ec4410, receiver=receiver@entry=0x22210d0, e=e@entry=0x7fff10804af0) at kernel/qapplication.cpp:4565
#68 0x00007f1a1d4160aa in QApplication::notify (this=this@entry=0x7fff10805310, receiver=receiver@entry=0x22210d0, e=e@entry=0x7fff10804af0) at kernel/qapplication.cpp:4108
#69 0x00007f1a1ef565ea in KApplication::notify (this=0x7fff10805310, receiver=0x22210d0, event=0x7fff10804af0) at /usr/src/debug/kdelibs-4.13.1/kdeui/kernel/kapplication.cpp:311
#70 0x00007f1a1e297bcd in QCoreApplication::notifyInternal (this=0x7fff10805310, receiver=receiver@entry=0x22210d0, event=event@entry=0x7fff10804af0) at kernel/qcoreapplication.cpp:953
#71 0x00007f1a1d4158a3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#72 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x22210d0, event=event@entry=0x7fff10804af0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x22210d0, buttonDown=buttonDown@entry=0x7f1a1def2278 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#73 0x00007f1a1d48740c in QETWidget::translateMouseEvent (this=this@entry=0x22210d0, event=event@entry=0x7fff10804e30) at kernel/qapplication_x11.cpp:4464
#74 0x00007f1a1d485b4c in QApplication::x11ProcessEvent (this=0x7fff10805310, event=event@entry=0x7fff10804e30) at kernel/qapplication_x11.cpp:3653
#75 0x00007f1a1d4ac9e2 in x11EventSourceDispatch (s=0x1ec5a00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#76 0x00007f1a197d2316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#77 0x00007f1a197d2668 in ?? () from /usr/lib64/libglib-2.0.so.0
#78 0x00007f1a197d270c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#79 0x00007f1a1e2c4965 in QEventDispatcherGlib::processEvents (this=0x1e715d0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#80 0x00007f1a1d4aca96 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#81 0x00007f1a1e29679f in QEventLoop::processEvents (this=this@entry=0x7fff10805210, flags=...) at kernel/qeventloop.cpp:149
#82 0x00007f1a1e296a95 in QEventLoop::exec (this=this@entry=0x7fff10805210, flags=...) at kernel/qeventloop.cpp:204
#83 0x00007f1a1e29bd5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#84 0x00007f1a1d40e1ac in QApplication::exec () at kernel/qapplication.cpp:3823
#85 0x000000000043b4a9 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/umbrello-4.13.1/umbrello/main.cpp:123

Reported using DrKonqi
Comment 1 Nico Kruber 2014-05-28 14:59:20 UTC
it seems, the import does not crash using a single java file using the default, i.e. no, package - my original files I wanted to import reside inside real packages
Comment 2 Oliver Kellogg 2014-05-29 10:52:44 UTC
(In reply to comment #0)
> [...]
> 1) Code -> Code Importing Wizard
> 2) select a folder including java files (the "Include Subdirectories"
> checkbox does not work!) -> Next

This is really _two_ bug reports:
I confirm the malfunction of the "Include Subdirectories" checkbox in the Wizard;

> 3) Start import
> -> it will crash during this import

but I cannot confirm the crash.
Please attach Java source code for which the crash happens.
Comment 3 Oliver Kellogg 2014-05-29 11:05:41 UTC
Git commit c9c85d7e7a4377207e42be29e58453893ce217f3 by Oliver Kellogg.
Committed on 29/05/2014 at 11:05.
Pushed by okellogg into branch 'master'.

(In reply to comment #1)
> it seems, the import does not crash using a single java file using the
> default, i.e. no, package - my original files I wanted to import reside
> inside real packages

It might be that the problem is fixed coincidentally by following change
but without a reproducer there is no way of knowing.

umbrello/codeimport/nativeimportbase.{h,cpp}
- Change member m_parsedFiles to `static'.
  Reason: The files parsed shall be accumulated across all instances of
  NativeImportBase. See e.g. umbrello/codeimport/javaimport.cpp function
  spawnImport() : A new JavaImport importer is created for each file.
  However, m_parsedFiles shall span across all these instances.

umbrello/codeimport/nativeimportbase.cpp
- Additional fix in function preprocess() :
  A Java input line such as
    //***** this is a single line comment *****
  was erroneously treated as a multi line comment opener.
  (Notice the embedded /* which was misinterpreted.)

M  +11   -0    umbrello/codeimport/nativeimportbase.cpp
M  +1    -1    umbrello/codeimport/nativeimportbase.h

http://commits.kde.org/umbrello/c9c85d7e7a4377207e42be29e58453893ce217f3
Comment 4 Oliver Kellogg 2014-05-29 14:48:47 UTC
(In reply to comment #2)
> > [...]
> > 1) Code -> Code Importing Wizard
> > 2) select a folder including java files (the "Include Subdirectories"
> > checkbox does not work!) -> Next
> 
> This is really _two_ bug reports:
> I confirm the malfunction of the "Include Subdirectories" checkbox in the
> Wizard;

By the way, using Code -> Import Project... works fine in this case.
Comment 5 Ralf Habacker 2014-05-29 19:30:14 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > > [...]
> > > 1) Code -> Code Importing Wizard
> > > 2) select a folder including java files (the "Include Subdirectories"
> > > checkbox does not work!) -> Next
> > 
> > This is really _two_ bug reports:
> > I confirm the malfunction of the "Include Subdirectories" checkbox in the
> > Wizard;
Joris Steyn tried to fix this already, see https://bugs.kde.org/show_bug.cgi?id=327701 and branch work/327701 https://projects.kde.org/projects/kde/kdesdk/umbrello/repository/show?rev=work%2F327701
> By the way, using Code -> Import Project... works fine in this case.
or by using treeview->logica viewl->rightclick->import project :-)
Comment 6 Oliver Kellogg 2014-06-16 19:42:12 UTC
Git commit 9a16963ece9aeca85a9e678a23ff00f2f59d8730 by Oliver Kellogg.
Committed on 29/05/2014 at 11:05.
Pushed by okellogg into branch 'KDE/4.13'.

(In reply to comment #1)
> it seems, the import does not crash using a single java file using the
> default, i.e. no, package - my original files I wanted to import reside
> inside real packages

It might be that the problem is fixed coincidentally by following change
but without a reproducer there is no way of knowing.

umbrello/codeimport/nativeimportbase.{h,cpp}
- Change member m_parsedFiles to `static'.
  Reason: The files parsed shall be accumulated across all instances of
  NativeImportBase. See e.g. umbrello/codeimport/javaimport.cpp function
  spawnImport() : A new JavaImport importer is created for each file.
  However, m_parsedFiles shall span across all these instances.

umbrello/codeimport/nativeimportbase.cpp
- Additional fix in function preprocess() :
  A Java input line such as
    //***** this is a single line comment *****
  was erroneously treated as a multi line comment opener.
  (Notice the embedded /* which was misinterpreted.)

M  +11   -0    umbrello/codeimport/nativeimportbase.cpp
M  +1    -1    umbrello/codeimport/nativeimportbase.h

http://commits.kde.org/umbrello/9a16963ece9aeca85a9e678a23ff00f2f59d8730
Comment 7 mparchet 2014-09-24 16:09:15 UTC
Hello,

To reporoduce this bug.

1. Go to code -> code importing wisird.
In programming language, select java
Select one or several java file to inport.
Click next.
Select start import.
umbrello should crach

Report bug :

Application: Umbrello UML Modeller (umbrello), signal: Aborted


My configuration :
ubuntu 14.04 64 bit
umbrello version ubuntu .deb packabge version 4:4.13.-0ubuntu0

Could you fix this bug please ?

Best regards

mparchet
Comment 8 mparchet 2014-09-25 19:47:38 UTC
Hello,

I have this problem with ubuntu .deb package ;
umbrello 4:4.13.3-0ubuntu0.1

My configuration :
ubuntu 14.04 LTS 64 bit

Could you help me please

Besr regards

mparchet
Comment 9 Oliver Kellogg 2014-09-25 20:15:32 UTC
(In reply to mparchet from comment #8)
> Hello,
> 
> I have this problem with ubuntu .deb package ;
> umbrello 4:4.13.3-0ubuntu0.1
> 
> My configuration :
> ubuntu 14.04 LTS 64 bit
> 
> Could you help me please
> 
> Besr regards
> 
> mparchet

Don't use the Wizard, use Import Project instead.
Comment 10 mparchet 2014-09-27 18:30:11 UTC
Hello,

I'm sorry it doesn't work.

For example if I would like import the cardme java project

http://sourceforge.net/p/cardme/code/HEAD/tree/

I chose code -> import project
I chose ma caedme code project folder 

Umbrello crash 

Could you help me please  ?

Best regards 

mparchet
Comment 11 Oliver Kellogg 2014-09-27 20:23:49 UTC
Created attachment 88865 [details]
KCrash trace from Umbrello 2.13.3 import of cardme-code/src svn r373

(In reply to mparchet from comment #10)
> Hello,
> 
> I'm sorry it doesn't work.
> 
> For example if I would like import the cardme java project
> 
> http://sourceforge.net/p/cardme/code/HEAD/tree/
> 
> I chose code -> import project
> I chose ma caedme code project folder 
> 
> Umbrello crash 

I confirm using umbrello 2.13.3 :
* Start Umbrello
* In "Code" -> "Active Language" select "Java"
* In "Code" -> "Import Project..." navigate to the cardme-code/src directory of svn checkout
* Press <OK>
* Crash, backtrace see attachment.

Import succeeds when using Umbrello 2.14.x.
Comment 12 mparchet 2014-09-27 21:18:03 UTC
Hello.

Then the ubuntu package is outdated .

Could you confirm this ?

Best regards

mparchet
Comment 13 Oliver Kellogg 2014-09-28 11:02:27 UTC
(In reply to mparchet from comment #12)
> Hello.
> 
> Then the ubuntu package is outdated .
> 
> Could you confirm this ?

According to
https://launchpad.net/ubuntu/trusty/+package/umbrello
an update does not appear to be in the 14.04 pipeline.
In contrast, it looks like the latest umbrello is in 14.10, see
https://launchpad.net/ubuntu/utopic/+package/umbrello
Comment 14 mparchet 2014-09-28 19:47:11 UTC
Hello,

Sorry, I have ubuntu 14.04 and it seem that ubuntu 14.10 isen't redy.

What I can do ?

Chamg ubuntu for kubuntu ?
Change my linux distribution for a souce code distribution.
Change linux for pc-BSD with ports ?

Thanks for your answers

Best regardds

mparchet
Comment 15 Emmanuel Lepage Vallée 2014-09-29 00:22:05 UTC
Hello,

Ubuntu versions do not tend to upgrade packages to new version over its lifecycle. Some exceptions exist, but by rule of the thumb they wont. To solve this problem, there exist something called "PPA" or third party repositories. There is probably a PPA around, but not any of the popular one I know about.

Fortunately for you, Umbrello is easy enough to compile. If you are using it,  chances are you can also compile it. First, install all the dependencies:
sudo apt-get build-dep umbrello
# Then compile
git clone git://anongit.kde.org/umbrello
cd umbrello
mkdir build
cd build
cmake ../
make -j
# And run
./src/umbrello
Comment 16 mparchet 2014-10-01 21:16:18 UTC
Hello,

Sorry ubrello dose'nt compile-

See bellow gcc error

c++: internal compiler error: Processus arrêté (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
c++: internal compiler error: Processus arrêté (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: *** [umbrello/CMakeFiles/umbrello.dir/codeimpwizard/codeimportingwizard.cpp.o] Erreur 4
make[2]: *** [umbrello/CMakeFiles/umbrello.dir/dialogs/pages/codeimportoptionspage.cpp.o] Erreur 4


Icould you help me please ?

Best regards

mparchet