Re: [ROOT] (please!!) Segmentation fault occuring when launching a test program

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Mar 06 2002 - 16:47:00 MET


Hi Jonathan,

  since you've been in the process of upgrading most GNU tools on your
Solaris machine (;-)) I propose you also move to gcc 2.95 or to gcc 3.
Very likely the segv is due to a compiler bug, 2.91.66 is fairly old.

Cheers, Fons.



On Wed, 2002-03-06 at 16:01, Jonathan Bailleul wrote:
> Hello, 
> 
> I am using root 3.02 on solaris 5.8 / egcs-2.91.66 / GNU Make version
> 3.79.1.
> I compiled the library without too much problems, and I even managed to
> compile and link a small program.
> Unfortunately, it makes a segfault when I run it. 
> 
> I tried gdb on it (compilation of modules with -g), and the result is
> quite disturbing:
> 
> (gdb) r
> Starting program: /users/these/bailleul/These/SEG/toto 
> Cannot insert breakpoint -1:
> Cannot access memory at address 0xcd4.
> 
> 
> 
> I must precise that I managed to compile and run that small program on
> that platform with CC and an old version of ROOT compiled for
> solaris/CC.
> 
> What can I do?
> 
> 
> 
> -- 
> --------------------------
> Jonathan BAILLEUL
> Doctorant au GREYC Image
> ISMRA, Université de Caen
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:44 MET