Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - Differences between invoking Singular on OSX and Windows
Author Message
  Post subject:  Re: Differences between invoking Singular on OSX and Windows  Reply with quote
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.
Post Posted: Fri Jun 21, 2013 4:59 pm
  Post subject:  Re: Differences between invoking Singular on OSX and Windows  Reply with quote
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...
Post Posted: Thu May 30, 2013 6:09 pm
  Post subject:  Differences between invoking Singular on OSX and Windows  Reply with quote
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.
Post Posted: Thu May 30, 2013 6:06 pm


It is currently Fri May 13, 2022 10:58 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group