Failure running sage-vmware-sse2-3.4.1

1 view
Skip to first unread message

madison...@gmail.com

unread,
Apr 27, 2009, 1:25:11 PM4/27/09
to sage-support
On starting sage-vmware-sse2-3.4.1 I get the text menus in vmware.
However, on starting either Sage or Notebook it starts and then
returns me to the text menus again. When running Sage from the text
menu I don't get any error messages before it fails. My vmware sage
worked fine for sage 3.2.3. I am using:

sage-vmware-sse2-3.4.1 binary
Intel Celeron M 1.5 GHz, 1 GB Ram
Microsoft Windows XP Professional 5.1.2600, Service Pack 3
VMWARE 2.5.1 build-126130

Previously I could not get sate 3.4 to work on my windows machine.

Thanks Mike Madison

William Stein

unread,
Apr 27, 2009, 1:27:32 PM4/27/09
to sage-s...@googlegroups.com

What happens when you type:


login: admin


$ su -

sage


?

madison...@gmail.com

unread,
Apr 27, 2009, 1:35:01 PM4/27/09
to sage-support
I typed needed to type:
Login
Sage
su
sage
and I got:

Authentication failure
Sorry

The above resposes were to login and passward. By the way I also
check the MD5 and it was correct.

Thanks Mike



On Apr 27, 10:27 am, William Stein <wst...@gmail.com> wrote:

madison...@gmail.com

unread,
Apr 27, 2009, 1:56:13 PM4/27/09
to sage-support
Sorry I forgot to type sudo

I got:

/usr/local/sage/local/bin/sage-sage: line 198: 3586 Illegal
instruction sage-ipython "$@" -i

Mike Madison

On Apr 27, 10:27 am, William Stein <wst...@gmail.com> wrote:

William Stein

unread,
Apr 27, 2009, 2:20:07 PM4/27/09
to sage-s...@googlegroups.com
On Mon, Apr 27, 2009 at 10:56 AM, <madison...@gmail.com> wrote:
>
> Sorry  I forgot to type sudo
>
> I got:
>
> /usr/local/sage/local/bin/sage-sage: line 198: 3586 Illegal
> instruction sage-ipython "$@" -i

This means you can't run the Sage vmware image on your computer, i.e.,
it is was built for a processor that is newer than yours. What does
the output of

cat /proc/cpuinfo

say?

William

madison...@gmail.com

unread,
Apr 27, 2009, 2:37:34 PM4/27/09
to sage-support
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Celeron(R) M processor 1.50GHz
stepping : 8
cpu MHz : 1476.382
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr
pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss nx up
bogomips : 3007.50

Thanks Mike Madison

On Apr 27, 11:20 am, William Stein <wst...@gmail.com> wrote:

madison...@gmail.com

unread,
Apr 30, 2009, 6:50:15 AM4/30/09
to sage-support
1. Was this the type of CPU that this binary was supposed to work for
(having sse2 and not sse3)?

2. Is Sage migrating to work on only modern duel core CPUs? I have
compiled Sage 3.4 on an older processor Ubuntu linux notebook and it
worked. Is this going away?

3. Can I compile Sage using a vmware player or do I need to upgrade
vmware to compile Sage?

4. Can start from the failed installation of sage-vmware-sse2-3.4.1
and do a native compile?

5. Can I do "sudo apt-get install" of the software components I need
to compile Sage in vmware?

It seems some of us using windows XP are locked out of using Sage 3.4,
but we don't understand what the road block is.

Thanks Mike

William Stein

unread,
Apr 30, 2009, 11:45:50 AM4/30/09
to sage-s...@googlegroups.com
On Thu, Apr 30, 2009 at 3:50 AM, <madison...@gmail.com> wrote:
>
> 1.  Was this the type of CPU that this binary was supposed to work for
> (having sse2 and not sse3)?

Maybe. But the issue might not be just sse3.

>
> 2. Is Sage migrating to work on only modern duel core CPUs?  I have
> compiled Sage 3.4 on an older processor Ubuntu linux notebook and it
> worked. Is this going away?

No. No. You can run Sage on nearly any CPU if you build from source.

