Bug 252206 - Umbrello freezes and uses 100% CPU while importing a project
Summary: Umbrello freezes and uses 100% CPU while importing a project
Status: RESOLVED DUPLICATE of bug 302671
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: PiSi Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-24 07:45 UTC by Gökçen Eraslan
Modified: 2012-07-07 08:52 UTC (History)
4 users (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 Gökçen Eraslan 2010-09-24 07:45:17 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

When I try to import kde-networkmanagement project to see the UML diagrams about the project, Umbrello freezes and begins to use 100% CPU.

Reproducible: Always

Steps to Reproduce:
1- Checkout NM code from http://websvn.kde.org/trunk/extragear/base/networkmanagement/. Also you can find the snapshot of the code here (http://cekirdek.pardus.org.tr/~gokcen/files/networkmanagement-umbrello.tar.bz2)

2- Open Umbrello, follow Code -> Import Project
3- Select the networkmanagement directory that you just checked out
4- Answer questions as, Namespace, Namespace, Class, Class, Namespace, Namespace, Class
5- The last file imported is applet/interfaceitem.h and then it freezes.

Actual Results:  
Umbrello freezes.

Expected Results:  
Umbrello should import the project successfully.
Comment 1 atnt 2010-10-19 18:50:39 UTC
I'm facing the same issue. Umbrello crashes when I import headers and freezes when I import C++ project.

This has been detected on FreeBSD (KDE 4.5.1) and openSUSE (KDE 4.5.2)
Comment 2 ichramm 2011-09-16 17:14:17 UTC
Still happening 1 year later

I'm using KDE SC 4.7.1 on archlinux.

I've attached gdb and seen that there is a 87-frame stack:

(gdb) thread apply all bt

Thread 3 (Thread 0x7f4e9a177700 (LWP 6779)):
#0  0x00007f4ea659e613 in select () from /lib/libc.so.6
#1  0x00007f4ea78044a1 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f4ea773bbc5 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f4ea74b1da0 in start_thread () from /lib/libpthread.so.0
#4  0x00007f4ea65a47dd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4e990d9700 (LWP 6811)):
#0  0x00007f4ea659c563 in poll () from /lib/libc.so.6
#1  0x00007f4ea2f307d4 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f4ea2f30d09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f4ea784d606 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f4ea7821a92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f4ea7821c97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f4ea773913f in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f4ea7804aef in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f4ea773bbc5 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f4ea74b1da0 in start_thread () from /lib/libpthread.so.0
#10 0x00007f4ea65a47dd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4eaa99d760 (LWP 6714)):
#0  0x0000000000434992 in ?? ()
#1  0x00000000004d1e7d in ?? ()
#2  0x00000000004d22fc in ?? ()
#3  0x00000000004d2447 in ?? ()
#4  0x00000000004d1d39 in ?? ()
#5  0x00000000004fe0c1 in ?? ()
#6  0x00000000004fa6b0 in ?? ()
#7  0x00000000004fae92 in ?? ()
#8  0x00000000004d040e in ?? ()
#9  0x00000000004d09dd in ?? ()
#10 0x00000000004cc4ff in ?? ()
#11 0x00000000004cb592 in ?? ()
#12 0x00000000004fbff7 in ?? ()
#13 0x00000000005040a7 in ?? ()
#14 0x00000000004fa3df in ?? ()
#15 0x00000000004fad04 in ?? ()
#16 0x00000000004fae92 in ?? ()
#17 0x00000000004d040e in ?? ()
#18 0x00000000004d09dd in ?? ()
#19 0x00000000004cc4ff in ?? ()
#20 0x00000000004cb592 in ?? ()
#21 0x00000000004fbff7 in ?? ()
#22 0x00000000005040a7 in ?? ()
#23 0x00000000004fa3df in ?? ()
#24 0x00000000004fad04 in ?? ()
#25 0x00000000004fae92 in ?? ()
#26 0x00000000004d040e in ?? ()
#27 0x00000000004d09dd in ?? ()
#28 0x00000000004cc4ff in ?? ()
#29 0x00000000004cb592 in ?? ()
#30 0x00000000004fbff7 in ?? ()
#31 0x00000000005040a7 in ?? ()
#32 0x00000000004fa3df in ?? ()
#33 0x00000000004fad04 in ?? ()
#34 0x00000000004fae92 in ?? ()
#35 0x00000000004d040e in ?? ()
#36 0x00000000004d09dd in ?? ()
#37 0x00000000004cc4ff in ?? ()
#38 0x00000000004cb592 in ?? ()
#39 0x00000000004fbff7 in ?? ()
#40 0x00000000005040a7 in ?? ()
#41 0x00000000004fa3df in ?? ()
#42 0x00000000004fad04 in ?? ()
#43 0x00000000004fae92 in ?? ()
#44 0x00000000004d040e in ?? ()
#45 0x00000000004d09dd in ?? ()
#46 0x00000000004cc4ff in ?? ()
#47 0x00000000004cb592 in ?? ()
#48 0x00000000004fbff7 in ?? ()
#49 0x00000000005040a7 in ?? ()
#50 0x00000000004fa3df in ?? ()
#51 0x00000000004fad04 in ?? ()
#52 0x00000000004fae92 in ?? ()
#53 0x00000000004d040e in ?? ()
#54 0x00000000004d09dd in ?? ()
#55 0x00000000004cc4ff in ?? ()
#56 0x000000000052d76c in ?? ()
#57 0x0000000000514a07 in ?? ()
#58 0x000000000071bac7 in ?? ()
#59 0x000000000071bef7 in ?? ()
#60 0x000000000071ecdd in ?? ()
#61 0x00007f4ea78355ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#62 0x00007f4ea7d094d2 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#63 0x00007f4ea7d096bf in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#64 0x00007f4ea813f699 in ?? () from /usr/lib/libQtGui.so.4
#65 0x00007f4ea81452e2 in ?? () from /usr/lib/libQtGui.so.4
#66 0x00007f4ea92250f0 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#67 0x00007f4ea7d600fa in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#68 0x00007f4ea814688b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#69 0x00007f4ea7d0fae4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#70 0x00007f4ea7d15252 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#71 0x00007f4ea9162c96 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#72 0x00007f4ea782289c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#73 0x00007f4ea7d10ab2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#74 0x00007f4ea7d8d401 in ?? () from /usr/lib/libQtGui.so.4
#75 0x00007f4ea7d8bbda in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#76 0x00007f4ea7db3282 in ?? () from /usr/lib/libQtGui.so.4
#77 0x00007f4ea2f3029d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#78 0x00007f4ea2f30a78 in ?? () from /usr/lib/libglib-2.0.so.0
#79 0x00007f4ea2f30d09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#80 0x00007f4ea784d606 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#81 0x00007f4ea7db2eee in ?? () from /usr/lib/libQtGui.so.4
#82 0x00007f4ea7821a92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#83 0x00007f4ea7821c97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#84 0x00007f4ea7825eab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#85 0x000000000043b286 in ?? ()
#86 0x00007f4ea64f213d in __libc_start_main () from /lib/libc.so.6
#87 0x000000000043c845 in _start ()


PS: Sorry I don't have symbols
Comment 3 Ralf Habacker 2012-07-07 08:52:16 UTC

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