Dear Waldek,

  thank you very much for coming back to this issue. As I told you its
only hypertext and graphics,
which is not really essential for me.

> AFAICS on your machine you have some special tool intended to
> catch security bugs.
I have checked that SELinux package is not installed on my machine (if
you refer to this)

> This tools stops execution of view2D
> program claiming it found buffer overflow.
Actually it seems that the 2D graphs work fine, the first graph which
fails is a 3D graph.
(see output pasted below)  [The xserver pops up 2D windows, and all
looks so fare fine]

> I am not sure if this tool is standard Ubuntu tool (and on by default) or
> something extra installed on your machine
  Alas, I have installed quite a bit of packages which I need for my
work, and even
to set up my computer (Dell XPS 15z) so this is not a clean
installation (as my computer
has an optimus graphics card, I cannot even boot an ubuntu [live] CD
without tweaking, so it took
me a week to get the machine booting properly [mainly graphics =
bumblebee, and acpi (otherwise
it runs really hot)] running. For that reason I am not really willing
to try it out on a fresh
installation :-(

> but ATM I was unable to reproduce the problem on machines I have (alas,
> Ubuntu install I have lacks X headers so I can not test
> there).
I have added in a section below which xlibraries I have installed
before trying to compile FriCAS.
(A few of those where already installed, some not).

> Could you try
>
> addr2line -e 
> /home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/lib/view3D 
> 0x421f98 0x4036c9

This output is also attached below. I took the two last numbers which
work and the first which fails.

Cheers
BF.

-- 
% PD Dr Bertfried Fauser
%       Research Fellow, School of Computer Science, Univ. of Birmingham
%       Privat Docent: University of Konstanz, Physics Dept
<http://www.uni-konstanz.de>
% contact |->    URL : http://www.cs.bham.ac.uk/~fauserb/
%              Phone :  +44-121-41-42795

===============================================================
OUTPUT of
> make gphts
===============================================================


(AXIOM=/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux;
export AXIOM; \
         unset DAASE;
/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/bin/sman
-noihere -paste
/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/share/hypertex/pages/SEGBIND.ht)
Checking for foreign routines
AXIOM="/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux"
spad-lib="/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/lib/libspad.so"
foreign routines found
openServer result 0
                 FriCAS (AXIOM fork) Computer Algebra System
                         Version: FriCAS 2010-12-08
              Timestamp: Tuesday January 10, 2012 at 18:11:15
-----------------------------------------------------------------------------
   Issue )copyright to view copyright notices.
   Issue )summary for a summary of useful system commands.
   Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------

writing:        x = a..b
writing:        sum(i^2, i = 0..n)
writing:        draw(x^2, x = -2..2)
writing:        sb := y = 1/2..3/2
writing:        variable(sb)
writing:        segment(sb)
making SEGBIND.input
parsing: SegmentBindingXmpPage

cp SEGBIND.pht 
/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/share/hypertex/pages/SEGBIND.pht
(AXIOM=/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux;
export AXIOM; \
         unset DAASE;
/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/bin/sman
-noihere -paste
/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/share/hypertex/pages/explot2d.ht)
Checking for foreign routines
AXIOM="/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux"
spad-lib="/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/lib/libspad.so"
foreign routines found
openServer result 0
                 FriCAS (AXIOM fork) Computer Algebra System
                         Version: FriCAS 2010-12-08
              Timestamp: Tuesday January 10, 2012 at 18:11:15
-----------------------------------------------------------------------------
   Issue )copyright to view copyright notices.
   Issue )summary for a summary of useful system commands.
   Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------

writing:        draw(sin(4*t/7),t = 0..14*%pi,coordinates == polar)
writing:        draw(y^2 + y - (x^3 - x) = 0, x, y, range == [-2..2,-2..1])
writing:        draw(sin(tan(x)) - tan(sin(x)),x = 0..6)
writing:        draw(curve(9 * sin(3*t/4),8 * sin(t)),t = -4*%pi..4*%pi)
making explot2d.input
parsing: ExPlot2DPolar
parsing: ExPlot2DAlgebraic
parsing: ExPlot2DFunctions
parsing: ExPlot2DParametric
cp explot2d.pht
/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/share/hypertex/pages/explot2d.pht
(AXIOM=/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux;
export AXIOM; \
         unset DAASE;
/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/bin/sman
-noihere -paste
/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/share/hypertex/pages/coverex.ht)
Checking for foreign routines
AXIOM="/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux"
spad-lib="/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/lib/libspad.so"
foreign routines found
openServer result 0
                 FriCAS (AXIOM fork) Computer Algebra System
                         Version: FriCAS 2010-12-08
              Timestamp: Tuesday January 10, 2012 at 18:11:15
