Singular https://www.singular.uni-kl.de/forum/ |
|
Differences between invoking Singular on OSX and Windows https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2255 |
Page 1 of 1 |
Author: | mars [ Thu May 30, 2013 6:06 pm ] |
Post subject: | Differences between invoking Singular on OSX and Windows |
Hi all, I need to run Singular on both OSX and Windows. The following happens when trying to invoke Singular on both platforms: Code: OSX --------------- wifi:singular mars$ ./Singular -q -c 'LIB "solve.lib";2+2;quit;' 4 wifi:singular mars$ Code: Windows --------------- c:\cygwin\bin>bash Singular -q -c 'LIB "solve.lib";2+2;quit;' // ** Can not open "solve.lib";2+2;quit; Singular : signal 11 (v: 3160): current line:>>;return();<< Segment fault/Bus error occurred (r:1369929484) please inform the authors trying to restart... // ** Can not open "solve.lib";2+2;quit; 15 [main] Singular 668 exception::handle: Exception: STATUS_ACCESS_VIOLATION 11027 [main] Singular 668 open_stackdumpfile: Dumping stack trace to Singular.exe.stackdump 57650 [main] Singular 668 exception::handle: Exception: STATUS_ACCESS_VIOLATION 64231 [main] Singular 668 exception::handle: Error while dumping state (probably corrupted stack) The command runs correctly in OSX but in Windows there appears to be some problem. If I change the Windows command to just load the LIB, same thing happens: Code: Windows --------------- c:\cygwin\bin>bash Singular -q -c 'LIB "solve.lib"' // ** Can not open "solve.lib" Singular : signal 11 (v: 3160): current line:>>;return();<< Segment fault/Bus error occurred (r:1369929633) please inform the authors trying to restart... // ** Can not open "solve.lib" 6 [main] Singular 3148 exception::handle: Exception: STATUS_ACCESS_VIOLATION 4600 [main] Singular 3148 open_stackdumpfile: Dumping stack trace to Singular.exe.stackdump 43597 [main] Singular 3148 exception::handle: Exception: STATUS_ACCESS_VIOLATION 48595 [main] Singular 3148 exception::handle: Error while dumping state (probably corrupted stack) Contents of Singular.exe.stackdump is: Quote: Exception: STATUS_ACCESS_VIOLATION at eip=0049FF49 eax=FFAC4018 ebx=00000000 ecx=00000000 edx=FFAC4130 esi=00000000 edi=FFAC4130 ebp=00000005 esp=00289BB0 program=C:\cygwin\lib\Singular\Singular.exe, pid 3148, thread main cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B Stack trace: Frame Function Args 43597 [main] Singular 3148 exception::handle: Exception: STATUS_ACCESS_VIOLATION 48595 [main] Singular 3148 exception::handle: Error while dumping state (probably corrupted stack) What can I do? Running Singular version 3-1-6 on both platforms, OSX 10.8.3 and Windows 8 Pro. On windows I'm running Single File Installer -> Singular-3-1-6-Small.exe. |
Author: | mars [ Thu May 30, 2013 6:09 pm ] |
Post subject: | Re: Differences between invoking Singular on OSX and Windows |
Forgot to add that, if I change the Windows command and remove the LIB, it works as expected: Quote: c:\cygwin\bin>bash Singular -q -c '2+2;quit;' 4 c:\cygwin\bin> So, it seems to be a problem with loading libraries and cygwin... |
Author: | malex [ Fri Jun 21, 2013 4:59 pm ] |
Post subject: | Re: Differences between invoking Singular on OSX and Windows |
what about starting Singular and typing the same code? Could you please try to run Singular only with "-v" argument and check that libs are in the search path. O. |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |