Patch-ID# 107081-08
Keywords: Motif Kit backdrop scale libXm.so.3 header SEGV XtSetValuse Menubar
Synopsis: Motif 1.2.7 and 2.1.1: Runtime library patch for Solaris 7
Date: Aug/05/1999

Solaris Release: 7

SunOS Release: 5.7

Unbundled Product: Motif

Unbundled Release: 1.2.7, 2.1.1

Relevant Architectures: sparc

Xref: This patch available for x86 as 107082

BugId's fixed with this patch: 4159034 4149711 4171291 4170491 4162369 4165677 4171723 4174322 4183749 4186734 4186826 4128879 4191550 4197157 4197929 4197924 4207929 4209526 4211104 4224885 4226996 4201602 4219810 4191346 4240553 4251451 4247649 4245487 

Changes incorporated in this version: 4247649 4251451 4245487

Patches accumulated and obsoleted by this patch: 107607-01 107802-01

Patches which conflict with this patch:

Patches required with this patch: 

Obsoleted by: 

Files included with this patch:

        /usr/dt/lib/sparcv9/libXm.so.4
	/usr/dt/lib/libXm.so.3
	/usr/dt/lib/libXm12.so
	/usr/dt/lib/libXm.so.4
        /usr/dt/share/include/Xm/ArrowBGP.h
        /usr/dt/share/include/Xm/ArrowBP.h
        /usr/dt/share/include/Xm/AtomMgr.h
        /usr/dt/share/include/Xm/BaseClassP.h
        /usr/dt/share/include/Xm/BitmapsI.h
        /usr/dt/share/include/Xm/BulletinBP.h
        /usr/dt/share/include/Xm/CacheP.h
        /usr/dt/share/include/Xm/GadgetP.h
        /usr/dt/share/include/Xm/IconG.h
        /usr/dt/share/include/Xm/IconFileP.h
        /usr/dt/share/include/Xm/IconGP.h
        /usr/dt/share/include/Xm/ImageCachI.h
        /usr/dt/share/include/Xm/ScrollBarP.h
        /usr/dt/share/include/Xm/ScrolledWP.h
        /usr/dt/share/include/Xm/SeparatoGP.h
        /usr/dt/share/include/Xm/CascadeBGP.h
        /usr/dt/share/include/Xm/CascadeBP.h
        /usr/dt/share/include/Xm/LabelGP.h
        /usr/dt/share/include/Xm/LabelP.h
        /usr/dt/share/include/Xm/ListP.h
        /usr/dt/share/include/Xm/XmAll.h
        /usr/dt/share/include/Xm/TearOffBP.h
        /usr/dt/share/include/Xm/CutPaste.h
        /usr/dt/share/include/Xm/DisplayP.h
        /usr/dt/share/include/Xm/Xm.h
        /usr/dt/share/include/Xm/RowColumnP.h
        /usr/dt/share/include/Xm/DragCP.h
        /usr/dt/share/include/Xm/DragOverSP.h
        /usr/dt/share/include/Xm/DrawP.h
        /usr/dt/share/include/Xm/ScaleP.h
        /usr/dt/share/include/Xm/ScreenP.h
        /usr/dt/share/include/Xm/TextFP.h
        /usr/dt/share/include/Xm/TextInP.h
        /usr/dt/share/include/Xm/DrawingAP.h
        /usr/dt/share/include/Xm/ExtObjectP.h
        /usr/dt/share/include/Xm/FileSBP.h
        /usr/dt/share/include/Xm/TextOutP.h
        /usr/dt/share/include/Xm/TextP.h
        /usr/dt/share/include/Xm/TextStrSoP.h
        /usr/dt/share/include/Xm/ToggleB.h
        /usr/dt/share/include/Xm/ToggleBG.h
        /usr/dt/share/include/Xm/ToggleBGP.h
        /usr/dt/share/include/Xm/ToggleBP.h
        /usr/dt/share/include/Xm/ManagerP.h
        /usr/dt/share/include/Xm/MenuShellP.h
        /usr/dt/share/include/Xm/ColorObjP.h
        /usr/dt/share/include/Xm/MenuUtilP.h
        /usr/dt/share/include/Xm/PanedWP.h
        /usr/dt/share/include/Xm/PrimitiveP.h
        /usr/dt/share/include/Xm/VirtKeysP.h
        /usr/dt/share/include/Xm/XmP.h
        /usr/dt/share/include/Xm/XmosP.h
        /usr/dt/share/include/Xm/ColorObj.h

Problem Description:

4247649 Successive calls to XmGetPixmap() causes SEGV
4251451 Background resource cannot set to Cascade button with XtSetValuse
4245487 PushButtons of a Menubar needs the armcolor to be set explicitly
 
(from 107081-07)
4240553 fixing readdir_r caused many apps core dumped,MakeCachedDirEntry() 
	violates std.

(from 107081-06)
4191346 Modify motif header files for backward compatabilty with motif 1.2

(from 107081-05)
4224885 ToggleButtonGadget causes X error with patch 105284-23 installed
4226996 FileSelectionBox core when more than 34500 characters in directory

(from 107081-04)
4207929 toggle widget's resource cannot be set
4209526 Cannot set XmNheight for XmText on XmScrolledWindow
4211104 The dtpad cannot open file when its size is a multiple
        of pagesize

(from 107081-03)
4197157 Scale widget shows garbage on Form
4197929 New regression: XmGetPixmap does not search path
4197924 Patch 105284 breaks application

(from 107081-02)
4128879 application is not working in dual head using opengl 1.1.1. and
        motif.
4191550 patch 105284 version 16 or higher causes CDE backdrop problem in
        2.6 5/98

(from 107081-01)
4159034 Background color can't set to Option Menu under CDE.
4149711 Regression with patch 105284: XmGetPixmap does not search path.
4171291 Solaris 2.6 motif library patch is causing resize problems
        within applications
4170491 unneeded scrollbar displayed with patch 103461-27
4162369 Patch 105284-12 breaks scrolled list functionality on BulletinBoard
4165677 listbox item 5 addition causes JVM crash
4171723 X Error of failed request:  BadDrawable
4174322 Performance degradation of drawing text data is significant
4183749 patched Motif core dumps in CascadeBG code
4186734 Image Cache leaks pixmaps in patch 105284
4186826 2.6 Motif libraries are causing memory leaks

(from 107607-01)
4201602 When passing a fontList that has no fontSet to XmImSetValues core in ImGetGeo

(from 107802-01)
4219810 XtAppInitialize fails when used with watchmalloc

Patch Installation Instructions: 
-------------------------------- 
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.

For Solaris 7 release, refer to the man pages for instructions on
using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:

        example# patchadd /var/spool/patch/104945-02

The following example removes a patch from a standalone system:

        example# patchrm 104945-02

For additional examples please see the appropriate man pages.

Special Install Instructions: 
----------------------------- 

As a result of installing this patch a new link has been created
in /usr/dt/lib which links libXm12.so to libXm.so.3.  This allows
applications on Solaris 7 to be linked to Motif's 1.2.5 compatibility
library (libXm.so.3).  

In order to link to the compatibility library the application must
define MOTIF12_HEADERS and link to libXm12.so.  Defining MOTIF12_HEADERS 
ensures that the Motif header files are fully compatible with Motif 1.2.5.
