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

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 …

Viewing all articles
Browse latest Browse all 17560

Latest Images

Trending Articles


Telangana Ration Card Online Status Ahara Bhadratha Card Online Status


Students hit streets to save Agriculture College land in city


Waves Complete v2019.02.14 Incl Emulator-R2R


CalCen


[RELEASE THREAD]--_A-Team_--Cricket_Dream_5G


New! K-12 Display Bulletin Boards for Grade 5 (1st Quarter)


HI-FI SET - PASADENA PARK


Police blotter for Jan. 12


WordPress: Reverse Shell


Artbeats - Nature: Grow! (HD + SD)



Latest Images

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