← Back to team overview

mudlet-makers team mailing list archive

[Bug 1094812] Re: Crash trying to unzip too early when installing script on new profile

 

** Changed in: mudlet
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1094812

Title:
  Crash trying to unzip too early when installing script on new profile

Status in Mudlet the MUD client:
  Fix Released

Bug description:
  Mudlet crashes because TConsole::print() is called before it can be,
  and it wants to be called because unzip was called too early, before
  LuaGlobal is loaded:

  "Lua error:[string "unzip([[:/deleteOldProfiles.zip]],
  [[/home/va..."]:1: attempt to call global 'unzip' (a nil value)"

  
  0	TConsole::print	TConsole.cpp	2543	0x43b83d	
  1	mudlet::print	mudlet.cpp	1954	0x5a0e39	
  2	TLuaInterpreter::qt_static_metacall	moc_TLuaInterpreter.cpp	125	0x6452ce	
  3	QMetaObject::activate(QObject*, QMetaObject const*, int, void**)	/usr/lib/x86_64-linux-gnu/libQtCore.so.4		0x7ffff59a5281	
  4	TLuaInterpreter::signalEchoMessage	moc_TLuaInterpreter.cpp	220	0x646554	
  5	TLuaInterpreter::compileAndExecuteScript	TLuaInterpreter.cpp	8799	0x4e3dc8	
  6	Host::installPackage	Host.cpp	938	0x461a58	
  7	dlgConnectionProfiles::slot_connectToServer	dlgConnectionProfiles.cpp	1230	0x470bb5	
  8	dlgConnectionProfiles::accept	dlgConnectionProfiles.cpp	107	0x4721c8	
  9	QMetaObject::activate(QObject*, QMetaObject const*, int, void**)	/usr/lib/x86_64-linux-gnu/libQtCore.so.4		0x7ffff59a5281	
  10	QAbstractButton::clicked(bool)	/usr/lib/x86_64-linux-gnu/libQtGui.so.4		0x7ffff688fc72	
  11	??	/usr/lib/x86_64-linux-gnu/libQtGui.so.4		0x7ffff65cda4e	
  12	??	/usr/lib/x86_64-linux-gnu/libQtGui.so.4		0x7ffff65ced8b	
  13	QAbstractButton::mouseReleaseEvent(QMouseEvent*)	/usr/lib/x86_64-linux-gnu/libQtGui.so.4		0x7ffff65ceffc	
  14	QWidget::event(QEvent*)	/usr/lib/x86_64-linux-gnu/libQtGui.so.4		0x7ffff6250144	
  15	QApplicationPrivate::notify_helper(QObject*, QEvent*)	/usr/lib/x86_64-linux-gnu/libQtGui.so.4		0x7ffff61ff894	
  16	QApplication::notify(QObject*, QEvent*)	/usr/lib/x86_64-linux-gnu/libQtGui.so.4		0x7ffff62050bf	
  17	QCoreApplication::notifyInternal(QObject*, QEvent*)	/usr/lib/x86_64-linux-gnu/libQtCore.so.4		0x7ffff5990e9c	
  18	QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)	/usr/lib/x86_64-linux-gnu/libQtGui.so.4		0x7ffff6200862	
  19	??	/usr/lib/x86_64-linux-gnu/libQtGui.so.4		0x7ffff627fbf5	
  20	QApplication::x11ProcessEvent(_XEvent*)	/usr/lib/x86_64-linux-gnu/libQtGui.so.4		0x7ffff627ebae	
  ...	<More>

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1094812/+subscriptions


References