Current git crashes when saving a map after some rooms are deleted

Bug #1254404 reported by Vadim Peretokin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mudlet
Fix Released
Critical
Chris

Bug Description

Given the attached map, which looks like this: http://i.imgur.com/G83cOpq.png

Delete rooms on the left side so it looks like this: http://i.imgur.com/ATIOzi0.png

Save the map (via saveMap()) and Mudlet will crash:

0 operator<<(QDataStream&, QString const&) /home/vadi/Qt5.1.1/5.1.1/gcc_64/lib/libQt5Core.so.5 0x7ffff54071fa
1 TMap::serialize TMap.cpp 978 0x5e99de
2 TConsole::saveMap TConsole.cpp 1740 0x437078
3 TLuaInterpreter::saveMap TLuaInterpreter.cpp 1643 0x4e703b
4 ?? /usr/lib/x86_64-linux-gnu/liblua5.1.so.0 0x7ffff797c23c
5 ?? /usr/lib/x86_64-linux-gnu/liblua5.1.so.0 0x7ffff7986d88
6 ?? /usr/lib/x86_64-linux-gnu/liblua5.1.so.0 0x7ffff797c64d
7 ?? /usr/lib/x86_64-linux-gnu/liblua5.1.so.0 0x7ffff797b8d7
8 ?? /usr/lib/x86_64-linux-gnu/liblua5.1.so.0 0x7ffff797c802
9 lua_pcall /usr/lib/x86_64-linux-gnu/liblua5.1.so.0 0x7ffff7978361
10 TLuaInterpreter::call TLuaInterpreter.cpp 10111 0x4edb5d
11 TAlias::execute TAlias.cpp 426 0x528408
12 TAlias::match TAlias.cpp 275 0x5295f3
13 TAlias::match TAlias.cpp 284 0x528c9e
14 TAlias::match TAlias.cpp 284 0x528c9e
15 AliasUnit::processDataStream AliasUnit.cpp 281 0x536844
16 Host::send Host.cpp 637 0x45c8ac
17 TCommandLine::enterCommand TCommandLine.cpp 522 0x51cf6c
18 TCommandLine::event TCommandLine.cpp 236 0x51e623
19 QApplicationPrivate::notify_helper(QObject*, QEvent*) /home/vadi/Qt5.1.1/5.1.1/gcc_64/lib/libQt5Widgets.so.5 0x7ffff6467b54
20 QApplication::notify(QObject*, QEvent*) /home/vadi/Qt5.1.1/5.1.1/gcc_64/lib/libQt5Widgets.so.5 0x7ffff646b950
... <More>

Tags: crash
Revision history for this message
Vadim Peretokin (vperetokin) wrote :
Revision history for this message
Chris (chrismudlet) wrote :

When you delete the first 6 rooms via alt+click on the visual mapper, then right-click and delete the rooms, do you get a seg fault?

Revision history for this message
Chris (chrismudlet) wrote :
Changed in mudlet:
assignee: nobody → Chris (chrismudlet)
importance: Undecided → Critical
status: Confirmed → Fix Committed
Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Bug 1254404] Re: Current git crashes when saving a map after some rooms are deleted

The original case isn't an issue anymore, and I don't get a segfault with
your question either. Thanks a ton.

Changed in mudlet:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.