Bug#374978: paw: fun1 seg-violates on plotting 'x' from 0 to 100 into histogram 1

2006-06-22 Thread Frank Dohrmann
Hi,

thank you for your detailled questionaire, we may have found it ...
see below. I am attaching a tarball. If that is not what I am supposed
to do, please let me know.

Best wishes

Frank
-

> So if I understand correctly, there is no segfault if you enter
>   fun1 2 x*x/x 100 0 100
> into PAW, and this function is graphed correctly, is that right?

yep,

> Unfortunately I am not able to reproduce the bug in plotting f(x) = x,
> neither in testing nor in unstable on i386, nor in unstable on amd64.
> So there must be something system-dependent about it.  Could you please
> answer the following questions for me?  One of them might provide
> relevant information.

> - What is the output of the command "which pawX11" ?  (Type it at the
> shell prompt without the surrounding quotes.)
/usr/bin/pawX11
> - ... of "ldd $(which pawX11)" ?
18:31:44% ldd `which pawX11`
linux-gate.so.1 =>  (0xe000)
libpawlib.so.2 => /usr/lib/libpawlib.so.2 (0xb789d000)
libmathlib.so.2 => /usr/lib/libmathlib.so.2 (0xb733a000)
libgraflib.so.1 => /usr/lib/libgraflib.so.1 (0xb6eb1000)
libgrafX11.so.1 => /usr/lib/libgrafX11.so.1 (0xb6a31000)
libpacklib.so.1 => /usr/lib/libpacklib.so.1 (0xb5deb000)
libkernlib.so.1 => /usr/lib/libkernlib.so.1 (0xb5d68000)
liblapack.so.3 => /usr/lib/liblapack.so.3 (0xb5749000)
libg2c.so.0 => /usr/lib/libg2c.so.0 (0xb5721000)
libm.so.6 => /lib/tls/libm.so.6 (0xb56fa000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb5632000)
libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb561c000)
libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb55ee000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb55ea000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb55df000)
libc.so.6 => /lib/tls/libc.so.6 (0xb54a6000)
libblas.so.3 => /usr/lib/libblas.so.3 (0xb5423000)
/lib/ld-linux.so.2 (0xb7f6f000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb542)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb541b000)

> - ... of "ls -l /usr/bin/paw*" ?
18:32:46% ls -l /usr/bin/paw*
-rwxr-xr-x 1 root root 2577 2006-05-23 14:16 /usr/bin/paw*
-rwxr-xr-x 1 root root 4480 2006-05-23 14:48 /usr/bin/paw++*
lrwxrwxrwx 1 root root5 2006-06-06 12:24 /usr/bin/paw++.dynamic -> paw++*
-rwxr-xr-x 1 root root 4276 2006-05-23 14:48 /usr/bin/pawX11*
lrwxrwxrwx 1 root root6 2006-06-06 12:24 /usr/bin/pawX11.dynamic -> pawX11*

> - ... of "dpkg -l libc6-dev" ?
18:33:09% dpkg -l libc6-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  libc6-dev  2.3.6-13   GNU C Library: Development Libraries and Hea

> - What are the contents of /etc/ld.so.conf ?
/usr/X11R6/lib
/usr/lib/geant4
/usr/lib/root

> - ... of /etc/apt/sources.list ?
deb http://ftp2.de.debian.org/debian-non-US sarge/non-US main contrib non-free
deb http://ftp2.de.debian.org/debian etch main contrib non-free
deb http://security.debian.org/ etch/updates main
deb http://security.debian.org/ stable/updates main
deb-src http://ftp2.de.debian.org/debian/ sarge main contrib non-free
deb-src http://ftp2.de.debian.org/debian/ etch main contrib non-free
#deb http://www.rarewares.org/debian/packages/unstable/ ./
#deb ftp://ftp.nerim.net/debian-marillat etch main
#deb ftp://ftp.nerim.net/debian-marillat sarge main
deb http://ftp3.de.debian-unofficial.org/debian/ sarge main contrib non-free res
tricted
deb http://ftp3.de.debian-unofficial.org/debian/ etch main contrib non-free rest
ricted
#deb ftp://ftp.informatik.hu-berlin.de/pub/Java/Linux/debian sarge non-free
#deb ftp://ftp.informatik.hu-berlin.de/pub/Java/Linux/debian etch non-free
deb-src http://borex.princeton.edu/~kmccarty/ etch main contrib non-free
deb http://www-zeus.desy.de/~ferrando/debian/ unstable hep
deb http://mirror.phy.bnl.gov/debian-root/ unstable root # 5.x packages
deb http://mirror.phy.bnl.gov/debian-root/ stable root # 5.x packages
#deb http://debian.calel.cl/root/ stable non-free # 4.04 packages

> - Are you using an i386 computer as stated by reportbug in your report?
> (You can check this with the command "dpkg --print-architecture".)
18:34:59% dpkg --print-architecture
i386
> - Do you have any libraries installed in /usr/local/lib or somewhere
> else listed in /etc/ld.so.conf that might be interfering?
no - only an old libshift.so - but it does not make a difference removing it.

