Dear all,
I've been having some problems with 3D plots in Sage 2.11.
The machine is a dual (64 bit) Xeon with 16GB of RAM, running Fedora
Core 6.
boole[~]$ uname -a
Linux boole.math.utk.edu 2.6.22.14-72.fc6 #1 SMP Wed Nov 21 14:10:25
EST 2007 x86_64 x86_64 x86_64 GNU/Linux
I installed the binary (64bit debian), and was having problems. When
I first opened the notebook with a 3D graph, it froze firefox. So, I
tried:
sage: var('x y');
sage: parametric_plot3d((x,y,x^2*y^3),(x,-2,2),(y,-2,2))
from the command line. "top" showed java taking 100% of one of the
CPUs for about 40 seconds, the Jmol logo appeared briefly, the java
process would go away, but no window would come out and I got no error
messages. (I tried this a few times with different functions, always
with the same result.) "make test" gave only one error (sage -t
devel/sage-main/sage/stats/test.py).
I decided to build from source, which went succesfully and "make test"
had no errors. I have the same problem, but now I get:
sage: var('x y')
_1 = (x, y)
sage: param
parametric_plot parametric_plot3d
sage: parametric_plot3d((x,y,x^2*y^3),(x,-2,2),(y,-2,2))
_2 =
sage: *** glibc detected *** java: malloc(): memory corruption:
0x00000000007d5ed0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3e4b46fba1]
/lib64/libc.so.6(__libc_malloc+0x7d)[0x3e4b470d5d]
/usr/lib64/libfreetype.so.6(ft_mem_qalloc+0x10)[0x3e4e80bf90]
/usr/lib64/libfreetype.so.6(ft_mem_alloc+0x23)[0x3e4e8115a3]
/usr/lib64/libfreetype.so.6(ft_mem_qrealloc+0xba)[0x3e4e8125ba]
/usr/lib64/libfreetype.so.6(ft_mem_realloc+0x3b)[0x3e4e81263b]
/usr/lib64/libfreetype.so.6[0x3e4e84379f]
/usr/lib64/libfreetype.so.6(ps_hints_apply+0x495)[0x3e4e844a25]
/usr/lib64/libfreetype.so.6[0x3e4e85ebd9]
/usr/lib64/libfreetype.so.6[0x3e4e81f092]
/usr/lib64/libfreetype.so.6(FT_Load_Glyph+0x1f0)[0x3e4e810670]
/usr/lib64/gcj-4.1.2/libgtkpeer.so(Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getMetricsNative+0x48)[0x2aaab005e388]
/usr/lib64/libgcj.so.7rh(_ZN3gnu4java3awt4peer3gtk19FreetypeGlyphVector16getMetricsNativeEJP6JArrayIdEi+0x68)[0x3e5334c2f8]
/usr/lib64/libgcj.so.7rh(_ZN3gnu4java3awt4peer3gtk19FreetypeGlyphVector17setupGlyphMetricsEJvv+0x126)[0x3e5334c9e6]
/usr/lib64/libgcj.so.7rh(_ZN3gnu4java3awt4peer3gtk19FreetypeGlyphVector15getGlyphMetricsEJPN4java3awt4font12GlyphMetricsEi+0x4d)[0x3e5334cb8d]
/usr/lib64/libgcj.so.7rh(_ZN3gnu4java3awt4peer3gtk19FreetypeGlyphVector20performDefaultLayoutEJvv+0xa5)[0x3e5334c5c5]
/usr/lib64/libgcj.so.7rh(_ZN3gnu4java3awt4peer3gtk19FreetypeGlyphVectorC1EPN4java3awt4FontEPNS5_4lang6StringEPNS6_4font17FontRenderContextEi+0xb4)[0x3e5334bbd4]
/usr/lib64/libgcj.so.7rh(_ZN3gnu4java3awt4peer3gtk11GdkFontPeer17layoutGlyphVectorEJPN4java3awt4font11GlyphVectorEPNS6_4FontEPNS7_17FontRenderContextEP6JArrayIwEiii+0x7c)[0x3e5334dffc]
/usr/lib64/libgcj.so.7rh(_ZN4java3awt4Font17layoutGlyphVectorEJPNS0_4font11GlyphVectorEPNS2_17FontRenderContextEP6JArrayIwEiii+0x28)[0x3e52ffb7a8]
/usr/lib64/libgcj.so.7rh(_ZN4java3awt4font10TextLayoutC1EPNS_4lang6StringEPNS0_4FontEPNS1_17FontRenderContextE+0x16d)[0x3e5304205d]
/usr/lib64/libgcj.so.7rh(_ZN3gnu4java3awt4peer3gtk15CairoGraphics2D10drawStringEJvPN4java4lang6StringEff+0xc6)[0x3e5333f5b6]
/usr/lib64/libgcj.so.7rh(_ZN3gnu4java3awt4peer3gtk15CairoGraphics2D10drawStringEJvPN4java4lang6StringEii+0x1a)[0x3e5333f60a]
/usr/lib64/libgcj.so.7rh[0x3e534ec81c]
/usr/lib64/libgcj.so.7rh[0x3e534ec6a8]
/usr/lib64/libgcj.so.7rh[0x3e534eba2b]
/usr/lib64/libgcj.so.7rh(_ZN16_Jv_InterpMethod3runEPvP7ffi_rawPS_+0xeaf)[0x3e52d8ec8f]
/usr/lib64/libgcj.so.7rh[0x3e534ebb2f]
/usr/lib64/libgcj.so.7rh[0x3e534ec106]
/usr/lib64/libgcj.so.7rh[0x3e534ec948]
/usr/lib64/libgcj.so.7rh(_ZN3gnu4java3awt4peer3gtk16GtkComponentPeer14paintComponentEJvPN4java3awt5event10PaintEventE+0xc5)[0x3e533319a5]
/usr/lib64/libgcj.so.7rh(_ZN3gnu4java3awt4peer3gtk16GtkComponentPeer11handleEventEJvPN4java3awt8AWTEventE+0x15a)[0x3e533318da]
/usr/lib64/libgcj.so.7rh(_ZN4java3awt9Component17dispatchEventImplEJvPNS0_8AWTEventE+0x50)[0x3e53030260]
/usr/lib64/libgcj.so.7rh(_ZN4java3awt9Container17dispatchEventImplEJvPNS0_8AWTEventE+0x41)[0x3e530304f1]
/usr/lib64/libgcj.so.7rh(_ZN4java3awt6Window17dispatchEventImplEJvPNS0_8AWTEventE+0x7f)[0x3e530305af]
/usr/lib64/libgcj.so.7rh(_ZN4java3awt9Component13dispatchEventEJvPNS0_8AWTEventE+0x4e)[0x3e53024c4e]
/usr/lib64/libgcj.so.7rh(_ZN4java3awt10EventQueue13dispatchEventEJvPNS0_8AWTEventE+0x10e)[0x3e530254ae]
/usr/lib64/libgcj.so.7rh(_ZN4java3awt19EventDispatchThread3runEJvv+0x2d)[0x3e53006e7d]
/usr/lib64/libgcj.so.7rh(_Z13_Jv_ThreadRunPN4java4lang6ThreadE+0x18)[0x3e52db4638]
/usr/lib64/libgcj.so.7rh[0x3e52dbaec7]
/usr/lib64/libgcj.so.7rh[0x3e534fcf86]
/lib64/libpthread.so.0[0x3e4cc062f7]
/lib64/libc.so.6(clone+0x6d)[0x3e4b4ce86d]
======= Memory map: ========
00400000-00401000 r-xp 00000000 fd:00 2485559
/usr/bin/gij
00600000-00602000 rw-p 00000000 fd:00 2485559
/usr/bin/gij
00602000-008cb000 rw-p 00602000 00:00 0 [heap]
40000000-40001000 ---p 40000000 00:00 0
40001000-40a01000 rw-p 40001000 00:00 0
40a01000-40a02000 ---p 40a01000 00:00 0
40a02000-41402000 rw-p 40a02000 00:00 0
41402000-41403000 ---p 41402000 00:00 0
41403000-41e03000 rw-p 41403000 00:00 0
398e200000-398e223000 r-xp 00000000 fd:00 2468523
/usr/lib64/libpng12.so.0.10.0
398e223000-398e423000 ---p 00023000 fd:00 2468523
/usr/lib64/libpng12.so.0.10.0
398e423000-398e424000 rw-p 00023000 fd:00 2468523
/usr/lib64/libpng12.so.0.10.0
398e600000-398e62d000 r-xp 00000000 fd:00 2470734
/usr/lib64/libpangoft2-1.0.so.0.1400.10
398e62d000-398e82d000 ---p 0002d000 fd:00 2470734
/usr/lib64/libpangoft2-1.0.so.0.1400.10
398e82d000-398e82e000 rw-p 0002d000 fd:00 2470734
/usr/lib64/libpangoft2-1.0.so.0.1400.10
398ea00000-398ea8f000 r-xp 00000000 fd:00 2471006
/usr/lib64/libgdk-x11-2.0.so.0.1000.13
398ea8f000-398ec8f000 ---p 0008f000 fd:00 2471006
/usr/lib64/libgdk-x11-2.0.so.0.1000.13
398ec8f000-398ec94000 rw-p 0008f000 fd:00 2471006
/usr/lib64/libgdk-x11-2.0.so.0.1000.13
398ee00000-398ee3e000 r-xp 00000000 fd:00 2468813
/usr/lib64/libpango-1.0.so.0.1400.10
398ee3e000-398f03d000 ---p 0003e000 fd:00 2468813
/usr/lib64/libpango-1.0.so.0.1400.10
398f03d000-398f040000 rw-p 0003d000 fd:00 2468813
/usr/lib64/libpango-1.0.so.0.1400.10
398f200000-398f264000 r-xp 00000000 fd:00 2470496
/usr/lib64/libcairo.so.2.9.3
398f264000-398f464000 ---p 00064000 fd:00 2470496
/usr/lib64/libcairo.so.2.9.3
398f464000-398f467000 rw-p 00064000 fd:00 2470496
/usr/lib64/libcairo.so.2.9.3
398f600000-398f979000 r-xp 00000000 fd:00 2471269
/usr/lib64/libgtk-x11-2.0.so.0.1000.13
398f979000-398fb78000 ---p 00379000 fd:00 2471269
/usr/lib64/libgtk-x11-2.0.so.0.1000.13
398fb78000-398fb82000 rw-p 00378000 fd:00 2471269
/usr/lib64/libgtk-x11-2.0.so.0.1000.13
398fb82000-398fb84000 rw-p 398fb82000 00:00 0
398fc00000-398fc08000 r-xp 00000000 fd:00 2470735
/usr/lib64/libpangocairo-1.0.so.0.1400.10
398fc08000-398fe08000 ---p 00008000 fd:00 2470735
/usr/lib64/libpangocairo-1.0.so.0.1400.10
398fe08000-398fe09000 rw-p 00008000 fd:00 2470735
/usr/lib64/libpangocairo-1.0.so.0.1400.10
3e4a200000-3e4a21a000 r-xp 00000000 fd:00 2588698
/lib64/ld-2.5.so
3e4a419000-3e4a41a000 r--p 00019000 fd:00 2588698
/lib64/ld-2.5.so
3e4a41a000-3e4a41b000 rw-p 0001a000 fd:00 2588698
/lib64/ld-2.5.so
3e4a600000-3e4a602000 r-xp 00000000 fd:00 2482500
/usr/lib64/libgij.so.7rh.0.0
3e4a602000-3e4a801000 ---p 00002000 fd:00 2482500
/usr/lib64/libgij.so.7rh.0.0
3e4a801000-3e4a802000 rw-p 00001000 fd:00 2482500
/usr/lib64/libgij.so.7rh.0.0
3e4b400000-3e4b546000 r-xp 00000000 fd:00 2588700
/lib64/libc-2.5.so
3e4b546000-3e4b746000 ---p 00146000 fd:00 2588700
/lib64/libc-2.5.so
3e4b746000-3e4b74a000 r--p 00146000 fd:00 2588700
/lib64/libc-2.5.so
3e4b74a000-3e4b74b000 rw-p 0014a000 fd:00 2588700
/lib64/libc-2.5.so
3e4b74b000-3e4b750000 rw-p 3e4b74b000 00:00 0
3e4b800000-3e4b882000 r-xp 00000000 fd:00 2588735
/lib64/libm-2.5.so
3e4b882000-3e4ba81000 ---p 00082000 fd:00 2588735
/lib64/libm-2.5.so
3e4ba81000-3e4ba82000 r--p 00081000 fd:00 2588735
/lib64/libm-2.5.so
3e4ba82000-3e4ba83000 rw-p 00082000 fd:00 2588735
/lib64/libm-2.5.so
3e4bc00000-3e4bc02000 r-xp 00000000 fd:00 2588782
/lib64/libdl-2.5.so
3e4bc02000-3e4be02000 ---p 00002000 fd:00 2588782
/lib64/libdl-2.5.so
3e4be02000-3e4be03000 r--p 00002000 fd:00 2588782
/lib64/libdl-2.5.so
3e4be03000-3e4be04000 rw-p 00003000 fd:00 2588782
/lib64/libdl-2.5.so
3e4c000000-3e4c104000 r-xp 00000000 fd:00 2468426
/usr/lib64/libX11.so.6.2.0
3e4c104000-3e4c304000 ---p 00104000 fd:00 2468426
/usr/lib64/libX11.so.6.2.0
3e4c304000-3e4c30b000 rw-p 00104000 fd:00 2468426
/usr/lib64/libX11.so.6.2.0
3e4c400000-3e4c405000 r-xp 00000000 fd:00 2468400
/usr/lib64/li
Oddly enough, before writing this message I decided to try it again,
and the binary installation actually worked once, but it took a long
time to open and was very very sluggish. When I tried again, the old
problem came back (no window or error message).
(I do not have thsi problem in my home computer running 64 bit Debian
Etch.)
Any ideas would be appreciated.
Best regards,
Luis
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---