View Issue Details

IDProjectCategoryView StatusLast Update
0000772LDMud 3.5Efunspublic2018-01-30 03:59
ReporterGnomi Assigned ToGnomi  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Platformi686OSDebian GNU/LInuxOS Version5.0
Product Version3.5.0 
Target Version3.5.0Fixed in Version3.5.0 
Summary0000772: Calling destruct in __INIT crashes the driver
DescriptionWhen an object is destructed before the H_CREATE_* function is called, the driver crashes with: "apply() on destructed object '...' function '...'."
Steps To Reproduceint wegdamit()
{
    destruct(this_object());
    return 1;
}
int kaputt = wegdamit();

void create()
{
}
TagsNo tags attached.

Activities

Gnomi

2011-02-14 19:11

manager   ~0001991

process_string also crashes:

string kaputt() { destruct(this_object()); return "KAPUTT";}
string okay() { return "OKAY"; }

void create()
{
    process_string("@@kaputt@@ -> @@okay@@");
}

Gnomi

2011-02-22 23:17

manager   ~0002025

Fix committed in revision 8792ccbeb263e76df46ad2b9db51d80b58329abf to master-3.3 branch (see changeset 794 for details). Thank you for reporting!

Gnomi

2018-01-29 18:59

manager   ~0002331

Fix committed in revision 8792ccbeb263e76df46ad2b9db51d80b58329abf to master-3.3 branch (see changeset 2220 for details). Thank you for reporting!

Gnomi

2018-01-29 21:57

manager   ~0002382

Fix committed in revision 8792ccbeb263e76df46ad2b9db51d80b58329abf to master-3.3 branch (see changeset 3564 for details). Thank you for reporting!

Gnomi

2018-01-30 03:59

manager   ~0002433

Fix committed in revision 56f9f3ba3fc34b538c31ee4e088dbb995e9cf0c8 to master branch (see changeset 3997 for details). Thank you for reporting!

Issue History

Date Modified Username Field Change
2011-02-13 16:15 Gnomi New Issue
2011-02-13 16:15 Gnomi Status new => assigned
2011-02-13 16:15 Gnomi Assigned To => Gnomi
2011-02-14 19:11 Gnomi Note Added: 0001991
2011-02-22 23:17 Gnomi Source_changeset_attached => ldmud.git master 56f9f3ba
2011-02-22 23:17 Gnomi Source_changeset_attached => ldmud.git master-3.3 8792ccbe
2011-02-22 23:17 Gnomi Note Added: 0002025
2011-02-22 23:17 Gnomi Status assigned => resolved
2011-02-22 23:17 Gnomi Resolution open => fixed
2015-01-23 20:37 zesstra Fixed in Version => 3.5.0
2018-01-29 18:59 Gnomi Source_changeset_attached => ldmud.git master 56f9f3ba
2018-01-29 18:59 Gnomi Source_changeset_attached => ldmud.git master-3.3 8792ccbe
2018-01-29 18:59 Gnomi Note Added: 0002331
2018-01-29 21:57 Gnomi Source_changeset_attached => ldmud.git master 56f9f3ba
2018-01-29 21:57 Gnomi Source_changeset_attached => ldmud.git master-3.3 8792ccbe
2018-01-29 21:57 Gnomi Note Added: 0002382
2018-01-30 03:59 Gnomi Source_changeset_attached => ldmud.git master 56f9f3ba
2018-01-30 03:59 Gnomi Note Added: 0002433