Public bug reported:

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>

** Affects: mudlet
     Importance: Undecided
         Status: Confirmed


** Tags: crash

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

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

Status in Mudlet the MUD client:
  Confirmed

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>

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

_______________________________________________
Mailing list: https://launchpad.net/~mudlet-makers
Post to     : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp

Reply via email to