> 3.  Can I compile Sage using a vmware player or do I need to upgrade
> vmware to compile Sage?

You can compile sage. Just delete /usr/local/sage, then download
sage-3.4.1, extract it, move it to be /usr/local/sage, and
type make. Wait a few hours. That's precisely how I made the
current /usr/local/sage directory.

>
> 4.  Can start from the failed installation of sage-vmware-sse2-3.4.1
> and do a native compile?

Yes.

>
> 5.  Can I do "sudo apt-get install" of the software components I need
> to compile Sage in vmware?

You don't need any extra software components to compile sage in vmware.

> It seems some of us using windows XP are locked out of using Sage 3.4,
> but we don't understand what the road block is.

I don't think Windows XP is relevant. It's your old processor.

-- William
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

madison...@gmail.com

unread,
Apr 30, 2009, 12:56:37 PM4/30/09
to sage-support
Just to clarify:

Starting from my failed installation of sage-vmware-sse2-3.4.1 can i
just change to the /usr/local/sage directory and type make to get a
native compile?

Thanks Mike

On Apr 30, 8:45 am, William Stein <wst...@gmail.com> wrote:
> University of Washingtonhttp://wstein.org- Hide quoted text -
>
> - Show quoted text -

William Stein

unread,
Apr 30, 2009, 12:59:53 PM4/30/09
to sage-s...@googlegroups.com
On Thu, Apr 30, 2009 at 9:56 AM, <madison...@gmail.com> wrote:
>
> Just to clarify:
>
> Starting from my failed installation of sage-vmware-sse2-3.4.1 can i
> just change to the /usr/local/sage directory and type make to get a
> native compile?

Not exactly. You must

1. Just delete /usr/local/sage, then
cd /usr/local; rm -rf sage
2. download sage-3.4.1.tar by typing
wget http://sagemath.org/src/sage-3.4.1.tar
3. extract it,
tar xvf sage-3.4.1.tar
4. move it to be /usr/local/sage, and
mv sage-3.4.1 sage
5. type make.
cd sage; make

Iwan Lappo-Danilewski

unread,
Apr 30, 2009, 1:43:54 PM4/30/09
to sage-support
Have to report a similar problem on ubuntu 9.04..
While version 3.2.3 is running as fine as the "sagemath" ubuntu
package (3.0.5) the newest version won't start telling me


~/aps/sage-3.4.1-linux-Ubuntu_8.10-sse2-i686-Linux$ ./sage
----------------------------------------------------------------------
| Sage Version 3.4.1, Release Date: 2009-04-21 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
../aps/sage-3.4.1-linux-Ubuntu_8.10-sse2-i686-Linux/local/bin/sage-
sage: line 198: 20057 Illegal instruction sage-ipython "$@" -i

Iwan

William Stein

unread,
Apr 30, 2009, 1:53:17 PM4/30/09
to sage-s...@googlegroups.com
On Thu, Apr 30, 2009 at 10:43 AM, Iwan Lappo-Danilewski
<ivanj...@gmail.com> wrote:
>
> Have to report a similar problem on ubuntu 9.04..
> While version 3.2.3 is running as fine as the "sagemath" ubuntu
> package (3.0.5) the newest version won't start telling me

What is the output of cat /proc/cpuinfo on your computer?

>
>
> ~/aps/sage-3.4.1-linux-Ubuntu_8.10-sse2-i686-Linux$ ./sage
> ----------------------------------------------------------------------
> | Sage Version 3.4.1, Release Date: 2009-04-21                       |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> ../aps/sage-3.4.1-linux-Ubuntu_8.10-sse2-i686-Linux/local/bin/sage-
> sage: line 198: 20057 Illegal instruction     sage-ipython "$@" -i
>
> Iwan
>
>
> >
>



mabshoff

unread,
Apr 30, 2009, 5:34:32 PM4/30/09
to sage-support


On Apr 30, 10:53 am, William Stein <wst...@gmail.com> wrote:
> On Thu, Apr 30, 2009 at 10:43 AM, Iwan Lappo-Danilewski
>
> <ivanjazz...@gmail.com> wrote:
>
> > Have to report a similar problem on ubuntu 9.04..
> > While version 3.2.3 is running as fine as the "sagemath" ubuntu
> > package (3.0.5) the newest version won't start telling me
>
> What is the output of cat /proc/cpuinfo on your computer?

