Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17063

SIGSEGV in Generic Wrappers for derived class methods, but not base methods

$
0
0

I have a derived class from a base class registered as in the template example. If I call a base class method, everything is fine. If I call a method of the derived class I get a SEGV in the Wrappers.

I am on (Ubuntu/ARM64 using generic wrappers)

In the leadup to Execute() I create a script on the fly that looks like:

std::string script = "DerivedClass m4808(5,0);int cowboy(){ m4808.setRPM(10); Print(\"CC Command sent\r\n\"); return 0; }"

The sequence of preparing the module is:

// Get/Create the module, add the script and build …

Viewing all articles
Browse latest Browse all 17063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>