← Back to team overview

mudlet-makers team mailing list archive

[Bug 1226481] Re: deleteArea() doesn't have good performance / crashes

 

I actually stopped it myself after 10 minutes. Trying to run this inside
a debugger because leaving it on with a timer crashed it, this backtrace
happens:

0	QList<int>::node_construct	qlist.h	366	0x44a744	
1	QList<int>::append	qlist.h	495	0x4480cf	
2	QMap<int, QString>::keys	qmap.h	945	0x5fb57d	
3	TRoom::removeAllSpecialExitsToRoom	TRoom.cpp	289	0x5f9ebc	
4	TRoomDB::__removeRoom	TRoomDB.cpp	99	0x656f9e	
5	TRoom::~TRoom	TRoom.cpp	61	0x5f8fe0	
6	TRoomDB::removeRoom	TRoomDB.cpp	127	0x6571a0	
7	TRoomDB::removeArea	TRoomDB.cpp	146	0x6572a4	
8	TLuaInterpreter::deleteArea	TLuaInterpreter.cpp	6588	0x504589	
9	??	/usr/lib/x86_64-linux-gnu/liblua5.1.so.0		0x7ffff797c23c	
10	??	/usr/lib/x86_64-linux-gnu/liblua5.1.so.0		0x7ffff7986d88	
11	??	/usr/lib/x86_64-linux-gnu/liblua5.1.so.0		0x7ffff797c64d	
12	??	/usr/lib/x86_64-linux-gnu/liblua5.1.so.0		0x7ffff797b8d7	
13	??	/usr/lib/x86_64-linux-gnu/liblua5.1.so.0		0x7ffff797c802	
14	lua_pcall	/usr/lib/x86_64-linux-gnu/liblua5.1.so.0		0x7ffff7978361	
15	TLuaInterpreter::call	TLuaInterpreter.cpp	10178	0x512c78	
16	TAlias::execute	TAlias.cpp	426	0x53b987	
17	TAlias::match	TAlias.cpp	275	0x53a97f	
18	AliasUnit::processDataStream	AliasUnit.cpp	281	0x5482ea	
19	Host::send	Host.cpp	638	0x468f3c	
20	TCommandLine::enterCommand	TCommandLine.cpp	522	0x531c25	
...	<More>				


** Summary changed:

- deleteArea() doesn't have good performance
+ deleteArea() doesn't have good performance / crashes

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

Title:
  deleteArea() doesn't have good performance / crashes

Status in Mudlet the MUD client:
  New

Bug description:
  On the attached map, deleteArea(255) took 10min+ (not exaggerating) on
  a 3.6Ghz machine, using latest git. The client locked up during this
  and was unusable.

  Is there any way this could be improved?

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


References