OpenSolaris

Printable Version Enter a New Search
Bug ID 6739431
Synopsis xterm memory corruption detected in libX11.so.4'_X11TransConnectDisplay()
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:libx11
Keywords LIBUMEM_ERROR_DETECTION
Responsible Engineer Alan Coopersmith
Reported Against snv_99
Duplicate Of
Introduced In
Commit to Fix snv_101
Fixed In snv_101
Release Fixed solaris_nevada(snv_101)
Related Bugs 6752050
Submit Date 20-August-2008
Last Update Date 17-October-2008
Description
while running xterm with libumem debugging enabled on opensolaris 2008.05
snv_94 i got the following crash:
---8<---
edp@mcescher$ mdb core.xterm.248302.89769
Loading modules: [ libumem.so.1 libc.so.1 ld.so.1 ]
> ::showrev
Hostname: mcescher
Release: 5.11
Kernel architecture: i86pc
Application architecture: i386
Kernel version: SunOS 5.11 i86pc snv_94
Platform: i86pc
> ::getenv ! grep -i umem
UMEM_LOGGING=transaction,fail
UMEM_DEBUG=audit=50,guards
LD_PRELOAD=libumem.so
> ::umem_status
Status:         ready and active
Concurrency:    4
Logs:           transaction=64k fail=64k 
Message buffer:
free(8474fb0): double-free or invalid buffer
stack trace:
libumem.so.1'umem_err_recoverable+0x39
libumem.so.1'process_free+0xe1
libumem.so.1'free+0x17
libX11.so.4'_X11TransConnectDisplay+0xb33
libX11.so.4'XOpenDisplay+0xbc
libXt.so.4'XtOpenDisplay+0xa0
libXt.so.4'_XtAppInit+0xb8
libXt.so.4'XtOpenApplication+0xaf
xterm'main+0x72a
xterm'_start+0x7a
---8<---

the core file from this crash dump is attached to this bug report.
Work Around
setenv DISPLAY to :0 instead of hostname:0
Comments
N/A