Re: [ROOT] question about ROOT GUI

From: Allister Levi Sanchez (allister@hep.sc.niigata-u.ac.jp)
Date: Tue Sep 17 2002 - 13:25:37 MEST


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