Bug 169951 - Application freezes on startup with 100% cpu usage.
Summary: Application freezes on startup with 100% cpu usage.
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-27 21:28 UTC by jan0sch
Modified: 2009-01-02 12:45 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 jan0sch 2008-08-27 21:28:27 UTC
Version:           2.1.0 (using KDE 4.1.0)
OS:                Linux
Installed from:    Ubuntu Packages

Hi there,

I just ran into a problem with umbrello 2.1.0.
The application freezes on startup. I guess this is connected to the config files. If I delete all configs for umbrello I can start it normally.
But when I open an .xpi and exit the program it never comes up again (freeze) and uses 100% cpu.

Here is some output:
jens@magni:~# umbrello -v
Qt: 4.4.0
KDE: 4.1.00 (KDE 4.1.0)
Umbrello UML Modeller: 2.1.0

jens@magni:~# strace umbrello
[...a lot of stuff removed...]
unlink("/var/tmp/kdecache-jens/kpc/kde-icon-cache.lock") = 0
clock_gettime(CLOCK_MONOTONIC, {12598, 445364717}) = 0
clock_gettime(CLOCK_MONOTONIC, {12598, 445484275}) = 0
clock_gettime(CLOCK_MONOTONIC, {12598, 445524595}) = 0
clock_gettime(CLOCK_MONOTONIC, {12598, 445581971}) = 0
clock_gettime(CLOCK_MONOTONIC, {12598, 445621407}) = 0
clock_gettime(CLOCK_MONOTONIC, {12598, 445685722}) = 0
clock_gettime(CLOCK_MONOTONIC, {12598, 445725256}) = 0
clock_gettime(CLOCK_MONOTONIC, {12598, 446185361}) = 0
brk(0x8782000)                          = 0x8782000
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb45dc000
brk(0x877a000)                          = 0x877a000
mremap(0xb45dc000, 266240, 528384, MREMAP_MAYMOVE) = 0xb455b000
mremap(0xb455b000, 528384, 1052672, MREMAP_MAYMOVE) = 0xb445a000
mremap(0xb445a000, 1052672, 2101248, MREMAP_MAYMOVE) = 0xb4259000
mremap(0xb4259000, 2101248, 4198400, MREMAP_MAYMOVE) = 0xb3e58000
mremap(0xb3e58000, 4198400, 8392704, MREMAP_MAYMOVE) = 0xb3657000
mremap(0xb3657000, 8392704, 16781312, MREMAP_MAYMOVE) = 0xb2656000
mremap(0xb2656000, 16781312, 33558528, MREMAP_MAYMOVE) = 0xb0655000
mremap(0xb0655000, 33558528, 67112960, MREMAP_MAYMOVE) = 0xac654000
mremap(0xac654000, 67112960, 134221824, MREMAP_MAYMOVE) = 0xa4653000
mremap(0xa4653000, 134221824, 268439552, MREMAP_MAYMOVE) = 0x94652000
mremap(0x94652000, 268439552, 536875008, MREMAP_MAYMOVE) = 0x74651000
mremap(0x74651000, 536875008, 1073745920, MREMAP_MAYMOVE) = 0x34650000

The mremap continues just the numbers get bigger and the interval between the mremap messages get longer.

jens@magni:~# valgrind umbrello
[...a lot of stuff removed...]
==10426== More than 10000000 total errors detected.  I'm not reporting any more.
==10426== Final error counts will be inaccurate.  Go fix your program!
==10426== Rerun with --error-limit=no to disable this cutoff.  Note
==10426== that errors may occur in your program without prior warning from
==10426== Valgrind, because errors are no longer being displayed.
Comment 1 Dario Andres 2008-12-31 14:04:53 UTC
Have you experienced this bug again using a recent KDE (4.1.3 / 4.2beta2 / 4.2svn) ? Thanks :)
Comment 2 jan0sch 2009-01-02 11:33:51 UTC
I just tried with 4.1.2 and it seems that the bug has ceased to exist. :-)
Comment 3 Dario Andres 2009-01-02 12:45:07 UTC
Well.. closing as WORKSFORME. Please reopen this bug report if you experience this bug again :) Thanks