Assertion `m_offset < obj->vtable->funcs.size()' failed.
Hi, can anybody can tell me what might cause this error message? chuck: chuck_instr.cpp:3669: virtual void Chuck_Instr_Dot_Member_Func::execute(Chuck_VM*, Chuck_VM_Shred*): Assertion `m_offset < obj->vtable->funcs.size()' failed. I tracked it down to this piece of code: public OscEvent getOscEvent(OscRecv r){ <<<"enter FloatParam::getOscEvent">>>; r.event(id+"/value, f") @=> OscEvent e; <<<"exit FloatParam::getOscEvent">>>; return e; } The second message is never displayed. Any ideas? TIA + Best Regards, --lu
Hi Lukas, I can't seem to replicate this error with the code you sent, but I'm not sure what "id" is in this context. Could you perhaps send along a minimal ChucK program that still produces the error? spencer On Mar 30, 2007, at 6:52 AM, Lukas Degener wrote:
Hi, can anybody can tell me what might cause this error message?
chuck: chuck_instr.cpp:3669: virtual void Chuck_Instr_Dot_Member_Func::execute(Chuck_VM*, Chuck_VM_Shred*): Assertion `m_offset < obj->vtable->funcs.size()' failed.
I tracked it down to this piece of code:
public OscEvent getOscEvent(OscRecv r){ <<<"enter FloatParam::getOscEvent">>>; r.event(id+"/value, f") @=> OscEvent e; <<<"exit FloatParam::getOscEvent">>>; return e;
}
The second message is never displayed. Any ideas?
TIA + Best Regards, --lu _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Spencer Salazar schrieb:
Hi Lukas, I can't seem to replicate this error with the code you sent, but I'm not sure what "id" is in this context. It is a string holding an OSC address prefix. (!=null) Could you perhaps send along a minimal ChucK program that still produces the error?
I am trying. I think it was somehow related to a missing return statement (see my recent post). Once I discovered (and fixed) this, the other problem disappeared. I will see if I can trigger it again. --lu
participants (2)
-
Lukas Degener
-
Spencer Salazar