comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » widget_control,/destroy crashing IDL 7.0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
widget_control,/destroy crashing IDL 7.0 [message #77965] Fri, 14 October 2011 05:08
smw is currently offline  smw
Messages: 2
Registered: October 2011
Junior Member
I'm having a problem with an IDL widget program that seems extremely
similar to one Jean H. reported on comp.lang.idl-pvwave on April 30,
2009
(quoted below); I couldn't find any follow-up posts indicating
a solution, but I was hoping that if he or anyone had managed to solve
the problem you could give me a hint as to how. I am also running IDL
7.0 (from command line, not the idlde) and I am getting the same error
message
idl: QkHelp.c:1848: _TipDeactivateTO: Assertion `qh_display_ptr'
failed.
/usr/local/mdsplus/bin/idl: line 8: 3503 Aborted /usr/local/itt/idl/
bin/idl -32 $*

as reported by Jean.

It calls out the same line in the same .c file, identical to Jean's
except mine is "qh_display_ptr" instead of "qu_display_ptr". I get
this message on about half of the occasions when my code crashes. The
rest of the time it just reports a segmentation fault.

I am running under RedHat Enterprise Linux 6,
(2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Sep 29 10:24:25 EDT 2011 x86_64
x86_64 x86_64 GNU/Linux)
and I only get the
crashes under gnome desktop, not under KDE-4. This did not happen
under RHEL-5, with the same IDL version installed, so I'm reasonably
sure the upgraded window manager or xserver is what is doing me in.

In my case the segfaults or aborts happen on the call to
widget_control,/DESTROY . If I put breakpoints in the IDL code and
step through the call it does not crash. Similarly if I attach gdb to
the idl process and run it through the same steps it does not
segfault. I'm guessing there is some kind of race condition being
setup in the interaction with the window manager. Putting extra waits
or print statements in the IDL code does not help, however. The
behavior is not exactly deterministic. It happens about half the time
when I go through the same sequence of steps: bring up the widget
(from a top level gui) and then dismiss the widget. I believe Jean
also
indicated that the crashes did not happen every time, but about five
tries was as far as you could push it. That seems very similar to my
statistics.

Any information on how you managed to solve your problem, patches
applied or workarounds to the IDL, or any other advice on how I might
proceed, would be appreciated.

Thanks,

Steve Wolfe

On Apr 30 2009, 4:05 pm, "Jean H."
<jghas...@DELTHIS.ucalgary.ANDTHIS.ca> wrote:
>> Hi all,
>>
>> nice surprise today.... I can display a GUI, but the 2nd one (or, if I
>> am very lucky, up to the 5th one) crashes IDL... it wasn't doing it a
>> few days ago, so I suspect a bogus update...
>>
>> Ubuntu 8, 64 bits
>> IDL 7.0.8 Both 32 and 64 bits
>>
>> The error windows says "Fata error: IDL has encountered a fatal error
>> and will now exit"
>> Twice, I have been able to see a text printed to the console:
>> "idl_opserver: QkHelp.c:1848: _TipDeactivateTO: Assertion
>> 'qu_display_ptr' failed."
>>
>> I tried re-installing IDL but it didn't change anything...
>>
>> Have you seen this problem before??? do you have any clue how to solve it???
>>
>> Thanks!
>>
>> Jean
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Writ 2 KML
Next Topic: color the shaded relif image

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:05:51 PDT 2025

Total time taken to generate the page: 0.00491 seconds