[CC to Hannes Schönemann]

On Nov 3, 7:05 am, Ursula Whitcher <[EMAIL PROTECTED]> wrote:

Hello Ursula, Hannes,

I can reproduce this issue with the Singular shipped with Sage 2.8.11,
but originally it happened with Sage 2.8.10, also. The log is from
sage.math, i.e. and x86-64 Linux box.

> William Stein wrote:
> > Do you use a funny shell, have funny environment variables
> > set, load customizations? ... becomes root on sage.math
> > and tries your session as you...  and it works fine.
> > Maybe you didn't paste the correct log into your email.
> > Please try replicating it yourself, so you can remember
> > what you really meant.
>
> The key appears to be my earlier remark:
>
> > I used the Singular monitor("testfile.txt","io"); command to record
> > the input & output for this series of commands
>
> If I run the exact series of commands in William's log, I don't have
> an error.  However, if the first command in my Singular session is:
>
> > monitor("testfile.txt","io");
>
> and then I run the series of commands, I get the same error described
> earlier in this thread:
>
> > poly testPoly = reducePoleOrder(a^2*b^2*c^2, Jac, abcVars);
>
> division complete
> reduction complete
> trace complete> testPoly;
>
> Singular : signal 11 (v: 3032/2007110220):
> Segment fault/Bus error occurred at 3f because of 10202 (r:1194069467)
> please inform the authors
> trying to restart...
>
> (So my log was accurate, but it didn't include the command used to
> create the log!)
>
> UAW

I ran the session under valgrind and the following happens at the end:

