public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: xlogo crashes XWin with Fatal Error (Segmentation Fault)
@ 2012-04-26 18:45 George Barrick
0 siblings, 0 replies; only message in thread
From: George Barrick @ 2012-04-26 18:45 UTC (permalink / raw)
To: 'cygwin-xfree@cygwin.com'
[-- Attachment #1: Type: text/plain, Size: 1701 bytes --]
Re: xlogo crashes XWin with Fatal Error (Segmentation Fault)
2012.04.26.18:13:33 UT
Hey cygwin-x folks,
I have not had notable difficulties with
XWin-1.12.0-4. Just about everything that I have
done with it over the past few days has been fine.
However, when I read Yusuke's post, I thought that
I should try one of those old-timey X-programs to
see whether it would crash.
I've been able to reproduce an XWin crash similar
to the one experienced by Yusuke. My XWin did _not_
fail when I was running octave with either the fltk or
its usual gnuplot backends. I was also able to run xfig
with no problem. This was a crash caused when I opened
the xcalc program. I'm not certain that I understand
his experiment with two terminal windows as a method of
narrowing the difficulty to the -multiwindow option.
However like Yusuke, I am starting XWin with the
-mulitwindow option. The crash I observed was with
just a single xterm, and then the xcalc program. Other
programs that opened x-windows seemed fine.
In this instance, I had the debugging symbols
available, and collected information from a backtrace
using (gdb). I've attached gdb.xwin.20120426.txt and
my XWin.0.20120426.log. I did not see anything
interesting in the xwin0-log, and my (gdb) backtrace
is just the output from my glance at Jon Turney's
recipe. I'm tossing it in this list in case it helps
better-informed folks to track down the difficulty
with XWin-1.12.0-4.
If there is more specific or nuanced stuff that
I can log with (gdb) to provide more information,
please e-mail me.
George gbarrick_at_walsh_dot_edu
[-- Attachment #2: gdb.xwin.20120426.txt --]
[-- Type: text/plain, Size: 3229 bytes --]
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2528.0xf34]
0x0040a41e in winXIconToHICON (pDisplay=0x20279a30, id=10485779, iconSize=<optimized out>)
at /opt/wip/cygport-git/xorg-server/xorg-server-1.12.0-4/src/xserver-cygwin-1.12.0-4/hw/xwin/winmultiwindowicons.c:535
535 /opt/wip/cygport-git/xorg-server/xorg-server-1.12.0-4/src/xserver-cygwin-1.12.0-4/hw/xwin/winmultiwindowicons.c: No such file or directory.
in /opt/wip/cygport-git/xorg-server/xorg-server-1.12.0-4/src/xserver-cygwin-1.12.0-4/hw/xwin/winmultiwindowicons.c
#0 0x0040a41e in winXIconToHICON (pDisplay=0x20279a30, id=10485779, iconSize=<optimized out>)
at /opt/wip/cygport-git/xorg-server/xorg-server-1.12.0-4/src/xserver-cygwin-1.12.0-4/hw/xwin/winmultiwindowicons.c:535
root = <error reading variable root (Cannot access memory at address 0x7fdfcbf8)>
y = <error reading variable y (Cannot access memory at address 0x7fdfcbf0)>
depth = <error reading variable depth (Cannot access memory at address 0x7fdfcbe0)>
xImageIcon = 0x0
x = <error reading variable x (Cannot access memory at address 0x7fdfcbf4)>
width = <error reading variable width (Cannot access memory at address 0x7fdfcbec)>
height = <error reading variable height (Cannot access memory at address 0x7fdfcbe8)>
border_width = <error reading variable border_width (Cannot access memory at address 0x7fdfcbe4)>
xImageMask = 0x0
mask = <optimized out>
image = <optimized out>
imageMask = <optimized out>
dst = <optimized out>
src = <optimized out>
planes = 1
bpp = 32
i = <optimized out>
biggest_size = <optimized out>
hDC = <optimized out>
ii = <error reading variable ii (Cannot access memory at address 0x7fdfcbcc)>
hints = 0x203ae1e8
hIcon = 0x0
biggest_icon = <optimized out>
_XA_NET_WM_ICON = <error reading variable _XA_NET_WM_ICON (Cannot access memory at address 0x5fd554)>
generation = <error reading variable generation (Cannot access memory at address 0x5fd550)>
icon = <optimized out>
icon_data = 0x0
size = 0
type = 0
format = 0
left = <error reading variable left (Cannot access memory at address 0x7fdfcbfc)>
#1 0x0040a6ab in winUpdateIcon (
hWnd=<error reading variable: Cannot access memory at address 0x7fdfcc70>,
hWnd@entry=<error reading variable: Cannot access memory at address 0x7fdfcc6c>,
pDisplay=<error reading variable: Cannot access memory at address 0x7fdfcc74>,
id=<error reading variable: Cannot access memory at address 0x7fdfcc78>,
hIconNew=<error reading variable: Cannot access memory at address 0x7fdfcc7c>)
at /opt/wip/cygport-git/xorg-server/xorg-server-1.12.0-4/src/xserver-cygwin-1.12.0-4/hw/xwin/winmultiwindowicons.c:560
hIcon = <optimized out>
hIconSmall = 0x0
hIconOld = <optimized out>
A debugging session is active.
Inferior 1 [process 2528] will be detached.
Quit anyway? (y or n) error return /netrel/src/gdb-7.3.50-3/gdb/windows-nat.c:1251 was 31
Quitting: Can't detach process 2528 (error 5)
[-- Attachment #3: XWin.0.20120426.log --]
[-- Type: application/octet-stream, Size: 10951 bytes --]
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.12.0.0
OS: Windows XP Service Pack 3 [Windows NT 5.1 build 2600] (Win32)
Package: version 1.12.0-4 built 2012-04-17
XWin was started with the following command line:
X :0 -multiwindow
ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1024 h 768
winInitializeScreenDefaults - native DPI x 96 y 96
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/TS207:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[ 24789.921] (II) xorg.conf is not supported
[ 24789.921] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[ 24789.921] LoadPreferences: /cygdrive/e/gbarrick/.XWinrc not found
[ 24789.921] LoadPreferences: Loading /etc/X11/system.XWinrc
[ 24789.921] LoadPreferences: Done parsing the configuration file...
[ 24789.921] winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD
[ 24789.921] winDetectSupportedEngines - Windows NT, allowing PrimaryDD
[ 24789.921] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[ 24789.921] winDetectSupportedEngines - Returning, supported engines 0000001f
[ 24789.921] winTaskbarInit - Could not get SHGetPropertyStoreForWindow address
[ 24789.921] winSetEngine - Multi Window or Rootless => ShadowGDI
[ 24789.921] winScreenInit - Using Windows display depth of 32 bits per pixel
[ 24789.921] winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32
[ 24789.921] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[ 24789.921] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
[ 24789.921] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[ 24789.921] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[ 24789.921] MIT-SHM extension disabled due to lack of kernel support
[ 24789.937] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[ 24789.953] GL_VERSION: 2.0.0 - Build 6.14.10.5082
[ 24789.953] GL_VENDOR: Intel
[ 24789.953] GL_RENDERER: Intel Eaglelake
[ 24789.953] GL_EXTENSIONS: GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_blend_color GL_EXT_abgr GL_EXT_texture3D
[ 24789.953] GL_EXTENSIONS: GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_SGIS_texture_edge_clamp GL_SGIS_generate_mipmap
[ 24789.953] GL_EXTENSIONS: GL_EXT_draw_range_elements GL_SGIS_texture_lod GL_EXT_rescale_normal GL_EXT_packed_pixels
[ 24789.953] GL_EXTENSIONS: GL_EXT_separate_specular_color GL_ARB_multitexture GL_EXT_texture_env_combine GL_EXT_bgra
[ 24789.953] GL_EXTENSIONS: GL_EXT_blend_func_separate GL_EXT_secondary_color GL_EXT_fog_coord GL_EXT_texture_env_add
[ 24789.953] GL_EXTENSIONS: GL_ARB_texture_cube_map GL_ARB_transpose_matrix GL_ARB_texture_env_add GL_IBM_texture_mirrored_repeat
[ 24789.953] GL_EXTENSIONS: GL_EXT_multi_draw_arrays GL_NV_blend_square GL_ARB_texture_compression GL_3DFX_texture_compression_FXT1
[ 24789.953] GL_EXTENSIONS: GL_EXT_texture_filter_anisotropic GL_ARB_texture_border_clamp GL_ARB_point_parameters
[ 24789.953] GL_EXTENSIONS: GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_env_crossbar
[ 24789.953] GL_EXTENSIONS: GL_EXT_texture_compression_s3tc GL_ARB_shadow GL_ARB_window_pos GL_EXT_shadow_funcs GL_EXT_stencil_wrap
[ 24789.953] GL_EXTENSIONS: GL_ARB_vertex_program GL_EXT_texture_rectangle GL_ARB_fragment_program GL_EXT_stencil_two_side
[ 24789.953] GL_EXTENSIONS: GL_ATI_separate_stencil GL_ARB_vertex_buffer_object GL_EXT_texture_lod_bias GL_ARB_occlusion_query
[ 24789.953] GL_EXTENSIONS: GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_non_power_of_two
[ 24789.953] GL_EXTENSIONS: GL_ARB_vertex_shader GL_NV_texgen_reflection GL_ARB_point_sprite GL_EXT_blend_equation_separate
[ 24789.953] GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_texture_rectangle GL_ARB_draw_buffers GL_ARB_pixel_buffer_object
[ 24789.953] GL_EXTENSIONS: GL_WIN_swap_hint GL_EXT_framebuffer_object GL_ARB_color_buffer_float GL_ARB_half_float_pixel
[ 24789.953] GL_EXTENSIONS: GL_ARB_texture_float
[ 24789.953] WGL_EXTENSIONS: WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_pixel_format
[ 24789.953] WGL_EXTENSIONS: WGL_ARB_pbuffer WGL_EXT_extensions_string WGL_EXT_swap_control WGL_ARB_pixel_format_float
[ 24789.953] (II) AIGLX: enabled GLX_SGI_make_current_read
[ 24789.953] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 24789.953] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 24789.953] (II) AIGLX: enabled GLX_SGIX_pbuffer
[ 24789.953] (II) AIGLX: Set GLX version to 1.3
[ 24789.953] 30 fbConfigs
[ 24789.953] pxf vis fb render Ste aux accum MS drawable Group/
[ 24789.953] idx ID ID VisualType Depth Lvl RGB CI DB Swap reo R G B A Z S buf AR AG AB AA bufs num W P Pb Float Trans Caveat
[ 24789.953] -----------------------------------------------------------------------------------------------------------------------------
[ 24789.953] 1 60 42 TrueColor 32 0 y . . . 8 8 8 8 0 0 0 0 0 0 0 0 0 y . y . . 2
[ 24789.953] 2 61 43 TrueColor 32 0 y . y . 8 8 8 8 0 0 0 16 16 16 16 0 0 y . y . . 2
[ 24789.953] 3 62 44 TrueColor 32 0 y . . . 8 8 8 8 16 0 0 0 0 0 0 0 0 y . y . . 2
[ 24789.953] 4 41 45 TrueColor 32 0 y . y . 8 8 8 8 16 0 0 16 16 16 16 0 0 y . y . . 2
[ 24789.953] 5 63 46 TrueColor 32 0 y . . . 8 8 8 8 24 8 0 0 0 0 0 0 0 y . y . . 2
[ 24789.953] 6 21 47 TrueColor 32 0 y . y . 8 8 8 8 24 8 0 16 16 16 16 0 0 y . y . . 2
[ 24789.953] 7 64 48 TrueColor 32 0 y . . . 8 8 8 0 32 8 0 16 16 16 0 0 0 y y . . . 0 *
[ 24789.953] 8 65 49 TrueColor 32 0 y . . . 8 8 8 0 16 8 0 16 16 16 0 0 0 y y . . . 0 *
[ 24789.953] 9 66 4a TrueColor 32 0 y . y copy . 8 8 8 0 32 8 0 16 16 16 0 0 0 y . . . . 0 *
[ 24789.953] 10 67 4b TrueColor 32 0 y . y copy . 8 8 8 0 16 8 0 16 16 16 0 0 0 y . . . . 0 *
[ 24789.953] 11 68 4c TrueColor 32 0 y . . . 8 8 8 8 32 8 0 16 16 16 16 0 0 y y . . . 0 *
[ 24789.953] 12 69 4d TrueColor 32 0 y . . . 8 8 8 8 16 8 0 16 16 16 16 0 0 y y . . . 0 *
[ 24789.953] 13 6a 4e TrueColor 32 0 y . y copy . 8 8 8 8 32 8 0 16 16 16 16 0 0 y . . . . 0 *
[ 24789.953] 14 6b 4f TrueColor 32 0 y . y copy . 8 8 8 8 16 8 0 16 16 16 16 0 0 y . . . . 0 *
[ 24789.953] 19 0 50 TrueColor 24 0 y . . . 8 8 8 0 32 8 0 16 16 16 0 0 0 . y . . . 0 *
[ 24789.953] 20 0 51 TrueColor 24 0 y . . . 8 8 8 0 16 8 0 16 16 16 0 0 0 . y . . . 0 *
[ 24789.953] 21 0 52 TrueColor 24 0 y . . . 8 8 8 8 32 8 0 16 16 16 16 0 0 . y . . . 0 *
[ 24789.953] 22 0 53 TrueColor 24 0 y . . . 8 8 8 8 16 8 0 16 16 16 16 0 0 . y . . . 0 *
[ 24789.953] 25 0 54 TrueColor 16 0 y . . . 5 5 5 0 32 8 0 11 11 10 0 0 0 . y . . . 0 *
[ 24789.953] 26 0 55 TrueColor 16 0 y . . . 5 5 5 0 16 8 0 11 11 10 0 0 0 . y . . . 0 *
[ 24789.953] 27 0 56 TrueColor 16 0 y . . . 5 5 5 8 32 8 0 8 8 8 8 0 0 . y . . . 0 *
[ 24789.953] 28 0 57 TrueColor 16 0 y . . . 5 5 5 8 16 8 0 8 8 8 8 0 0 . y . . . 0 *
[ 24789.953] 31 0 58 TrueColor 8 0 y . . . 3 3 2 0 32 8 0 11 11 10 0 0 0 . y . . . 0 *
[ 24789.953] 32 0 59 TrueColor 8 0 y . . . 3 3 2 0 16 8 0 11 11 10 0 0 0 . y . . . 0 *
[ 24789.953] 33 0 5a TrueColor 8 0 y . . . 3 3 2 8 32 8 0 8 8 8 8 0 0 . y . . . 0 *
[ 24789.953] 34 0 5b TrueColor 8 0 y . . . 3 3 2 8 16 8 0 8 8 8 8 0 0 . y . . . 0 *
[ 24789.953] 37 0 5c TrueColor 4 0 y . . . 1 1 1 0 32 8 0 5 6 5 0 0 0 . y . . . 0 *
[ 24789.953] 38 0 5d TrueColor 4 0 y . . . 1 1 1 0 16 8 0 5 6 5 0 0 0 . y . . . 0 *
[ 24789.953] 39 0 5e TrueColor 4 0 y . . . 1 1 1 8 32 8 0 4 4 4 4 0 0 . y . . . 0 *
[ 24789.953] 40 0 5f TrueColor 4 0 y . . . 1 1 1 8 16 8 0 4 4 4 4 0 0 . y . . . 0 *
[ 24789.953] (II) GLX: Initialized Win32 native WGL GL provider for screen 0
[ 24789.968] [dix] Could not init font path element /usr/share/fonts/TTF/, removing from list!
[ 24789.968] [dix] Could not init font path element /usr/share/fonts/OTF/, removing from list!
[ 24790.078] winPointerWarpCursor - Discarding first warp: 512 384
[ 24790.078] (--) 3 mouse buttons found
[ 24790.078] (--) Setting autorepeat to delay=500, rate=31
[ 24790.078] (--) Windows keyboard layout: "00000409" (00000409) "US", type 4
[ 24790.078] (--) Found matching XKB configuration "English (USA)"
[ 24790.078] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[ 24790.078] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[ 24790.078] winBlockHandler - pthread_mutex_unlock()
[ 24790.078] winInitMultiWindowWM - pthread_mutex_lock () returned.
[ 24790.078] winInitMultiWindowWM - pthread_mutex_unlock () returned.
[ 24790.078] winMultiWindowXMsgProc - pthread_mutex_lock () returned.
[ 24790.078] winInitMultiWindowWM - DISPLAY=:0.0
[ 24790.078] winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
[ 24790.078] winProcEstablishConnection - winInitClipboard returned.
[ 24790.078] winMultiWindowXMsgProc - DISPLAY=:0.0
[ 24790.078] winClipboardProc - DISPLAY=:0.0
[ 24790.078] winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
[ 24790.078] winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
[ 24790.078] winClipboardProc - XOpenDisplay () returned and successfully opened the display.
[-- Attachment #4: Type: text/plain, Size: 223 bytes --]
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-04-26 18:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 18:45 xlogo crashes XWin with Fatal Error (Segmentation Fault) George Barrick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).