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.