> testPoly;
==24486==
==24486== Conditional jump or move depends on uninitialised value(s)
==24486==    at 0x5795B56: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4D835C: Print (febase.cc:1134)
==24486==    by 0x4B45B7: sleftv::Print(sleftv*, int) (subexpr.cc:137)
==24486==    by 0x47B4E9: yyparse() (grammar.y:1508)
==24486==    by 0x44F981: main (tesths.cc:250)
==24486==
==24486== Conditional jump or move depends on uninitialised value(s)
==24486==    at 0x5795C35: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4D835C: Print (febase.cc:1134)
==24486==    by 0x4B45B7: sleftv::Print(sleftv*, int) (subexpr.cc:137)
==24486==    by 0x47B4E9: yyparse() (grammar.y:1508)
==24486==    by 0x44F981: main (tesths.cc:250)
==24486==
==24486== Conditional jump or move depends on uninitialised value(s)
==24486==    at 0x57CBC75: mbsnrtowcs (in /lib/libc-2.3.6.so)
==24486==    by 0x5795C55: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4D835C: Print (febase.cc:1134)
==24486==    by 0x4B45B7: sleftv::Print(sleftv*, int) (subexpr.cc:137)
==24486==    by 0x47B4E9: yyparse() (grammar.y:1508)
==24486==    by 0x44F981: main (tesths.cc:250)
==24486==
==24486== Conditional jump or move depends on uninitialised value(s)
==24486==    at 0x4A1C9D7: strnlen (mc_replace_strmem.c:226)
==24486==    by 0x57CBCF5: mbsnrtowcs (in /lib/libc-2.3.6.so)
==24486==    by 0x5795C55: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4D835C: Print (febase.cc:1134)
==24486==    by 0x4B45B7: sleftv::Print(sleftv*, int) (subexpr.cc:137)
==24486==    by 0x47B4E9: yyparse() (grammar.y:1508)
==24486==    by 0x44F981: main (tesths.cc:250)
==24486==
==24486== Use of uninitialised value of size 8
==24486==    at 0x4A1C9D9: strnlen (mc_replace_strmem.c:226)
==24486==    by 0x57CBCF5: mbsnrtowcs (in /lib/libc-2.3.6.so)
==24486==    by 0x5795C55: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4D835C: Print (febase.cc:1134)
==24486==    by 0x4B45B7: sleftv::Print(sleftv*, int) (subexpr.cc:137)
==24486==    by 0x47B4E9: yyparse() (grammar.y:1508)
==24486==    by 0x44F981: main (tesths.cc:250)
==24486==
==24486== Invalid read of size 1
==24486==    at 0x4A1C9D9: strnlen (mc_replace_strmem.c:226)
==24486==    by 0x57CBCF5: mbsnrtowcs (in /lib/libc-2.3.6.so)
==24486==    by 0x5795C55: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4D835C: Print (febase.cc:1134)
==24486==    by 0x4B45B7: sleftv::Print(sleftv*, int) (subexpr.cc:137)
==24486==    by 0x47B4E9: yyparse() (grammar.y:1508)
==24486==    by 0x44F981: main (tesths.cc:250)
==24486==  Address 0x3f is not stack'd, malloc'd or (recently) free'd
==24486==
==24486== Use of uninitialised value of size 8
==24486==    at 0x5792EF0: _itoa_word (in /lib/libc-2.3.6.so)
==24486==    by 0x57961AF: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x57933E5: buffered_vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x579408E: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x579D327: fprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4CE50F: sigsegv_handler(int, sigcontext) (cntrlc.cc:
174)
==24486==    by 0x578210F: (within /lib/libc-2.3.6.so)
==24486==    by 0x57CBCF5: mbsnrtowcs (in /lib/libc-2.3.6.so)
==24486==    by 0x5795C55: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4D835C: Print (febase.cc:1134)
==24486==    by 0x4B45B7: sleftv::Print(sleftv*, int) (subexpr.cc:137)
==24486==    by 0x47B4E9: yyparse() (grammar.y:1508)
==24486==
==24486== Conditional jump or move depends on uninitialised value(s)
==24486==    at 0x5792EFA: _itoa_word (in /lib/libc-2.3.6.so)
==24486==    by 0x57961AF: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x57933E5: buffered_vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x579408E: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x579D327: fprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4CE50F: sigsegv_handler(int, sigcontext) (cntrlc.cc:
174)
==24486==    by 0x578210F: (within /lib/libc-2.3.6.so)
==24486==    by 0x57CBCF5: mbsnrtowcs (in /lib/libc-2.3.6.so)
==24486==    by 0x5795C55: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4D835C: Print (febase.cc:1134)
==24486==    by 0x4B45B7: sleftv::Print(sleftv*, int) (subexpr.cc:137)
==24486==    by 0x47B4E9: yyparse() (grammar.y:1508)
==24486==
==24486== Conditional jump or move depends on uninitialised value(s)
==24486==    at 0x57966B0: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x57933E5: buffered_vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x579408E: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x579D327: fprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4CE50F: sigsegv_handler(int, sigcontext) (cntrlc.cc:
174)
==24486==    by 0x578210F: (within /lib/libc-2.3.6.so)
==24486==    by 0x57CBCF5: mbsnrtowcs (in /lib/libc-2.3.6.so)
==24486==    by 0x5795C55: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4D835C: Print (febase.cc:1134)
==24486==    by 0x4B45B7: sleftv::Print(sleftv*, int) (subexpr.cc:137)
==24486==    by 0x47B4E9: yyparse() (grammar.y:1508)
==24486==    by 0x44F981: main (tesths.cc:250)
==24486==
==24486== Conditional jump or move depends on uninitialised value(s)
==24486==    at 0x579536B: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x57933E5: buffered_vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x579408E: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x579D327: fprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4CE50F: sigsegv_handler(int, sigcontext) (cntrlc.cc:
174)
==24486==    by 0x578210F: (within /lib/libc-2.3.6.so)
==24486==    by 0x57CBCF5: mbsnrtowcs (in /lib/libc-2.3.6.so)
==24486==    by 0x5795C55: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4D835C: Print (febase.cc:1134)
==24486==    by 0x4B45B7: sleftv::Print(sleftv*, int) (subexpr.cc:137)
==24486==    by 0x47B4E9: yyparse() (grammar.y:1508)
==24486==    by 0x44F981: main (tesths.cc:250)
Singular : signal 11 (v: 3032/2007110220):
==24486==
==24486== Conditional jump or move depends on uninitialised value(s)
==24486==    at 0x4CE513: sigsegv_handler(int, sigcontext) (cntrlc.cc:
175)
==24486==    by 0x578210F: (within /lib/libc-2.3.6.so)
==24486==    by 0x57CBCF5: mbsnrtowcs (in /lib/libc-2.3.6.so)
==24486==    by 0x5795C55: vfprintf (in /lib/libc-2.3.6.so)
==24486==    by 0x4D835C: Print (febase.cc:1134)
==24486==    by 0x4B45B7: sleftv::Print(sleftv*, int) (subexpr.cc:137)
==24486==    by 0x47B4E9: yyparse() (grammar.y:1508)
==24486==    by 0x44F981: main (tesths.cc:250)
Segment fault/Bus error occurred at 3f because of 4 (r:1194070263)
please inform the authors
trying to restart...

I have opened ticket #1074 - see http://trac.sagemath.org/sage_trac/ticket/1074
- that ticket has the full log from the valgrind session. Hopefully
the problem isn't due to the way we build Singular, but it is 7:15 am
and I need to catch some sleep for Bug Day 5 in about 10 hours, so
haven't tried to reproduce this on "stock" Singular, so sorry :)

Cheers,

Michael


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to