> > Is there a chance that there will be executables that run on my work
> > machine with the next release?
>
> No, 3.4.2 won't have the fix, but 4.0 will in roughly two weeks.
Looking forward to it.

> > Or should I start compiling right now
> > and maybe move to some SVN kind of thing?
>
> I don't know what you mean? You can upgrade from sage release to sage
> release, but there is no such thing as all the sources in some repo.
> Various bits and pieces of Sage are under version control.

Was already wondering why I didn't find any information about a
central version control system. What do you mean by upgrade? Just
delete and download new binary?

> Ok, you left out what I truly cared about, i.e. the output from
>
>    disassemble $pc+32,$pc-32

> I was already pretty sure that MPIR/GMP was the issue here. In Sage
> 4.0 we will build MPIR for generic P4 CPUs so that the problem you ran
> into won't happen again.
>
> Cheers,
>
> Michael

Hopefully not.. But in any case here is the output of gdb

Cheers, Ivan

---
i...@ivan-laptop:~$ ./sage -gdb

----------------------------------------------------------------------
| Sage Version 3.4.1, Release Date: 2009-04-21                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
/home/ivan/aps/sage-3.4.1-linux-Ubuntu_8.10-sse2-i686-Linux/local/bin/
sage-ipython
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
[Thread debugging using libthread_db enabled]
Python 2.5.2 (r252:60911, Apr 24 2009, 04:52:24)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
[New Thread 0xb7e578d0 (LWP 4647)]

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb7e578d0 (LWP 4647)]
0xb7969542 in __gmpz_set_str ()
   from /home/ivan/aps/sage-3.4.1-linux-Ubuntu_8.10-sse2-i686-Linux/
