← Back to team overview

mudlet-makers team mailing list archive

[Bug 1225548] [NEW] Setting the alias' substitution to pattern crashes Mudlet

 

Public bug reported:

Setting the substitution field to the alias itself, a mistake humans are
prone to do, will crash Mudlet.

** Affects: mudlet
     Importance: Medium
         Status: Confirmed


** Tags: crash

** Summary changed:

- Latest git crashes when setting room coordinates before the area
+ Setting the alias' substitution to pattern crashes Mudlet

** Changed in: mudlet
   Importance: High => Medium

** Changed in: mudlet
    Milestone: 3.0 => None

** Description changed:

- Steps to reproduce:
- 
- 1) connect to example.com, 23 (so it will never actually connect)
- 
- 2) open the map, select 'start my own'
- 
- 3) create the area:
- -- make sure it's gone
- deleteArea(1)
- local newid = addAreaName("terrinor")
- print("Made new area ID "..newid)
- setGridMode(1, true)
- 
- 4) create the room by running the following in an alias:
- r = createRoomID()
- addRoom(r)
- setRoomArea(r,1)
- setRoomCoordinates(r,-1250,-1250,0)
- centerview(r)
- 
- Running the above will crash Mudlet.
- 
- Stacktrace (for some reason it mentions only printing on the screen and nothing room-related)
- 0	QtPrivate::RefCount::isShared	qrefcount.h	95	0x443e8e	
- 1	QList<QString>::detach	qlist.h	133	0x44a873	
- 2	QList<QString>::end	qlist.h	273	0x5335e4	
- 3	QList<QString>::last	qlist.h	288	0x5335b2	
- 4	QList<QString>::back	qlist.h	304	0x533462	
- 5	TBuffer::append	TBuffer.cpp	1987	0x620120	
- 6	TConsole::print	TConsole.cpp	2559	0x44284d	
- 7	TConsole::printCommand	TConsole.cpp	2211	0x4405fd	
- 8	Host::send	Host.cpp	613	0x468d89	
- 9	TAlias::execute	TAlias.cpp	417	0x53b92d	
- 10	TAlias::match	TAlias.cpp	275	0x53a97f	
- 11	TAlias::match	TAlias.cpp	284	0x53a9f5	
- 12	AliasUnit::processDataStream	AliasUnit.cpp	281	0x5482ea	
- 13	Host::send	Host.cpp	638	0x468f3c	
- 14	TAlias::execute	TAlias.cpp	417	0x53b92d	
- 15	TAlias::match	TAlias.cpp	275	0x53a97f	
- 16	TAlias::match	TAlias.cpp	284	0x53a9f5	
- 17	AliasUnit::processDataStream	AliasUnit.cpp	281	0x5482ea	
- 18	Host::send	Host.cpp	638	0x468f3c	
- 19	TAlias::execute	TAlias.cpp	417	0x53b92d	
- 20	TAlias::match	TAlias.cpp	275	0x53a97f	
- ...	<More>
+ Setting the substitution field to the alias itself, a mistake humans are
+ prone to do, will crash Mudlet.

** Changed in: mudlet
       Status: New => Confirmed

** Tags added: crash

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

Title:
  Setting the alias' substitution to pattern crashes Mudlet

Status in Mudlet the MUD client:
  Confirmed

Bug description:
  Setting the substitution field to the alias itself, a mistake humans
  are prone to do, will crash Mudlet.

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


Follow ups

References