lua-users home
lua-l archive

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


Philip Bock wrote:
> 
> console_write("This is the beginning...\n")
> -- viewport_translaterd(self.viewport, self.pitch, self.yaw, self.roll,
> self.velocity * ticks_per_frame)
> console_wirte("This is the end.\n")
> 
> it still segfaults after the first console_write(), without the cerr output
> >from viewport_translaterd()! Now how do you figure that...

Lua does nothing more than writing some strings so it seems your C++ code
is broken.  Maybe the constructor/destructor of your Viewport class is
broken... (overwrites memory or something like that)

Ciao, ET.