mudlet-makers team mailing list archive
-
mudlet-makers team
-
Mailing list archive
-
Message #00527
[Bug 378703] Re: Crash while loading a profile the 2nd time
** Changed in: mudlet
Status: New => Fix Released
--
Crash while loading a profile the 2nd time
https://bugs.launchpad.net/bugs/378703
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
Status in Mudlet the MUD client: Fix Released
Bug description:
Beta 10 pre 6? I think. Load a profile, close it with 'Close' button, load same profile again, crash.
0 QFont::detach qbasicatomic.h 64
1 QFont::setStyleStrategy qfont.cpp 1332
2 TConsole::changeColors TConsole.cpp 568
3 TConsole::setConsoleBgColor TConsole.cpp 612
4 mudlet::setBackgroundColor mudlet.cpp 508
5 TLuaInterpreter::setBackgroundColor TLuaInterpreter.cpp 1320
6 ?? /usr/lib/liblua5.1.so.0 0
7 ?? /usr/lib/liblua5.1.so.0 0
8 ?? /usr/lib/liblua5.1.so.0 0
9 ?? /usr/lib/liblua5.1.so.0 0
10 ?? /usr/lib/liblua5.1.so.0 0
11 lua_pcall /usr/lib/liblua5.1.so.0 0
12 TLuaInterpreter::compile TLuaInterpreter.cpp 2191
13 TScript::compileScript TScript.cpp 143
14 TScript::compile TScript.cpp 118
15 TScript::compile TScript.cpp 128
16 TScript::compileAll TScript.cpp 100
17 ScriptUnit::compileAll ScriptUnit.cpp 234
18 mudlet::slot_connection_dlg_finnished mudlet.cpp 1059
19 mudlet::qt_metacall moc_mudlet.cpp 110
20 QMetaObject::activate qobject.cpp 3111
... <More>
The script it was compiling is
"function init()
resolutionX, resolutionY = getMainWindowSize()
createMiniConsole("mapcap", resolutionX-300, 0, 300, 230)
setBackgroundColor("mapcap", 20, 0, 0, 0 )
setMiniConsoleFontSize("mapcap", 6)
end
init()"
and then mudlet tried setting the color of the console to that - so I guess it a) needs a check to see if a console is actually available to set a color on, and b) open console first when loading profile?
References