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 => (0xffffe000)
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 (0xb5420000)
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 root 5 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 root 6 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 Version Description
+++-==============-==============-============================================
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 for this test.) Type "where" at
> the gdb prompt after the segfault to get a backtrace.
Program received signal SIGSEGV, Segmentation fault.
0xb7880012 in ?? ()
(gdb) where
#0 0xb7880012 in ?? ()
#1 0xf5007bb7 in ?? ()
#2 0x8f7a32b7 in ?? ()
#3 0x259708b7 in ?? ()
#4 0x000001b6 in ?? ()
#5 0x863d4000 in ?? ()
#6 0xf5d6c8bf in ?? ()
#7 0xf51c5cb7 in ?? ()
#8 0x000000b7 in ?? ()
#9 0x00000100 in ?? ()
#10 0x00000100 in ?? ()
#11 0x00000000 in ?? ()
> - 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.)
Oh!
... ok, you got me on that one - I use a pawlogon.kumac including
a shared library. When I disable loading that shared library, the problem
disappears. I can provide the code anyway. See the attached tarball.
> - Is PAW creating directories /tmp/comisXXXXXX when run (with XXXXXX
> 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 .
TMPDIR is not set. comis creates these files.
> - Do you have any non-Debian versions of Cernlib installed on this computer?
No
> - Anything else that might be at all unusual about this system?
No
> - Are you able to reproduce the segfault on any other computer(s)
Yes, on three other computers running sarge/etch/unstable mixes
> running Etch, if you have one available?
> - What about on computer(s) running Sarge or an up-to-date Sid?
no up-to-date Sid available
>
> 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
--
/*****************************************************************************\
| Dr. habil. Frank Dohrmann | Forschungszentrum Rossendorf e.V |
| Phone: 49-351-260-2872 | Postfach 510119 |
| Fax 49-351-260-3700 | D 01314 Dresden |
| email: [EMAIL PROTECTED] | Germany |
\*****************************************************************************/
kevin.tgz
Description: GNU Unix tar archive