> - Did you compile any Cernlib-related packages on your own machine, or
> are all of them the binary debs provided by Debian?
binary debs from Debian

> - If you run "gdb /usr/bin/pawX11" and try to run the same command in
> PAW, what is the output of gdb when the segfault occurs?  (Of course
> you'll need to install the gdb package f

Bug#374978: paw: fun1 seg-violates on plotting 'x' from 0 to 100 into histogram 1

2006-06-22 Thread Kevin B. McCarty
tags 374978 + moreinfo
thanks

Hello,

Dr. Frank Dohrmann wrote:
> Package: paw
> Version: 2005.05.09.dfsg-7
> Severity: normal
> 
> Hi Kevin,
> 
> for the current testing version
> 
> fun1 1 x 100 0 100
> 
> seg-violates, which it should not ...
> ... x*x/x would work ...
> ... paw++ is affected as well 

So if I understand correctly, there is no segfault if you enter
  fun1 2 x*x/x 100 0 100
into PAW, and this function is graphed correctly, is that right?

Unfortunately I am not able to reproduce the bug in plotting f(x) = x,
neither in testing nor in unstable on i386, nor in unstable on amd64.
So there must be something system-dependent about it.  Could you please
answer the following questions for me?  One of them might provide
relevant information.

- What is the output of the command "which pawX11" ?  (Type it at the
shell prompt without the surrounding quotes.)
- ... of "ldd $(which pawX11)" ?
- ... of "ls -l /usr/bin/paw*" ?
- ... of "dpkg -l libc6-dev" ?
- What are the contents of /etc/ld.so.conf ?
- ... of /etc/apt/sources.list ?
- Are you using an i386 computer as stated by reportbug in your report?
(You can check this with the command "dpkg --print-architecture".)
- Do you have any libraries installed in /usr/local/lib or somewhere
else listed in /etc/ld.so.conf that might be interfering?
- Did you compile any Cernlib-related packages on your own machine, or
are all of them the binary debs provided by Debian?
- If you run "gdb /usr/bin/pawX11" and try to run the same command in
PAW, what is the output of gdb when the segfault occurs?  (Of course
you'll need to install the gdb package for this test.)  Type "where" at
the gdb prompt after the segfault to get a backtrace.
- Do you have any config files for PAW in your home directory, or in the
directory where you run the segfaulting command?  If so, please provide
them.  (Such files would include .pawlogon.kumac in $HOME, and
pawlogon.kumac, paw.metafile, last.kumac and higz_windows.dat in the
current directory.)
- Is PAW creating directories /tmp/comisXX when run (with XX
replaced by random strings; it should be able to do so)?  If you have
$TMPDIR set, also look there, and let me know the value of $TMPDIR .
- Do you have any non-Debian versions of Cernlib installed on this computer?
- Anything else that might be at all unusual about this system?
- Are you able to reproduce the segfault on any other computer(s)
running Etch, if you have one available?
- What about on computer(s) running Sarge or an up-to-date Sid?

best regards,

-- 
Kevin B. McCarty <[EMAIL PROTECTED]>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/Princeton University
GPG: public key ID 4F83C751 Princeton, NJ 08544


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#374978: paw: fun1 seg-violates on plotting 'x' from 0 to 100 into histogram 1

2006-06-22 Thread Dr. Frank Dohrmann
Package: paw
Version: 2005.05.09.dfsg-7
Severity: normal

Hi Kevin,

for the current testing version

fun1 1 x 100 0 100

seg-violates, which it should not ...
 x*x/x would work ...
 paw++ is affected as well 

Cheers, Frank

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages paw depends on:
ii  atlas3-base [liblapack 3.6.0-19  Automatically Tuned Linear Algebra
ii  g774:3.4.6-4 The GNU Fortran 77 compiler
ii  lapack3 [liblapack.so. 3.0.2531a-6   library of linear algebra routines
ii  libc6  2.3.6-13  GNU C Library: Shared libraries
ii  libg2c01:3.4.6-1 Runtime library for GNU Fortran 77
ii  libgcc11:4.1.0-4 GCC support library
ii  libgraflib12005.05.09.dfsg-7 Cernlib graphical library
ii  libgrafx11-1   2005.05.09.dfsg-7 Cernlib library interface to X11 a
ii  libkernlib12005.05.09.dfsg-7 core Cernlib library of basic func
ii  libmathlib22005.05.09.dfsg-7 core Cernlib mathematical library
ii  libpacklib12005.05.09.dfsg-7 core Cernlib library
ii  libpawlib2 2005.05.09.dfsg-7 Cernlib PAW library - portion with
ii  libx11-6   2:1.0.0-6 X11 client-side library
ii  netbase4.25  Basic TCP/IP networking system
ii  paw-common 2005.05.09.dfsg-7 Physics Analysis Workstation (comm

paw recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]