-----------------------------------------------------------------------------
   Issue )copyright to view copyright notices.
   Issue )summary for a summary of useful system commands.
   Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------

writing:        differentiate(sin(x) * exp(x^2),x)
writing:        differentiate(sin(x) * tan(y)/(x^2 + y^2),x)
writing:        differentiate(sin(x) * tan(y)/(x^2 + y^2),y)
writing:        differentiate(exp(x^2),x,4)
writing:        differentiate(sin(x)/(x^2 + y^2),[x,y])
writing:        differentiate(sin(x)/(x^2 + y^2),[x,y,y])
writing:        differentiate(cos(z)/(x^2 + y^3),[x,y,z],[1,2,3])
writing:        f := integrate(sqrt(1 + t^3),t)
writing:        differentiate(f,t)
writing:        differentiate(f * t^2,t)
writing:        limit((x^2 - 3*x + 2)/(x^2 - 1),x = 1)
writing:        limit(sinh(a*x)/tan(b*x),x = 0)
writing:        limit(x * log(x),x = 0,"right")
writing:        limit(x * log(x),x = 0)
writing:        limit(sqrt(y^2)/y,y = 0)
writing:        limit(sqrt(1 - cos(t))/t,t = 0)
writing:        limit(sqrt(3*x^2 + 1)/(5*x),x = %plusInfinity)
writing:        limit(sqrt(3*x^2 + 1)/(5*x),x = %minusInfinity)
writing:        limit(z * sin(1/z),z = 0)
writing:        complexLimit(z * sin(1/z),z = 0)
writing:        complexLimit((2 + z)/(1 - z),z = %infinity)
writing:        limit(sin(x)/x,x = %plusInfinity)
writing:        complexLimit(sin(x)/x,x = %infinity)
writing:        draw(sin(tan(x)) - tan(sin(x)),x = 0..6)
writing:        draw(curve(9 * sin(3*t/4),8 * sin(t)),t = -4*%pi..4*%pi)
writing:        draw(sin(4*t/7),t = 0..14*%pi,coordinates == polar)
writing:        draw(y^2 + y - (x^3 - x) = 0, x, y, range == [-2..2,-2..1])
writing:        draw(cos(x*y),x = -3..3,y = -3..3)
The viewport manager could not read from a 3D viewport window
code=-1
ack=2


==============================================================
Output of
fauser@moby:~/fricas-svn/build-dir/src/paste$ addr2line -e
/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/lib/view3D
0x421f98 0x4036c9 0x40417d
==============================================================

fauser@moby:~/fricas-svn/build-dir/src/paste$ addr2line -e
/home/fauser/fricas-svn/build-dir/target/x86_64-unknown-linux/lib/view3D
0x421f98 0x4036c9 0x40417d
/home/fauser/fricas-svn/build-dir/src/graph/Gdraws/../../../../src/graph/Gdraws/Gfun.c:855
/home/fauser/fricas-svn/build-dir/src/graph/view3D/../../../../src/graph/view3D/main3d.c:450
??:0

==============================================================
libraries and development packages loaded
(on top of ubuntu 11.10 installation):
==============================================================
+ noweb
+ libx11-dev, libxt-dev, libice-dev, libsm-dev, libaux-dev,
libdmcp-dev, libxpm-dev

(they can be found in the ubuntu unity software center by typing in
their respective names)

Previously I had to install m4 tools package too, but that seems to
make no difference here,
and seems to be no longer needed fro FriCAS.
==============================================================
SELinux packgage is *not* installed
==============================================================

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
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/fricas-devel?hl=en.

Reply via email to