Re: [ROOT] question about ROOT GUI

From: Allister Levi Sanchez (allister@hep.sc.niigata-u.ac.jp)
Date: Thu Sep 19 2002 - 11:17:54 MEST


Hi Fons,

I have built ROOT 3.03.08 from source. (Please disregard my last email.
I guess I solved my ROOT build problem by just changed the links of
libkernlib and libpacklib from lib*******-shift.a to lib******_noshift.a).

Back to my GUI problem, the problems I mentioned earlier disappeared
after commenting out those lines from TGFrame.cxx.

Thanks a lot,
Allister

Fons Rademakers wrote:

>Hi Allister,
>
>  could you help me debug because I cannot reproduce the problem on my
>machine. First of all could you try rebuilding ROOT from CVS source. Run
>your program again and see if it still breaks. If it does, there is one
>main area I suspect:
>
>  look in root/gui/src/TGFrame.cxx line 361 and comment out the lines:
>
>   if (TestBit(kNotDeleted))
>      ProcessedEvent(event);  // emit signal
>
>  does this solve the problem?
>
>Let me know.
>
>-- Fons
>
>
>
>On Tue, 2002-09-17 at 17:00, Allister Levi Sanchez wrote:
>  
>
>>Hi Fons,
>>
>>Here's the example you asked for. I may have changed some lines earlier
>>today but the behaviour is about the same. After running gmake, you'll
>>have "biodaq" executable. Try clicking, say,
>>"Help->About BIODAQ->OK". Or try "Initialize Run", edit some lines,
>>save, start run, stop run, back to initialize run, and so on as your
>>curiosity takes you :^)
>>
>>Best regards,
>>Allister
>>
>>Fons Rademakers wrote:
>>
>>    
>>
>>>Please mail me your example with exact procedure to reproduce the
>>>problem. I've to check if it is related to the other problem I see.
>>>
>>>-- Fons
>>>
>>>
>>>On Tue, 2002-09-17 at 13:25, Allister Levi Sanchez wrote:
>>> 
>>>
>>>      
>>>
>>>>Hi Fons,
>>>>
>>>>I'm new to ROOT GUI so I'm trying both signal/slots and messages on a
>>>>RedHat 7.3 Linux OS, with the ROOT 3.03/08 binary distribution for Intel
>>>>x86 Redhat 7.2 and gcc 2.96. I've spent not so much time with
>>>>signal/slots but I've seen the problem using both methods. A common case
>>>>where it happens is when I click into a TGTextEdit or a TGTextEntry. I
>>>>can avoid having the problem if I just use the keyboard for editing in
>>>>TGTextEdit. But when I change the cursor position using the mouse, I get
>>>>the seg violation after I close the dialog frame, regardless of how I
>>>>close it.
>>>>
>>>>I'll be very glad if this is fixed :^)
>>>>
>>>>Best regards,
>>>>Allister
>>>>
>>>>Fons Rademakers wrote:
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>Hi Allister,
>>>>>
>>>>>which messaging system are you using in your gui: signal/slots or
>>>>>messages (via ProcessMessage()). Also which OS are you using? Anyway,
>>>>>I've seen the problem too and am working on a fix. 
>>>>>
>>>>>Cheers, Fons.
>>>>>
>>>>>
>>>>>On Tue, 2002-09-17 at 08:39, Allister Levi Sanchez wrote:
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>I'm working with ROOT GUI and when a TGFrame is closed (like in the case 
>>>>>>of TGMsgBox, by clicking the OK button) I often get a new blank canvas 
>>>>>>on the screen plus I get this message:
>>>>>>
>>>>>>Root >
>>>>>>*** Break *** segmentation violation
>>>>>>Root >
>>>>>>*** Break *** segmentation violation
>>>>>>
>>>>>>Is this a "feature" of ROOT GUI?  Could you give me ideas on what to do 
>>>>>>(and what to be careful about) to make sure that when I don't get 
>>>>>>segmentation violations or get a new canvas or get hanged main windows 
>>>>>>when a dialog box exits?  Seems there isn't much docs on this from the 
>>>>>>ROOT web site or anywhere.
>>>>>>
>>>>>>Best regards,
>>>>>>Allister
>>>>>>
>>>>>>////////////////////////////////////////////////////////////////////////////
>>>>>>Allister Levi Sanchez
>>>>>>High Energy Physics Laboratory
>>>>>>Niigata University
>>>>>>Japan
>>>>>>allister@hep.sc.niigata-u.ac.jp
>>>>>>////////////////////////////////////////////////////////////////////////////
>>>>>>
>>>>>>  
>>>>>>
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>   
>>>>
>>>>        
>>>>
>>    
>>



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