enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] MailStone x BrakeStone


From: Ralf Westram
Subject: Re: [Enigma-devel] MailStone x BrakeStone
Date: Sun, 29 Jun 2003 01:21:44 +0200
User-agent: Mutt/1.5.4i

Hi Ant,

> If you try to send a BrakeStone item through MailStone, a strange things
> happen. It most of the times throw SIGSEGV - not always, and I didn't
> figure out what it depends on. Most of the times, it SIGSEGVs, and if it
> fails, it always fails with the attached BT.

it-brake is no normal item. When it is set with SetItem it instantly
mutates into st-brake.

In MailStone::actor_hit there was

world::SetItem(p, it); // here it-brake is set and mutates into st-brake
// now 'it' is no longer valid
it->on_drop(sc.actor);  // bang!

Fixed version is in CVS

cu
Ralf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]