Operating System - HP-UX
1838243 Members
5535 Online
110125 Solutions
New Discussion

Pasting from a dt-term to an X-term causes crash in 10.20

 
glenn henley
Occasional Advisor

Pasting from a dt-term to an X-term causes crash in 10.20

Hi,

I've created a small program which opens a window and fills it with a dtterm
(dtTermWidgetClass). If I now highlight
a portion of code & try to paste into,
say an X-term. The whole thing core dumps.

The stack trace shows that dt is calling XFree
(in other words free), and that seems to be
where it goes bang!

I've swapped different versions of libraries
in and out and it's the libX11.sl is the crucial one.

This problem seems to have started at
release X11R6.4 and above.

The only people that never make mistakes, are the people that never try anything.
4 REPLIES 4
Charles Slivkoff
Respected Contributor

Re: Pasting from a dt-term to an X-term causes crash in 10.20

Please post the "what" output from the libX11.sl that exhibits the problem. Which application crashes, the xterm or your app with a DtTerm widget? Are you correctly compliing/linking with X11R6 headers and libs?







glenn henley
Occasional Advisor

Re: Pasting from a dt-term to an X-term causes crash in 10.20

I'm using the X11R6.6, recently downloaded from www.x.org.

And to clarify, it is the application (containing the dt-term) that goes pop!

The building/linking is okay. If I swap the library out for an older version of libX11 then everything is okay.

Incidently the dtterm library is...

DtTermprimitiveWidget: Rev 1.196
libDtTerm: Revision 1.172

The only people that never make mistakes, are the people that never try anything.
Charles Slivkoff
Respected Contributor

Re: Pasting from a dt-term to an X-term causes crash in 10.20

The CDE widgets were built using the HP-delivered X11 libraries & headers.



Have you tried duplicating the problem with HP-supplied headers & libs with a recent set of patches loaded?



glenn henley
Occasional Advisor

Re: Pasting from a dt-term to an X-term causes crash in 10.20

The problem doesn't happen on the 'hp-supplied' bundle. Rather just when X11R6.6, is slapped over the top, which unfortunatly we need for our application.
The only people that never make mistakes, are the people that never try anything.