I know, I am late with upgrading Hollywood8 to Hollywood9 but as I just planned to update some of my scripts and implement some new features, I finally installed HW9 and tested some older presentation that I crated with Hollywood8.
On Linux x64, I get a "segmentation fault" and on AmigaOS4 a GrimReaper (haven't yet tested it on Windows) -- so regardless what I am doing in HW scripts, that should not happen, I guess.
I just debugged it to a code line that creates a new object. Actually, the first line in the function calls "new" from the base object:
Code: Select all
Function FriendNode:new(x,y,r,nid,feat)
DebugPrint("In FriendNode:new 1")
Local this=self:super():new(x,y,r,nid,feat)
DebugPrint("In FriendNode:new 2") ; <--- is not reached as Segmentation Fault happens first.
...
EndFunction
I implemented this ages ago and I can imagine that I did something stupid. However, it seems to have worked since Hollywood3 (I think) and still works with latest HW8. I hope, @Andreas, u have an idea what could have gone wrong. Otherwise, I try to implement a short example program to reproduce the issue. However, that might require some research in object oriented design with lua again -- I seem to have forgotten most of the stuff
cheers,
Tom