[Uml-devel] Crash on start

Vincent Ricard magic at magicninja.org
Mon Sep 4 20:08:50 UTC 2006


Hi,

I compiled umbrello from trunk/kdesdk and i had a problem; cmake did not finc 
FlexLexer.h (present in /usr/include on my box). So i removed 
HAVE_FLEXLEXER_H from the test around the add_subdirectory command. Next, the 
compilation and the installation were fine.

So, now, when i run umbrello i get :
ASSERT failure in QFont: "Must construct a QApplication before a QFont", file 
text/qfont.cpp, line 533

Here is the backtrace :
(gdb) bt
#0  0x00002ab703dbd07b in raise () from /lib/libc.so.6
#1  0x00002ab703dbe84e in abort () from /lib/libc.so.6
#2  0x00002ab6ff9e34a6 in qt_message_output (msgType=QtFatalMsg,
    buf=0x7fffab21f260 "ASSERT failure in QFont: \"Must construct a 
QApplication before a QFont\", file text/qfont.cpp, line 533") at 
global/qglobal.cpp:1991
#3  0x00002ab6ff9e35ab in qFatal (msg=0x2ab6ffabd350 "ASSERT failure in %s: 
\"%s\", file %s, line %d")
    at global/qglobal.cpp:2207
#4  0x00002ab6ff9e35e8 in qt_assert_x (where=0x2ab70366867d "QFont",
    what=0x2ab703668650 "Must construct a QApplication before a QFont", 
file=0x2ab7036684ca "text/qfont.cpp", line=533)
    at global/qglobal.cpp:1759
#5  0x00002ab70332574b in QFont (this=0x8b4700, family=@0x7fffab2213c0, 
pointSize=-1, weight=-1, italic=false)
    at text/qfont.cpp:532
#6  0x00002ab7031d358b in QApplication::font () at 
kernel/qapplication.cpp:1569
#7  0x00002ab703324eb1 in QFont (this=0x8b08d0) at text/qfont.cpp:506
#8  0x000000000051a6e9 in UIState (this=0x8b08a8) 
at /home/vincent/Project/KDE/kdesdk/umbrello/umbrello/optionstate.h:62
#9  0x000000000051a736 in OptionState (this=0x8b0880) 
at /home/vincent/Project/KDE/kdesdk/umbrello/umbrello/optionstate.h:82
#10 0x0000000000662cd5 in __static_initialization_and_destruction_0 
(__initialize_p=1, __priority=65535)
    at /home/vincent/Project/KDE/kdesdk/umbrello/umbrello/optionstate.cpp:16
#11 0x0000000000662cff in global constructors keyed to 
_ZN8Settings14pd_optionStateE ()
    at /home/vincent/Project/KDE/kdesdk/umbrello/umbrello/optionstate.cpp:27
#12 0x00000000006d77d6 in __do_global_ctors_aux ()
#13 0x00000000004da4c3 in _init ()
#14 0x00000000006d7730 in RubyCodeGenerationFormBase::qt_metacast ()
Previous frame inner to this frame (corrupt stack?)

Why the RubyCodeGeneration is used ? Is it normal ?

Cheers,
-- 
Vincent
http://www.magicninja.org/public.asc
Fingerprint: C8E2 4129 1D57 6B01 1247 5B35 50F0 550F C144 FC59
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20060904/fd536276/attachment.sig>


More information about the umbrello-devel mailing list