Operating System - HP-UX
1753879 Members
7644 Online
108809 Solutions
New Discussion юеВ

Motif based application crashes

 
Nivel
Frequent Advisor

Motif based application crashes

I have a Motif (2.1.0) based application running under HP UX 11.11 on a C8000, which occasionally crashes when moving from one GUI screen to another. Use of GDB following each crash reveals several different function stack traces, but all indicate that a function GetTreeFromDSM is being called (at position 5 in a trace of 21 functions). Another common factor is that all of the suspect functions come from library libXm.4. I have done a patch assessment, which updated libXm.4 to a version dated August 2007. However, I have rebuilt my application and the crashing still occurs. I have run vmstat which reveals free=320018, re=31, at=5, in=433, sy=4585, cs=419. Anyone got any ideas?
3 REPLIES 3
Torsten.
Acclaimed Contributor

Re: Motif based application crashes

PHSS_37028?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Nivel
Frequent Advisor

Re: Motif based application crashes

Yes.
Nivel
Frequent Advisor

Re: Motif based application crashes

This problem turned out to be caused by using XtVaCreateManagedWidget and XtDestroyWidget too often. It was resolved by using XtUnmanageChild and XtManageChild after XtVaCreateManagedWidget to unmanage and manage widgets instead of destroying them.