Opened 13 years ago

Closed 13 years ago

#355 closed bug (fixed)

A simple way to crash singular

Reported by: gorzel Owned by: somebody
Priority: minor Milestone: 3-1-4 and higher
Component: singular-kernel Version: 3-1-3
Keywords: Cc:

Description

The following typo in the ring definition makes Singular crash:

> ring 0=0,x,dp;
Singular : signal 11 (v: 3132/ 14363 ):
current line:>>ring 0=0,x,dp;<<
Segment fault/Bus error occurred at 80ac5f8 because of 0 (r:1313067660)
please inform the authors
trying to restart...

Although error-messages exists for these cases:

> ring 0;
> basering;
   ? `basering` is undefined
   ? error occurred in or before STDIN line 2: `basering;`
> 0=0,x,dp;
   ? assign not impl.
   ? error occurred in or before STDIN line 3: `0=0,x,dp;`

Above, I would expect an error message as with this typoe here:

> ring r=0,x,qp;
   ? wrong ring order `qp`
   ? cannot make ring
   ? error occurred in or before STDIN line 6: `ring r=0,x,qp;`
   ? expected ring-expression. type 'help ring;'

Change History (2)

comment:1 Changed 13 years ago by hannes

Owner: changed from hannes to somebody

comment:2 Changed 13 years ago by hannes

Resolution: fixed
Status: newclosed

fixed with rev.14371 Please remember: tickets which are initially NOT assigned to somebody, will be silently ignored/deleted.

Note: See TracTickets for help on using tickets.