PAW - Segmentation violation - Traceq lun = 0, level = 99

Bug #6588 reported by Stan Thomas
4
Affects Status Importance Assigned to Milestone
gcc
Fix Released
Undecided
Unassigned
cernlib (Ubuntu)
Fix Released
Medium
MOTU

Bug Description

I am encountering a seg fault problem with the cernlib package PAW (Physics Analysis Workstation) on Ubuntu 5.10 (Breezy Badger).

Here is a simple example demostrating the problem. In the example, I am attempting to read in a tiny ASCII data file into an ntuple.

--------------------------------------------------------------------------
$ paw
 ******************************************************
 * *
 * W E L C O M E to P A W *
 * *
 * Version 2.14/04 12 January 2004 *
 * *
 ******************************************************
 Workstation type (?=HELP) <CR>=1 :
 Version 1.29/04 of HIGZ started

PAW > nt/cre 1 nvar=2 varlist=x y
PAW > nt/read 1 bob.dat

 *** Break *** Segmentation violation
 Traceq lun = 0, level = 99

 TRACEQ. In-line trace-back still not available.
 Longjump
PAW >
---------------------------------------------------------

bob.dat
-------------
55 56
100 200
333 19
--------------

I also sent at report to <email address hidden> describing this problem.

Revision history for this message
Stan Thomas (thomas-physics) wrote :

This problem appears to be unique to Breezy. I am running the same version of PAW on Redhat 9.0 (kernel 2.6.11.10). The same simple examples works fine.

------------------------------------------------------------------------------------
$ paw
 ******************************************************
 * *
 * W E L C O M E to P A W *
 * *
 * Version 2.14/04 12 January 2004 *
 * *
 ******************************************************
 Workstation type (?=HELP) <CR>=1 :
 Version 1.29/04 of HIGZ started

PAW > nt/cre 1 nvar=2 varlist=x y
PAW > nt/read 1 bob.dat
 ==> 3 events have been read
PAW >
------------------------------------------------------------------------------------

Changed in cernlib:
assignee: nobody → motu
Revision history for this message
Stan Thomas (thomas-physics) wrote :

Hi all,

Stan Thomas wrote:

> Ubuntu is Debian based. I dumped the info for the Debian package,
> paw_2005.05.09-1_i386.deb. It included the email address of the package
> maintainer so I am also also ccing this email to him.