local/lib/libgmp.so.3
Current language:  auto; currently asm
(gdb) disassemble $pc+32,$pc-32
Dump of assembler code for function __gmpz_set_str:
0xb7969350 <__gmpz_set_str+0>:  push   %ebp
0xb7969351 <__gmpz_set_str+1>:  mov    %esp,%ebp
0xb7969353 <__gmpz_set_str+3>:  push   %edi
0xb7969354 <__gmpz_set_str+4>:  push   %esi
0xb7969355 <__gmpz_set_str+5>:  push   %ebx
0xb7969356 <__gmpz_set_str+6>:  call   0xb796935b <__gmpz_set_str+11>
0xb796935b <__gmpz_set_str+11>: pop    %ebx
0xb796935c <__gmpz_set_str+12>: add    $0x31c99,%ebx
0xb7969362 <__gmpz_set_str+18>: sub    $0x4c,%esp
0xb7969365 <__gmpz_set_str+21>: mov    %gs:0x14,%edx
0xb796936c <__gmpz_set_str+28>: mov    %edx,-0x10(%ebp)
0xb796936f <__gmpz_set_str+31>: xor    %edx,%edx
0xb7969371 <__gmpz_set_str+33>: mov    0x8(%ebp),%eax
0xb7969374 <__gmpz_set_str+36>: mov    0xc(%ebp),%edi
0xb7969377 <__gmpz_set_str+39>: mov    %eax,-0x34(%ebp)
0xb796937a <__gmpz_set_str+42>: cmpl   $0x24,0x10(%ebp)
0xb796937e <__gmpz_set_str+46>: jg     0xb7969420 <__gmpz_set_str+208>
0xb7969384 <__gmpz_set_str+52>: mov    -0x54(%ebx),%eax
0xb796938a <__gmpz_set_str+58>: mov    %eax,-0x28(%ebp)
0xb796938d <__gmpz_set_str+61>: call   0xb79510a4 <__ctype_b_...@plt>
0xb7969392 <__gmpz_set_str+66>: mov    %eax,-0x24(%ebp)
0xb7969395 <__gmpz_set_str+69>: mov    (%eax),%ecx
---Type <return> to continue, or q <return> to quit---
0xb7969397 <__gmpz_set_str+71>: mov    %esi,%esi
0xb7969399 <__gmpz_set_str+73>: lea    0x0(%edi,%eiz,1),%edi
0xb79693a0 <__gmpz_set_str+80>: movzbl (%edi),%esi
0xb79693a3 <__gmpz_set_str+83>: inc    %edi
0xb79693a4 <__gmpz_set_str+84>: testb  $0x20,0x1(%ecx,%esi,2)
0xb79693a9 <__gmpz_set_str+89>: jne    0xb79693a0 <__gmpz_set_str+80>
0xb79693ab <__gmpz_set_str+91>: movl   $0x0,-0x2c(%ebp)
0xb79693b2 <__gmpz_set_str+98>: cmp    $0x2d,%esi
0xb79693b5 <__gmpz_set_str+101>:        je     0xb7969488 <__gmpz_set_str
+312>
0xb79693bb <__gmpz_set_str+107>:        mov    0x10(%ebp),%edx
0xb79693be <__gmpz_set_str+110>:        mov    $0xa,%eax
0xb79693c3 <__gmpz_set_str+115>:        test   %edx,%edx
0xb79693c5 <__gmpz_set_str+117>:        mov    -0x28(%ebp),%edx
0xb79693c8 <__gmpz_set_str+120>:        cmovne 0x10(%ebp),%eax
0xb79693cc <__gmpz_set_str+124>:        movzbl (%edx,%esi,1),%edx
0xb79693d0 <__gmpz_set_str+128>:        cmp    %edx,%eax
0xb79693d2 <__gmpz_set_str+130>:        jle    0xb7969426 <__gmpz_set_str
+214>
0xb79693d4 <__gmpz_set_str+132>:        mov    0x10(%ebp),%eax
0xb79693d7 <__gmpz_set_str+135>:        test   %eax,%eax
0xb79693d9 <__gmpz_set_str+137>:        jne    0xb796944c <__gmpz_set_str
+252>
0xb79693db <__gmpz_set_str+139>:        movl   $0xa,0x10(%ebp)
0xb79693e2 <__gmpz_set_str+146>:        cmp    $0x30,%esi
0xb79693e5 <__gmpz_set_str+149>:        jne    0xb796944c <__gmpz_set_str
+252>
---Type <return> to continue, or q <return> to quit---
0xb79693e7 <__gmpz_set_str+151>:        movzbl (%edi),%esi
0xb79693ea <__gmpz_set_str+154>:        inc    %edi
0xb79693eb <__gmpz_set_str+155>:        cmp    $0x78,%esi
0xb79693ee <__gmpz_set_str+158>:        je     0xb79695b0 <__gmpz_set_str
+608>
0xb79693f4 <__gmpz_set_str+164>:        cmp    $0x58,%esi
0xb79693f7 <__gmpz_set_str+167>:        je     0xb79695b0 <__gmpz_set_str
+608>
0xb79693fd <__gmpz_set_str+173>:        cmp    $0x62,%esi
0xb7969400 <__gmpz_set_str+176>:        je     0xb7969412 <__gmpz_set_str
+194>
0xb7969402 <__gmpz_set_str+178>:        movl   $0x8,0x10(%ebp)
0xb7969409 <__gmpz_set_str+185>:        cmp    $0x42,%esi
0xb796940c <__gmpz_set_str+188>:        lea    0x0(%esi,%eiz,1),%esi
0xb7969410 <__gmpz_set_str+192>:        jne    0xb796944c <__gmpz_set_str
+252>
0xb7969412 <__gmpz_set_str+194>:        movzbl (%edi),%esi
0xb7969415 <__gmpz_set_str+197>:        inc    %edi
0xb7969416 <__gmpz_set_str+198>:        movl   $0x2,0x10(%ebp)
0xb796941d <__gmpz_set_str+205>:        jmp    0xb796944c <__gmpz_set_str
+252>
0xb796941f <__gmpz_set_str+207>:        nop
0xb7969420 <__gmpz_set_str+208>:        cmpl   $0x3e,0x10(%ebp)
0xb7969424 <__gmpz_set_str+212>:        jle    0xb7969470 <__gmpz_set_str
+288>
0xb7969426 <__gmpz_set_str+214>:        mov    $0xffffffff,%eax
0xb796942b <__gmpz_set_str+219>:        mov    -0x10(%ebp),%edx
0xb796942e <__gmpz_set_str+222>:        xor    %gs:0x14,%edx
0xb7969435 <__gmpz_set_str+229>:        jne    0xb79695e0 <__gmpz_set_str
+656>
---Type <return> to continue, or q <return> to quit---
0xb796943b <__gmpz_set_str+235>:        lea    -0xc(%ebp),%esp
0xb796943e <__gmpz_set_str+238>:        pop    %ebx
0xb796943f <__gmpz_set_str+239>:        pop    %esi
0xb7969440 <__gmpz_set_str+240>:        pop    %edi
0xb7969441 <__gmpz_set_str+241>:        leave
0xb7969442 <__gmpz_set_str+242>:        ret
0xb7969443 <__gmpz_set_str+243>:        nop
0xb7969444 <__gmpz_set_str+244>:        lea    0x0(%esi,%eiz,1),%esi
0xb7969448 <__gmpz_set_str+248>:        movzbl (%edi),%esi
0xb796944b <__gmpz_set_str+251>:        inc    %edi
0xb796944c <__gmpz_set_str+252>:        cmp    $0x30,%esi
0xb796944f <__gmpz_set_str+255>:        je     0xb7969448 <__gmpz_set_str
+248>
0xb7969451 <__gmpz_set_str+257>:        testb  $0x20,0x1(%ecx,%esi,2)
0xb7969456 <__gmpz_set_str+262>:        jne    0xb7969448 <__gmpz_set_str
+248>
0xb7969458 <__gmpz_set_str+264>:        test   %esi,%esi
0xb796945a <__gmpz_set_str+266>:        jne    0xb79694a0 <__gmpz_set_str
+336>
0xb796945c <__gmpz_set_str+268>:        mov    -0x34(%ebp),%eax
0xb796945f <__gmpz_set_str+271>:        movl   $0x0,0x4(%eax)
0xb7969466 <__gmpz_set_str+278>:        xor    %eax,%eax
0xb7969468 <__gmpz_set_str+280>:        jmp    0xb796942b <__gmpz_set_str
+219>
0xb796946a <__gmpz_set_str+282>:        lea    0x0(%esi),%esi
0xb7969470 <__gmpz_set_str+288>:        mov    -0x54(%ebx),%eax
0xb7969476 <__gmpz_set_str+294>:        add    $0xe0,%eax
---Type <return> to continue, or q <return> to quit---
0xb796947b <__gmpz_set_str+299>:        mov    %eax,-0x28(%ebp)
0xb796947e <__gmpz_set_str+302>:        jmp    0xb796938d <__gmpz_set_str+61>
0xb7969483 <__gmpz_set_str+307>:        nop
0xb7969484 <__gmpz_set_str+308>:        lea    0x0(%esi,%eiz,1),%esi
0xb7969488 <__gmpz_set_str+312>:        movzbl (%edi),%esi
0xb796948b <__gmpz_set_str+315>:        inc    %edi
0xb796948c <__gmpz_set_str+316>:        movl   $0x1,-0x2c(%ebp)
0xb7969493 <__gmpz_set_str+323>:        jmp    0xb79693bb <__gmpz_set_str
+107>
0xb7969498 <__gmpz_set_str+328>:        nop
0xb7969499 <__gmpz_set_str+329>:        lea    0x0(%esi,%eiz,1),%esi
0xb79694a0 <__gmpz_set_str+336>:        lea    -0x1(%edi),%eax
0xb79694a3 <__gmpz_set_str+339>:        movl   $0x0,-0x14(%ebp)
0xb79694aa <__gmpz_set_str+346>:        mov    %eax,(%esp)
0xb79694ad <__gmpz_set_str+349>:        call   0xb79511a4 <str...@plt>
0xb79694b2 <__gmpz_set_str+354>:        mov    %eax,-0x38(%ebp)
0xb79694b5 <__gmpz_set_str+357>:        inc    %eax
0xb79694b6 <__gmpz_set_str+358>:        cmp    $0xffff,%eax
0xb79694bb <__gmpz_set_str+363>:        ja     0xb79695f5 <__gmpz_set_str
+677>
0xb79694c1 <__gmpz_set_str+369>:        mov    -0x38(%ebp),%eax
0xb79694c4 <__gmpz_set_str+372>:        add    $0x1f,%eax
0xb79694c7 <__gmpz_set_str+375>:        and    $0xfffffff0,%eax
0xb79694ca <__gmpz_set_str+378>:        sub    %eax,%esp
0xb79694cc <__gmpz_set_str+380>:        lea    0x1f(%esp),%edx
---Type <return> to continue, or q <return> to quit---
0xb79694d0 <__gmpz_set_str+384>:        and    $0xfffffff0,%edx
0xb79694d3 <__gmpz_set_str+387>:        mov    %edx,-0x30(%ebp)
0xb79694d6 <__gmpz_set_str+390>:        mov    -0x30(%ebp),%eax
0xb79694d9 <__gmpz_set_str+393>:        xor    %ecx,%ecx
0xb79694db <__gmpz_set_str+395>:        mov    %eax,-0x3c(%ebp)
0xb79694de <__gmpz_set_str+398>:        mov    -0x38(%ebp),%eax
0xb79694e1 <__gmpz_set_str+401>:        test   %eax,%eax
0xb79694e3 <__gmpz_set_str+403>:        jne    0xb79694f3 <__gmpz_set_str
+419>
0xb79694e5 <__gmpz_set_str+405>:        jmp    0xb79695e5 <__gmpz_set_str
+661>
0xb79694ea <__gmpz_set_str+410>:        lea    0x0(%esi),%esi
0xb79694f0 <__gmpz_set_str+416>:        movzbl %al,%esi
0xb79694f3 <__gmpz_set_str+419>:        mov    -0x24(%ebp),%edx
0xb79694f6 <__gmpz_set_str+422>:        mov    (%edx),%eax
0xb79694f8 <__gmpz_set_str+424>:        testb  $0x20,0x1(%eax,%esi,2)
0xb79694fd <__gmpz_set_str+429>:        jne    0xb7969518 <__gmpz_set_str
+456>
0xb79694ff <__gmpz_set_str+431>:        mov    -0x28(%ebp),%edx
0xb7969502 <__gmpz_set_str+434>:        movzbl (%edx,%esi,1),%eax
0xb7969506 <__gmpz_set_str+438>:        cmp    0x10(%ebp),%eax
0xb7969509 <__gmpz_set_str+441>:        jge    0xb79695c0 <__gmpz_set_str
+624>
0xb796950f <__gmpz_set_str+447>:        mov    -0x3c(%ebp),%edx
0xb7969512 <__gmpz_set_str+450>:        mov    %al,(%edx)
0xb7969514 <__gmpz_set_str+452>:        inc    %edx
0xb7969515 <__gmpz_set_str+453>:        mov    %edx,-0x3c(%ebp)
---Type <return> to continue, or q <return> to quit---
0xb7969518 <__gmpz_set_str+456>:        movzbl (%edi,%ecx,1),%eax
0xb796951c <__gmpz_set_str+460>:        inc    %ecx
0xb796951d <__gmpz_set_str+461>:        cmp    %ecx,-0x38(%ebp)
0xb7969520 <__gmpz_set_str+464>:        ja     0xb79694f0 <__gmpz_set_str
+416>
0xb7969522 <__gmpz_set_str+466>:        mov    -0x3c(%ebp),%esi
0xb7969525 <__gmpz_set_str+469>:        xor    %edx,%edx
0xb7969527 <__gmpz_set_str+471>:        sub    -0x30(%ebp),%esi
0xb796952a <__gmpz_set_str+474>:        push   %edx
0xb796952b <__gmpz_set_str+475>:        push   %esi
0xb796952c <__gmpz_set_str+476>:        fildll (%esp)
0xb796952f <__gmpz_set_str+479>:        add    $0x8,%esp
0xb7969532 <__gmpz_set_str+482>:        mov    0x10(%ebp),%eax
0xb7969535 <__gmpz_set_str+485>:        lea    (%eax,%eax,4),%edx
0xb7969538 <__gmpz_set_str+488>:        mov    -0x18(%ebx),%eax
0xb796953e <__gmpz_set_str+494>:        fdivl  0x4(%eax,%edx,4)
0xb7969542 <__gmpz_set_str+498>:        fisttpl -0x20(%ebp)
0xb7969545 <__gmpz_set_str+501>:        mov    -0x20(%ebp),%eax
0xb7969548 <__gmpz_set_str+504>:        test   %eax,%eax
0xb796954a <__gmpz_set_str+506>:        lea    0x1f(%eax),%edx
0xb796954d <__gmpz_set_str+509>:        cmovs  %edx,%eax
0xb7969550 <__gmpz_set_str+512>:        mov    -0x34(%ebp),%edx
0xb7969553 <__gmpz_set_str+515>:        sar    $0x5,%eax
0xb7969556 <__gmpz_set_str+518>:        add    $0x2,%eax
---Type <return> to continue, or q <return> to quit---
0xb7969559 <__gmpz_set_str+521>:        cmp    (%edx),%eax
0xb796955b <__gmpz_set_str+523>:        jg     0xb796960c <__gmpz_set_str
+700>
0xb7969561 <__gmpz_set_str+529>:        mov    0x10(%ebp),%eax
0xb7969564 <__gmpz_set_str+532>:        mov    -0x30(%ebp),%edx
0xb7969567 <__gmpz_set_str+535>:        mov    %eax,0xc(%esp)
0xb796956b <__gmpz_set_str+539>:        mov    %edx,0x4(%esp)
0xb796956f <__gmpz_set_str+543>:        mov    %esi,0x8(%esp)
0xb7969573 <__gmpz_set_str+547>:        mov    -0x34(%ebp),%edx
0xb7969576 <__gmpz_set_str+550>:        mov    0x8(%edx),%eax
0xb7969579 <__gmpz_set_str+553>:        mov    %eax,(%esp)
0xb796957c <__gmpz_set_str+556>:        call   0xb7951494
<__gmpn_set_...@plt>
0xb7969581 <__gmpz_set_str+561>:        mov    -0x2c(%ebp),%ecx
0xb7969584 <__gmpz_set_str+564>:        mov    %eax,%edx
0xb7969586 <__gmpz_set_str+566>:        neg    %edx
0xb7969588 <__gmpz_set_str+568>:        test   %ecx,%ecx
0xb796958a <__gmpz_set_str+570>:        cmovne %edx,%eax
0xb796958d <__gmpz_set_str+573>:        mov    -0x34(%ebp),%edx
0xb7969590 <__gmpz_set_str+576>:        mov    %eax,0x4(%edx)
0xb7969593 <__gmpz_set_str+579>:        mov    -0x14(%ebp),%edx
0xb7969596 <__gmpz_set_str+582>:        xor    %eax,%eax
0xb7969598 <__gmpz_set_str+584>:        test   %edx,%edx
0xb796959a <__gmpz_set_str+586>:        je     0xb796942b <__gmpz_set_str
+219>
0xb79695a0 <__gmpz_set_str+592>:        mov    %edx,(%esp)
---Type <return> to continue, or q <return> to quit---
0xb79695a3 <__gmpz_set_str+595>:        call   0xb7951804
<__gmp_tmp_reentrant_f...@plt>
0xb79695a8 <__gmpz_set_str+600>:        xor    %eax,%eax
0xb79695aa <__gmpz_set_str+602>:        jmp    0xb796942b <__gmpz_set_str
+219>
0xb79695af <__gmpz_set_str+607>:        nop
0xb79695b0 <__gmpz_set_str+608>:        movzbl (%edi),%esi
0xb79695b3 <__gmpz_set_str+611>:        inc    %edi
0xb79695b4 <__gmpz_set_str+612>:        movl   $0x10,0x10(%ebp)
0xb79695bb <__gmpz_set_str+619>:        jmp    0xb796944c <__gmpz_set_str
+252>
0xb79695c0 <__gmpz_set_str+624>:        mov    -0x14(%ebp),%eax
0xb79695c3 <__gmpz_set_str+627>:        test   %eax,%eax
0xb79695c5 <__gmpz_set_str+629>:        je     0xb7969426 <__gmpz_set_str
+214>
0xb79695cb <__gmpz_set_str+635>:        mov    %eax,(%esp)
0xb79695ce <__gmpz_set_str+638>:        call   0xb7951804
<__gmp_tmp_reentrant_f...@plt>
0xb79695d3 <__gmpz_set_str+643>:        mov    $0xffffffff,%eax
0xb79695d8 <__gmpz_set_str+648>:        jmp    0xb796942b <__gmpz_set_str
+219>
0xb79695dd <__gmpz_set_str+653>:        lea    0x0(%esi),%esi
0xb79695e0 <__gmpz_set_str+656>:        call   0xb7996cd0
<__stack_chk_fail_local>
0xb79695e5 <__gmpz_set_str+661>:        xor    %esi,%esi
0xb79695e7 <__gmpz_set_str+663>:        fldz
0xb79695e9 <__gmpz_set_str+665>:        lea    0x0(%esi,%eiz,1),%esi
---Type <return> to continue, or q <return> to quit---
0xb79695f0 <__gmpz_set_str+672>:        jmp    0xb7969532 <__gmpz_set_str
+482>
0xb79695f5 <__gmpz_set_str+677>:        mov    %eax,0x4(%esp)
0xb79695f9 <__gmpz_set_str+681>:        lea    -0x14(%ebp),%eax
0xb79695fc <__gmpz_set_str+684>:        mov    %eax,(%esp)
0xb79695ff <__gmpz_set_str+687>:        call   0xb7950bd4
<__gmp_tmp_reentrant_al...@plt>
0xb7969604 <__gmpz_set_str+692>:        mov    %eax,-0x30(%ebp)
0xb7969607 <__gmpz_set_str+695>:        jmp    0xb79694d6 <__gmpz_set_str
+390>
0xb796960c <__gmpz_set_str+700>:        mov    %eax,0x4(%esp)
0xb7969610 <__gmpz_set_str+704>:        mov    %edx,(%esp)
0xb7969613 <__gmpz_set_str+707>:        call   0xb79517b4
<__gmpz_real...@plt>
0xb7969618 <__gmpz_set_str+712>:        jmp    0xb7969561 <__gmpz_set_str
+529>
End of assembler dump.


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to