Quantcast

octave calling a multithreaded library

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

octave calling a multithreaded library

Viktor Gal
Hi there,

i’m currently facing a situation with my octave interface that is calling a multithreaded library:
*** Error in `/usr/bin/octave-cli': double free or corruption (!prev): 0x0000000001743b80 ***
*** Error in `/usr/bin/octave-cli': double free or corruption (top): 0x00007fb5400068e0 ***
*** Error in `/usr/bin/octave-cli': corrupted double-linked list: 0x00007fb540006c80 ***

i was getting errors for the same library with the generated python swig interface as well, but there when i started to compile the interface with -threads option, the problem resolved itself.

i was trying to find out from the documentation whether there’s a similar option for octave, but i couldn’t find anything.
any suggestion for a workaround - apart from compiling the library single threaded?

cheers,
viktor


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Swig-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/swig-user
Loading...