source: git/Tst/New/ring_create_bug.tst @ 662ece

spielwiese
Last change on this file since 662ece was c5fac3, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
Added a bug test: unexpected "Segment fault"
  • Property mode set to 100644
File size: 440 bytes
Line 
1ring F; list L = ringlist(F);
2L[1];
3L[1] = 0;
4def Q = ring(L); setring Q; Q; setring F; kill Q; // Ok
5
6L[1] = list(0); // NOTE: this is a wrong code
7L[1];
8def Q=ring(L); // Ups... Segment fault :(
9/*
10   ? invald coeff. field description, expecting precision list
11   
12Singular : signal 11 (v: 0/$Id: 1a20828 Mon Dec 3 17:39:55 2012 +0100$):
13current line:>>def Q=ring(L);<<
14Segment fault/Bus error occurred (r:1354651089)
15*/
16setring Q; Q;
17$
Note: See TracBrowser for help on using the repository browser.