Hi list, With the recent update to XFree86-base and related libraries, twm and X-clients I compiled my self started to fail.
I't seems as though, they are failing due to some problems with multi-byte fonts. twm is dying on startup with following: Program received signal SIGSEGV, Segmentation fault. 0x00448e84 in cygX11-6!XFreeFont () from /usr/X11R6/bin/cygX11-6.dll (gdb) where #0 0x00448e84 in cygX11-6!XFreeFont () from /usr/X11R6/bin/cygX11-6.dll #1 0x00448418 in cygX11-6!XLoadQueryFont () from /usr/X11R6/bin/cygX11-6.dll #2 0x0050410f in cygX11-6!_Xutf8DefaultDrawImageString () kterm (xterm like client with japanese capability) starts up OK, but dies when I type 'ls' in a directory which has files with Japanese names: Program received signal SIGSEGV, Segmentation fault. 0x004c8e84 in cygX11-6!XFreeFont () from /usr/X11R6/bin/cygX11-6.dll (gdb) where #0 0x004c8e84 in cygX11-6!XFreeFont () from /usr/X11R6/bin/cygX11-6.dll #1 0x004c8418 in cygX11-6!XLoadQueryFont () from /usr/X11R6/bin/cygX11-6.dll #2 0x0040be0a in cygSM-6!_SmsNewClientData () FYI, I've attached complete output of 'where' FWIW. Thank you, Haro =----------------------------------------------------------------------- _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Kubota Graphics Technology Inc. /|\ |_| |_|_| 2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0767 Fax: +81-3-3225-0740 Email: [EMAIL PROTECTED]
libXft 2.1.6-1 OK libXft1 1.0.0-1 OK libXft2 2.1.6-1 OK X-start-menu-icons 1.0.1-1 OK X-startup-scripts 1.0.5-1 OK XFree86-base 4.3.0-9 OK XFree86-bin 4.3.0-19 OK XFree86-etc 4.3.0-11 OK XFree86-f100 4.3.0-1 OK XFree86-fcyr 4.3.0-1 OK XFree86-fenc 4.3.0-1 OK XFree86-fnts 4.3.0-1 OK XFree86-fscl 4.3.0-1 OK XFree86-lib 4.3.0-2 OK XFree86-lib-compat 4.3.0-2 OK XFree86-man 4.3.0-8 OK XFree86-startup-scripts 4.3.0-1 OK XFree86-xserv 4.3.0-61 OK
Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 4.3.0.61 Contact: [EMAIL PROTECTED] XWin was started with the following command line: XWin -clipboard -rootless -emulate3buttons 50 -lesspointer ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1152 h 864 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Returning, supported engines 00000003 winScreenInit - dwWidth: 1152 dwHeight: 864 winSetEngine - Using Shadow DirectDraw winAdjustVideoModeShadowDD - Using Windows display depth of 16 bits per pixel winCreateBoundingWindowWindowed - User w: 1152 h: 864 winCreateBoundingWindowWindowed - Current w: 1152 h: 864 winAdjustForAutoHide - Original WorkArea: 0 0 864 1152 winAdjustForAutoHide - Taskbar is auto hide winAdjustForAutoHide - Found BOTTOM auto-hide taskbar winAdjustForAutoHide - Adjusted WorkArea: 0 0 863 1152 winCreateBoundingWindowWindowed - WindowClient w 1152 h 863 r 1152 l 0 b 863 t 0 winCreateBoundingWindowWindowed - Returning winFinishScreenInitFB - Masks: 0000f800 000007e0 0000001f winInitVisualsShadowDD - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16 bpp 16 winCreateDefColormap - Deferring to fbCreateDefColormap () winFinishScreenInitFB - returning winScreenInit - returning InitOutput - Returning. (--) Setting autorepeat to delay=500, rate=31 (II) Loading US keyboard layout. (--) winConfigKeyboard - Layout: "e0200411" (00000411) (--) Using preset keyboard for "Japanese" (411), type "7" Rules = "xfree86" Model = "jp" Layout = "jp" Variant = "(null)" Options = "(null)" Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winPointerWarpCursor - Discarding first warp: 576 431 winBlockHandler - Releasing pmServerStarted winBlockHandler - pthread_mutex_unlock () returned winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully opened the display. winClipboardWindowProc - WM_DRAWCLIPBOARD - Initializing - Returning.
GNU gdb 2003-09-20-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found)... (gdb) run -T window2 -sl 2000 -sb -rw -geometry +40+380 Starting program: /usr/X11R6/bin/kterm.exe -T window2 -sl 2000 -sb -rw -geometry +40+380 Program received signal SIGSEGV, Segmentation fault. 0x004c8e84 in cygX11-6!XFreeFont () from /usr/X11R6/bin/cygX11-6.dll (gdb) where #0 0x004c8e84 in cygX11-6!XFreeFont () from /usr/X11R6/bin/cygX11-6.dll #1 0x004c8418 in cygX11-6!XLoadQueryFont () from /usr/X11R6/bin/cygX11-6.dll #2 0x0040be0a in cygSM-6!_SmsNewClientData () #3 0x1002a7a8 in ?? () #4 0x10038cff in ?? () #5 0x0000000b in ?? () #6 0x0000010c in ?? () #7 0x00230000 in ?? () #8 0x0022e85c in ?? () (gdb) quit The program is running. Exit anyway? (y or n)
GNU gdb 2003-09-20-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found)... (gdb) run Starting program: /usr/X11R6/bin/twm.exe Program received signal SIGSEGV, Segmentation fault. 0x00448e84 in cygX11-6!XFreeFont () from /usr/X11R6/bin/cygX11-6.dll (gdb) where #0 0x00448e84 in cygX11-6!XFreeFont () from /usr/X11R6/bin/cygX11-6.dll #1 0x00448418 in cygX11-6!XLoadQueryFont () from /usr/X11R6/bin/cygX11-6.dll #2 0x0050410f in cygX11-6!_Xutf8DefaultDrawImageString () #3 0x0050416c in cygX11-6!_Xutf8DefaultDrawImageString () #4 0x005056aa in cygX11-6!_Xutf8DefaultDrawImageString () #5 0x00505c2b in destroy_fontdata () #6 0x004842d3 in cygX11-6!XCreateOC () #7 0x0048379c in cygX11-6!XCreateFontSet () #8 0x0041b3fb in cygSM-6!_SmsNewClientData () #9 0x1002abe0 in ?? () #10 0x100615f8 in ?? () #11 0x0022e870 in ?? () #12 0x0022e874 in ?? () #13 0x0022e878 in ?? () #14 0x00000007 in ?? () #15 0x00000038 in ?? () #16 0x61093940 in strtosigno () from /usr/bin/cygwin1.dll #17 0x0040b418 in cygSM-6!_SmsNewClientData () #18 0x1005c874 in ?? () #19 0x1005d0b0 in ?? () #20 0x0022e8b8 in ?? () #21 0x0040eb05 in cygSM-6!_SmsNewClientData () #22 0x00401050 in cygSM-6!_SmsNewClientData () #23 0x0205c788 in ?? () #24 0x1005d1e8 in ?? () #25 0x00401050 in cygSM-6!_SmsNewClientData () #26 0x000000b4 in ?? () #27 0x0022e94c in ?? () #28 0x0022edf8 in ?? () #29 0x00403663 in cygSM-6!_SmsNewClientData () #30 0x1005d0b0 in ?? () #31 0x00401050 in cygSM-6!_SmsNewClientData () #32 0x00401050 in cygSM-6!_SmsNewClientData () (gdb) quit The program is running. Exit anyway? (y or n)