Re: Modifications to brop/monitor/abc

From: Truls Martin Larsen (t.m.larsen@fys.uio.no)
Date: Thu Nov 14 2002 - 05:01:21 EST

  • Next message: Djamel Ouerdane: "Re: Modifications to brop/monitor/abc"
    Hi Kris,
    
    I have seen the seg fault myself, but also before root 3.03.09 and gcc 
    3.04. I have also spent a lot of time trying to figure out why these 
    popups produce this behaviour, but without any luck. If I should come 
    across any reason, I'll let you know.
    
    Regards,
           Truls
    
    Kris Hagel wrote:
    
    > Hello,
    > I completed (I think) the migration to signal/slot in the online 
    > monitor software.  This was necessitated by the fact that some of the 
    > routines still using the old message sending methods were not 
    > compiling after rootcint because of new "features" (I guess) of the 
    > 3.04 compiler on the piis.  Whatever the reason, the signal/slot is a 
    > cleaner way to do business.  These modifications are now checked in to 
    > the repository
    >
    > There is one caveat.  I (or the 3.04 compiler; or root 3.03.09) have 
    > manufactured a seg fault when a popup canvas is used by double 
    > clicking on a monitor pad.  Everything in my tests appears to continue 
    > working after the seg fault, but I have the general idea that all seg 
    > faults are bad seg faults.  I did not manage to locate the problem and 
    > rationalized that not many people in brahms besides me use that 
    > feature anyway, so I went ahead and committed in the code.  But a 
    > question to experts (Christian I guess, but anyone else if they 
    > know).  How do I find where a seg fault happens?  I tried with gdb and 
    > it says it is in InnerLoop and as far as I can tell it continues there 
    > after handling the signal (UNIX signal)  It makes me miss VMS again as 
    > I remember "back in the good old days" when a program crashed and the 
    > computer told you exactly where it crashed and why.  Who can help me?  
    > I spent a few hours coverting to signal/slot and 2 1/2 days chasing 
    > this stupid seg fault and in the end have nothing to show for it.
    >
    > Regards
    >
    > Kris
    >
    >
    > .
    >
    
    -- 
    *------------------------------*
    |http://folk.uio.no/truml    /
    |Truls Martin Larsen        / 
    |T.M.Larsen@fys.uio.no     .
    |University of Oslo       //
    |Department of Physics   / \0       
    |P.O.Box 1048 Blindern  /\_/
    |0316 Oslo, Norway     /  / 
    |Tel: +47 22854331    / -- 
    |                    /_/  |
    |Home address:      /     \
    |Eiksvn 58         |      '
    |1361 Østerås      |
    |Tel: +47 67155618 |
    |Mob: +47 99691838 |
    *------------------*
    


    This archive was generated by hypermail 2.1.5 : Thu Nov 14 2002 - 05:03:10 EST