assertion failure

  • Anonymous - 2003-04-11

    What causes this failure:
    cecgl: macros.c:212: __regina_execute_external: Assertion `!TSD->in_protected' failed.
    There are multiple posix threads each calling an exec using a subcom environment.  I was seeing this message all the time (plus other strange behavior) until I rebuilt with --enable-posix-threads and that seem to solve the problem.  But now the problem has returned. 
    We're running Regina 3.1.  Any suggestions would be most welcome.......thanks.

    • Mark Hessling

      Mark Hessling - 2003-04-12

      The release notes of Regina 3.1 state that to use the thread-safe capabilities of Regina, you need to link your application with Try and use the regina-config script to determine the correct switches to build your applcation with.

    • Anonymous - 2003-04-15

      I added -lregina_ts to my makefile.  But when I run my application, I get the following:
      Program received signal SIGSEGV, Segmentation fault.            
      [Switching to Thread 1024 (LWP 1403)]                           
      0x100001d1ea4 in localtime (time=0x1ffffffeb60) at mt_posix.c:318
      318        mt_tsd_t *mt = __regina_get_tsd()->mt_tsd;           

      ??????   Again would greatly appreciate help.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks