[Bug 708059] New: ruby-bindings: function calling ruby_init() returns
https://bugzilla.novell.com/show_bug.cgi?id=708059 https://bugzilla.novell.com/show_bug.cgi?id=708059#c0 Summary: ruby-bindings: function calling ruby_init() returns Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: kkaempf@novell.com ReportedBy: kkaempf@novell.com QAContact: jsrain@novell.com CC: jsuchome@novell.com, kkaempf@novell.com, mvidner@novell.com, dmacvicar@novell.com, jreidinger@novell.com Depends on: 705425 Found By: Development Blocker: --- See https://bugzilla.novell.com/show_bug.cgi?id=705425#c25 http://stackoverflow.com/questions/4082989/calling-ruby-function-from-c-in-a... loop-results-in-stack-level-too-deep -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=708059 https://bugzilla.novell.com/show_bug.cgi?id=708059#c1 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Klaus Kämpf <kkaempf@novell.com> 2011-07-26 07:57:59 UTC --- Debug prints of various stack levels: Stack 0x7fffd7f8b178: Initializing ruby interpreter. Stack 0x7fffd7f8b2c0: loadModule. Stack 0x7fffd7f991f0: callInner. The stack level during ruby_init is lower(!) than subsequent calls. However, Ruby expects the stack to grow downward - this assumption is violated in the C++ code. Workaround: Add RUBY_STACK_INIT to callInner() This should be safe since callInner() is the only entry point to actual execution of Ruby code. The loadModule just loads/creates module structures on the heap. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=708059 https://bugzilla.novell.com/show_bug.cgi?id=708059#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@novell.com> 2011-07-26 17:00:43 CEST --- This is an autogenerated message for OBS integration: This bug (708059) was mentioned in https://build.opensuse.org/request/show/77099 Factory / yast2-ruby-bindings -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com