Well, I am not sure if gdb is installed in the VMWare image (it ought
to be trivially installable into a real Linux install), but the
following would be helpful to determine which instruction causes the
problem.

Start sage via gdb, i.e.

./sage -gdb

Tell it to run, i.e. press "r". Then it crashes. Punch in

bt
disass $pc-32 $pc+32

and post the output :)

Cheers,

Michael

madison...@gmail.com

unread,
Apr 30, 2009, 10:57:21 PM4/30/09
to sage-support
William, Thanks I was able to compile sage 3.4.1 on my XP machine
starting from sage-vmware-sse2-3.4.1, which had failed work from the
binary, by following your directions.

For people that might know even less about linux than me the steps I
took were:

At the login type: login
The Passward is: sage
then type:

sudo su

1. Just delete /usr/local/sage, then
cd /usr/local; rm -rf sage
2. download sage-3.4.1.tar by typing
wget http://sagemath.org/src/sage-3.4.1.tar
3. extract it,
tar xvf sage-3.4.1.tar
4. move it to be /usr/local/sage, and
mv sage-3.4.1 sage
5. type make.
cd sage; make

Thanks Mike


On Apr 30, 2:34 pm, mabshoff <Michael.Absh...@mathematik.uni-

Iwan Lappo-Danilewski

unread,
May 1, 2009, 6:00:41 AM5/1/09
to sage-support
Most likely you're right William.. It seems to be a compiler/processor
issue, since I have a very similar configuration on my home machine
where it runs perfectly.

> What is the output of cat /proc/cpuinfo on your computer?

Here's the one of the machine where it runs perfectly on ubuntu (just
for comparison).. I'll post the one from work (AMD64) and the gdb
output on monday

sage [4]: !cat /proc/
cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz
stepping : 6
cpu MHz : 800.000
cache size : 3072 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est
tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida tpr_shadow vnmi
flexpriority
bogomips : 4788.08
clflush size : 64
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz
stepping : 6
cpu MHz : 800.000
cache size : 3072 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est
tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida tpr_shadow vnmi
flexpriority
bogomips : 4787.71
clflush size : 64
power management:

Iwan Lappo-Danilewski

unread,
May 4, 2009, 1:11:34 PM5/4/09
to sage-support
Is there a chance that there will be executables that run on my work
machine with the next release? Or should I start compiling right now
and maybe move to some SVN kind of thing?

----

For completeness sake:

ivan@ivan-laptop:~/aps/sage-3.4.1-linux-Ubuntu_8.10-sse2-i686-Linux$ ./
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 0xb7dd28d0 (LWP 9733)]

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb7dd28d0 (LWP 9733)]
0xb78e4542 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)

ivan@ivan-laptop:~/aps/sage-3.4.1-linux-Ubuntu_8.10-sse2-i686-Linux$
cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 12
model name : AMD Athlon(tm) 64 Processor 3400+
stepping : 0
cpu MHz : 2400.000
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext
3dnow up
bogomips : 4823.56
clflush size : 64
power management: ts fid vid ttp

mabshoff

unread,
May 4, 2009, 1:20:23 PM5/4/09
to sage-support


On May 4, 10:11 am, Iwan Lappo-Danilewski <ivanjazz...@gmail.com>
wrote:
> 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.

> 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.

<SNIP>

> Program received signal SIGILL, Illegal instruction.
> [Switching to Thread 0xb7dd28d0 (LWP 9733)]
> 0xb78e4542 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)

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

Iwan Lappo-Danilewski

unread,
May 5, 2009, 8:27:02 AM5/5/09
to sage-support
> > 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

---
ivan@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_loc@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 <strlen@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_str@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_free@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_free@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_alloc@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_realloc@plt>
0xb7969618 <__gmpz_set_str+712>: jmp 0xb7969561 <__gmpz_set_str
+529>
End of assembler dump.

Reply all
Reply to author
Forward
0 new messages