Anonymous Login
2017-03-24 21:02 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001891OpenClonkEngine - C4Scriptpublic2017-02-16 19:39
ReporterFulgen 
Assigned ToIsilkor 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001891: NULL dereference when warning is emitted in eval()
DescriptionI typed /script Schedule("GetCursor()->DoEnergy(150)",5). After pressing enter, the game freezes and crashes.
Tagscrash, Script
Attached Files

-Relationships
+Relationships

-Notes

~0005611

Fulgen (reporter)

(Add log)

~0005612

occ (reporter)

Hi! There's been a check-in that references this bug. For more information you can visit the repository browser at this address:
https://git.openclonk.org/openclonk.git/commitdiff/78bbbc917ba4bc7d611c068ea60683d54d123fa5

Changeset 78bbbc9 by Nicolas Hake <isilkor@openclonk.org>
Fallback to sane settings when compiling scripts without ScriptHost

Compilation without an associated ScriptHost happens in a call to eval,
in which case we'll fall back to the default warning settings (because
we don't have a location which we could get settings from).

Fixes 0001891.

+Notes

-Issue History
Date Modified Username Field Change
2017-02-16 17:57 Fulgen New Issue
2017-02-16 17:57 Fulgen File Added: openclonk-crash-2017-02-16-16-54-46.dmp
2017-02-16 17:57 Fulgen Tag Attached: crash
2017-02-16 17:57 Fulgen Tag Attached: Script
2017-02-16 17:58 Fulgen File Added: OpenClonk.log
2017-02-16 17:58 Fulgen Note Added: 0005611
2017-02-16 19:09 Isilkor Assigned To => Isilkor
2017-02-16 19:09 Isilkor Status new => assigned
2017-02-16 19:09 Isilkor Summary OpenClonk crashes when using Schedule() => NULL dereference when warning is emitted in eval()
2017-02-16 19:38 occ Note Added: 0005612
2017-02-16 19:39 Isilkor Status assigned => resolved
2017-02-16 19:39 Isilkor Resolution open => fixed
+Issue History