(That's me.)

> I should also mention that I submitted this as a bug to the Ubuntu bug
> tracking system:
>
> https://launchpad.net/distros/ubuntu/+source/cernlib/+bug/6588

I'm not familiar with Ubuntu's bug reporting system, so someone who
works on the distribution (in MOTU, I guess?) will have to forward this
comment along to it.

> Ian, here is the Debian package info:
>
> $ dpkg -I paw_2005.05.09-1_i386.deb

>>>I am encountering a seg fault problem with PAW installed via
>>>Synaptic/apt-get on Ubuntu 5.10 (Breezy Badger).
>>>
>>>
>>>Here is a very simple example demostrating the problem. I am attempting
>>>to read in a tiny ASCII data file into an ntuple.
>>>
>>>-----------------------------------------------------------------------
>>>---
>>>$ paw
>>>******************************************************
>>>* *
>>>* W E L C O M E to P A W *
>>>* *
>>>* Version 2.14/04 12 January 2004 *
>>>* *
>>>******************************************************
>>>Workstation type (?=HELP) <CR>=1 :
>>>Version 1.29/04 of HIGZ started
>>>
>>>
>>>PAW > nt/cre 1 nvar=2 varlist=x y
>>>PAW > nt/read 1 bob.dat
>>>
>>>
>>>*** Break *** Segmentation violation
>>>Traceq lun = 0, level = 99

If I am not mistaken, this looks like Debian bug # 324902, for which a
log is available at http://bugs.debian.org/324902 . The culprit of this
bug was a compiler problem, which I reported here:
http://bugs.debian.org/325050 . So I think the only fix, unfortunately,
is to recompile your package of PAW with a compiler not having the bug.

To recompile the Debian Way (TM), which I guess is the same as the
Ubuntu way, I provide some instructions on the Cernlib in Debian FAQ
page, http://people.debian.org/~kmccarty/cernlib/faq.html , specifically
question 2.2. Before recompiling, you'll want to install an older gcc
package, for instance "gcc-3.3", and make sure that /usr/bin/gcc is a
symlink to gcc-3.3 (for instance), not gcc-3.4 or gcc-4.0. (Unless your
gcc-4.0 is newer than version 4.0.2-4, then you could use that as well.)

Alternatively I suspect that this should be fixed in the PAW package
currently available from the development version of Ubuntu, Dapper
Drake, if you're willing to use that.

I hope this helps you.

best regards,

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

Revision history for this message
Stan Thomas (thomas-physics) wrote :

Problem solved!

I followed Kevin's instructions.

I now have the following newly compiled (gcc-3.3) Ubuntu 5.10 (Breezy) .deb files.

cernlib_2005.05.09-1_all.deb
cernlib-base_2005.05.09-1_all.deb
cernlib-core_2005.05.09-1_all.deb
cernlib-core-dev_2005.05.09-1_all.deb
cernlib-extras_2005.05.09-1_all.deb
cernlib-montecarlo_2005.05.09-1_all.deb
dzedit_2005.05.09-1_i386.deb
geant321_2005.05.09-1_all.deb
geant321-data_2005.05.09-1_all.deb
geant321-doc_2005.05.09-1_all.deb
kuipc_2005.05.09-1_i386.deb
kxterm_2005.05.09-1_i386.deb
libcojets2_2005.05.09-1_i386.deb
libcojets2-dev_2005.05.09-1_i386.deb
libeurodec1_2005.05.09-1_i386.deb
libeurodec1-dev_2005.05.09-1_i386.deb
libgeant321-2_2005.05.09-1_i386.deb
libgeant321-2-dev_2005.05.09-1_i386.deb
libgraflib1_2005.05.09-1_i386.deb
libgraflib1-dev_2005.05.09-1_i386.deb
libgrafx11-1_2005.05.09-1_i386.deb
libgrafx11-1-dev_2005.05.09-1_i386.deb
libherwig59-2_2005.05.09-1_i386.deb
libherwig59-2-dev_2005.05.09-1_i386.deb
libisajet758-2_2005.05.09-1_i386.deb
libisajet758-2-dev_2005.05.09-1_i386.deb
libkernlib1_2005.05.09-1_i386.deb
libkernlib1-dev_2005.05.09-1_i386.deb
libmathlib2_2005.05.09-1_i386.deb
libmathlib2-dev_2005.05.09-1_i386.deb
libpacklib1_2005.05.09-1_i386.deb
libpacklib1-dev_2005.05.09-1_i386.deb
libpacklib1-lesstif_2005.05.09-1_i386.deb
libpacklib1-lesstif-dev_2005.05.09-1_i386.deb
libpawlib2_2005.05.09-1_i386.deb
libpawlib2-dev_2005.05.09-1_i386.deb
libpawlib2-lesstif_2005.05.09-1_i386.deb
libpawlib2-lesstif-dev_2005.05.09-1_i386.deb
libpdflib804-2_2005.05.09-1_i386.deb
libpdflib804-2-dev_2005.05.09-1_i386.deb
libphotos202_2005.05.09-1_i386.deb
libphotos202-dev_2005.05.09-1_i386.deb
libphtools2_2005.05.09-1_i386.deb
libphtools2-dev_2005.05.09-1_i386.deb
montecarlo-base_2005.05.09-1_all.deb
paw_2005.05.09-1_i386.deb
paw++_2005.05.09-1_i386.deb
paw-common_2005.05.09-1_all.deb
paw-demos_2005.05.09-1_all.deb
pawserv_2005.05.09-1_i386.deb
paw-static_2005.05.09-1_i386.deb
paw++-static_2005.05.09-1_i386.deb
zftp_2005.05.09-1_i386.deb

I installed them and PAW now works correctly!!!

   -Stan

Revision history for this message
Thierry Moisan (thierryn) wrote :

fixed in dapper

Changed in gcc:
status: Unconfirmed → Fix Released
Changed in cernlib:
status: Unconfirmed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

fixed in 4.0.2-4 or newer

Changed in gcc:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.