Opened 11 years ago
Closed 11 years ago
#380 closed bug (fixed)
giving std(0) to division causes segmentation fault
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | minor | Milestone: | 3-1-4 and higher |
Component: | dontKnow | Version: | 3-1-3 |
Keywords: | Cc: |
Description
When I run the following script
ring r=(16,a),(e2,e1,y(2..1)),(wp(1+30,1,1,1)); qring rq=std(ideal(e1^2, e2^2, e1*e2)); division(e2, std(0));
I get
? 2nd module does not lie in the first Singular : signal 11 (v: 3130/ 14127M ): current line:>>division(e2, std(0));<< Segment fault/Bus error occurred at 7f300a64e000 because of 10206 (r:1319190656) please inform the authors trying to restart... .
The full output follows. It is interesting to observe that we have "Segmentation fault" after Singular saying "Auf Wiedersehen".
$ Singular -v Singular for x86_64-Linux version 3-1-3 (3130- 14127M ) Apr 8 2011 19:55:17 with factory(@(#) factoryVersion = 3.1.2),libfac(3.1.3,March 2011), GMP(4.3),NTL(5.5.2),64bit,unknown fgets method,Plural,DBM, dynamic modules,dynamic p_Procs,OM_CHECK=0,OM_TRACK=0,random=1319190656 CC= gcc -march=k8 -O3 -w -fomit-frame-pointer -pipe -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H, CXX= g++ -march=k8 -O3 -w -fomit-frame-pointer --no-rtti -I.. -I/tmp/hannes -pipe -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H (4.4.5) argv[0] : /usr/lib/Singular/Singular SearchPath: /usr/lib/Singular/MOD:/usr/share/Singular/LIB Singular : /usr/bin/Singular BinDir : /usr/lib/Singular RootDir : /usr/share/Singular DefaultDir: InfoFile : /usr/share/doc/Singular/info/singular.hlp IdxFile : /usr/share/doc/Singular/doc/singular.idx HtmlDir : /usr/share/doc/Singular/html ManualUrl : www.singular.uni-kl.de/Manual/3-1-3 ExDir : /usr/share/doc/Singular/examples Path : /usr/lib/Singular:/usr/bin:/usr/local/bin:/bin:/usr/local/games:/usr/games EmacsDir : /usr/share/Singular/emacs Available HelpBrowsers: firefox, xinfo, info, builtin, dummy, emacs, Current HelpBrowser: firefox SINGULAR / A Computer Algebra System for Polynomial Computations / version 3-1-3 0< by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann \ March 2011 FB Mathematik der Universitaet, D-67653 Kaiserslautern \ > <"singular-bug-111021-5.txt"; ? 2nd module does not lie in the first Singular : signal 11 (v: 3130/ 14127M ): current line:>>division(e2, std(0));<< Segment fault/Bus error occurred at 7f300a64e000 because of 10206 (r:1319190656) please inform the authors trying to restart... . quit; Auf Wiedersehen. Segmentation fault
Note: See
TracTickets for help on using
tickets.
fixed with rev. 14421, (test rev. 14422)
After the error message, a clean up of undefined memory areas lead to a total memory corruption.