My favorites | Sign in
Project Home Downloads Wiki Issues Code Search
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 204034: chromeos-wm SEGV on start in tests, and KVM
2 people starred this issue and may be notified of changes. Back to list
 
Project Member Reported by cmasone@chromium.org, Sep 28, 2011
For this build, this happened reliably.  It hasn't seemed to repro other places yet.

http://chromeos-botmaster.mtv.corp.google.com:8026/builders/TOT%20Pre-Flight%20Queue/builds/5763/steps/VMTest/logs/stdio

According to /var/log/messages:
2011-09-28T11:35:37.205177-07:00 localhost kernel: [    4.204167] chromeos-wm[1066]: segfault at 0 ip 7716e640 sp 7ffab450 error 6 in libX11.so.6.3.0[77149000+133000]

There's no core, for reasons I don't understand.  Here's a ui log for one of these, though:

[0928/113535:2621249:INFO:real_x_connection.cc(128)] Server has randr extension v1.2
[0928/113535:2621348:INFO:real_x_connection.cc(129)] Server has composite extension v0.4
[0928/113535:2621422:INFO:real_x_connection.cc(130)] Server has damage extension v1.1
[0928/113535:2621495:INFO:real_x_connection.cc(131)] Server has xfixes extension v4.0
[0928/113535:2621563:INFO:real_x_connection.cc(132)] Server has sync extension v3.1
[0928/113535:2624140:INFO:real_gl_interface.cc(40)] Supported GLX extensions: GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_multithread_makecurrent GLX_OML_swap_method GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_EXT_texture_from_pixmap GLX_INTEL_swap_event 
[0928/113535:2624179:INFO:real_gl_interface.cc(92)] glXCopySubBufferMESA is un-available: not supported on this device.
[0928/113535:2624200:INFO:real_gl_interface.cc(105)] Chose visual 196
[0928/113535:2699197:INFO:real_gl_interface.cc(192)] Supported GL extensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_multitexture GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_MESA_resize_buffers GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_NV_vertex_program GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fragment_program GL_NV_point_sprite GL_NV_vertex_program1_1 GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_EXT_depth_bounds_test GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_pixel_buffer_object GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_NV_fragment_program_option GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_env_combine GL_EXT_texture_sRGB_decode GL_MESA_texture_array GL_ARB_copy_buffer GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_separate_shader_objects GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_EXT_provoking_vertex GL_ARB_robustness 
[0928/113535:2754312:INFO:real_dbus_interface.cc(30)] Connecting to D-Bus system bus
[0928/113535:2755331:INFO:real_dbus_interface.cc(40)] Connection established
[0928/113535:2755724:INFO:atom_cache.cc(106)] Registering atom 0x4 (ATOM)
[0928/113535:2755744:INFO:atom_cache.cc(106)] Registering atom 0x6 (CARDINAL)
[0928/113535:2755755:INFO:atom_cache.cc(106)] Registering atom 0x122 (_CHROME_GET_SERVER_TIME)
[0928/113535:2755767:INFO:atom_cache.cc(106)] Registering atom 0x123 (_CHROME_FREEZE_UPDATES)
[0928/113535:2755778:INFO:atom_cache.cc(106)] Registering atom 0x124 (_CHROME_LAYOUT_MODE)
[0928/113535:2755788:INFO:atom_cache.cc(106)] Registering atom 0x125 (_CHROME_LOGGED_IN)
[0928/113535:2755799:INFO:atom_cache.cc(106)] Registering atom 0x126 (_CHROME_STATE)
[0928/113535:2755810:INFO:atom_cache.cc(106)] Registering atom 0x127 (_CHROME_STATE_COLLAPSED_PANEL)
[0928/113535:2755821:INFO:atom_cache.cc(106)] Registering atom 0x128 (_CHROME_STATE_STATUS_HIDDEN)
[0928/113535:2755832:INFO:atom_cache.cc(106)] Registering atom 0x129 (_CHROME_STATUS_BOUNDS)
[0928/113535:2755843:INFO:atom_cache.cc(106)] Registering atom 0x121 (_CHROME_VIDEO_TIME)
[0928/113535:2755854:INFO:atom_cache.cc(106)] Registering atom 0x12a (_CHROME_WINDOW_TYPE)
[0928/113535:2755865:INFO:atom_cache.cc(106)] Registering atom 0x12b (_CHROME_WM_MESSAGE)
[0928/113535:2755875:INFO:atom_cache.cc(106)] Registering atom 0x11f (MANAGER)
[0928/113535:2755886:INFO:atom_cache.cc(106)] Registering atom 0x102 (_NET_ACTIVE_WINDOW)
[0928/113535:2755897:INFO:atom_cache.cc(106)] Registering atom 0x12c (_NET_CLIENT_LIST)
[0928/113535:2755908:INFO:atom_cache.cc(106)] Registering atom 0x12d (_NET_CLIENT_LIST_STACKING)
[0928/113535:2755919:INFO:atom_cache.cc(106)] Registering atom 0x103 (_NET_CURRENT_DESKTOP)
[0928/113535:2755944:INFO:atom_cache.cc(106)] Registering atom 0x12e (_NET_DESKTOP_GEOMETRY)
[0928/113535:2755956:INFO:atom_cache.cc(106)] Registering atom 0x12f (_NET_DESKTOP_VIEWPORT)
[0928/113535:2755966:INFO:atom_cache.cc(106)] Registering atom 0x130 (_NET_NUMBER_OF_DESKTOPS)
[0928/113535:2755977:INFO:atom_cache.cc(106)] Registering atom 0x131 (_NET_SUPPORTED)
[0928/113535:2755988:INFO:atom_cache.cc(106)] Registering atom 0x132 (_NET_SUPPORTING_WM_CHECK)
[0928/113535:2755999:INFO:atom_cache.cc(106)] Registering atom 0x106 (_NET_WM_CM_S0)
[0928/113535:2756035:INFO:atom_cache.cc(106)] Registering atom 0x133 (_NET_WM_MOVERESIZE)
[0928/113535:2756047:INFO:atom_cache.cc(106)] Registering atom 0x10a (_NET_WM_NAME)
[0928/113535:2756058:INFO:atom_cache.cc(106)] Registering atom 0x10b (_NET_WM_PID)
[0928/113535:2756068:INFO:atom_cache.cc(106)] Registering atom 0x10c (_NET_WM_PING)
[0928/113535:2756079:INFO:atom_cache.cc(106)] Registering atom 0x10d (_NET_WM_STATE)
[0928/113535:2756090:INFO:atom_cache.cc(106)] Registering atom 0x110 (_NET_WM_STATE_FULLSCREEN)
[0928/113535:2756101:INFO:atom_cache.cc(106)] Registering atom 0x113 (_NET_WM_STATE_MAXIMIZED_HORZ)
[0928/113535:2756111:INFO:atom_cache.cc(106)] Registering atom 0x112 (_NET_WM_STATE_MAXIMIZED_VERT)
[0928/113535:2756122:INFO:atom_cache.cc(106)] Registering atom 0x111 (_NET_WM_STATE_MODAL)
[0928/113535:2756133:INFO:atom_cache.cc(106)] Registering atom 0x117 (_NET_WM_SYNC_REQUEST)
[0928/113535:2756159:INFO:atom_cache.cc(106)] Registering atom 0x118 (_NET_WM_SYNC_REQUEST_COUNTER)
[0928/113535:2756170:INFO:atom_cache.cc(106)] Registering atom 0x11b (_NET_WM_USER_TIME)
[0928/113535:2756181:INFO:atom_cache.cc(106)] Registering atom 0x134 (_NET_WM_WINDOW_OPACITY)
[0928/113535:2756192:INFO:atom_cache.cc(106)] Registering atom 0x119 (_NET_WM_WINDOW_TYPE)
[0928/113535:2756202:INFO:atom_cache.cc(106)] Registering atom 0x135 (_NET_WM_WINDOW_TYPE_COMBO)
[0928/113535:2756213:INFO:atom_cache.cc(106)] Registering atom 0x136 (_NET_WM_WINDOW_TYPE_DROPDOWN_MENU)
[0928/113535:2756224:INFO:atom_cache.cc(106)] Registering atom 0x137 (_NET_WM_WINDOW_TYPE_MENU)
[0928/113535:2756234:INFO:atom_cache.cc(106)] Registering atom 0x138 (_NET_WM_WINDOW_TYPE_POPUP_MENU)
[0928/113535:2756245:INFO:atom_cache.cc(106)] Registering atom 0x139 (_NET_WM_WINDOW_TYPE_TOOLTIP)
[0928/113535:2756256:INFO:atom_cache.cc(106)] Registering atom 0x13a (_NET_WORKAREA)
[0928/113535:2756267:INFO:atom_cache.cc(106)] Registering atom 0x1 (PRIMARY)
[0928/113535:2756277:INFO:atom_cache.cc(106)] Registering atom 0x24 (WM_CLIENT_MACHINE)
[0928/113535:2756288:INFO:atom_cache.cc(106)] Registering atom 0xfd (WM_DELETE_WINDOW)
[0928/113535:2756299:INFO:atom_cache.cc(106)] Registering atom 0x23 (WM_HINTS)
[0928/113535:2756310:INFO:atom_cache.cc(106)] Registering atom 0x27 (WM_NAME)
[0928/113535:2756320:INFO:atom_cache.cc(106)] Registering atom 0x28 (WM_NORMAL_HINTS)
[0928/113535:2756331:INFO:atom_cache.cc(106)] Registering atom 0xff (WM_PROTOCOLS)
[0928/113535:2756342:INFO:atom_cache.cc(106)] Registering atom 0x13b (WM_S0)
[0928/113535:2756353:INFO:atom_cache.cc(106)] Registering atom 0x13c (WM_STATE)
[0928/113535:2756363:INFO:atom_cache.cc(106)] Registering atom 0x100 (WM_TAKE_FOCUS)
[0928/113535:2756374:INFO:atom_cache.cc(106)] Registering atom 0x44 (WM_TRANSIENT_FOR)
[0928/113535:2756398:INFO:window_manager.cc(999)] Created window 0x400007 for registering ourselves as the window manager
[0928/113535:2758099:INFO:wm_ipc.cc(25)] Window manager window is 0x400007
[0928/113535:INFO:session_manager_service.cc(831)] Handling child process exit.
[0928/113535:INFO:session_manager_service.cc(833)]   Exited with signal 11
[0928/113535:ERROR:session_manager_service.cc(856)] Process window-manager-session.sh(884) exited.
Sep 28, 2011
#3 derat@chromium.org
The window manager hasn't been touched in two weeks.  Stephane says that we haven't changed anything on the X side, either.  Looking at lots from a non-crashing machine, this is what would be written to ui.LATEST next:

...
[0928/130324:5276903:INFO:window_manager.cc(999)] Created window 0x400005 for registering ourselves as the window manager
[0928/130324:5279698:INFO:wm_ipc.cc(25)] Window manager window is 0x400005
[0928/130324:5582435:INFO:window_manager.cc(395)] Reparenting stage window 0x400003 into Xcomposite overlay window 0x5b
[0928/130324:5584140:INFO:image_container.cc(182)] Successfully loaded image '/usr/share/chromeos-assets/images/debug_build.png' (73x16, 32 bit(s)/pixel)
[0928/130324:5586708:INFO:window_manager.cc(460)] User isn't logged in
[0928/130324:5587180:INFO:window_manager.cc(484)] Switching to log /var/log/window_manager/chromeos-wm.20110928-130324

As such, I suspect that the crash is happening either in the call to RealXConnection::RedirectSubwindowsForCompositing() (which just calls XCompositeRedirectSubwindows()) or RealXConnection::GetCompositingOverlayWindow() (which calls XCompositeGetOverlayWindow()).
Summary: chromeos-wm SEGV on start in tests
Status: Started
Cc: marcheu@chromium.org
Sep 28, 2011
#4 derat@chromium.org
A Mesa change, http://gerrit.chromium.org/gerrit/8436, went in around the time that this started occurring; it may be tickling an XCB bug.  Dennis reverted it.
Owner: dennisjeffrey@chromium.org
Cc: derat@chromium.org
Sep 28, 2011
#5 marcheu@chromium.org
 Issue 20968  has been merged into this issue.
Cc: cmasone@chromium.org jrbarne...@chromium.org
Sep 28, 2011
#6 keybuk@chromium.org
(No comment was entered for this change.)
Summary: chromeos-wm SEGV on start in tests, and KVM
Cc: keybuk@chromium.org
Sep 28, 2011
#7 keybuk@chromium.org
After the revert, my machines boot again
Oct 5, 2011
#8 derat@chromium.org
(No comment was entered for this change.)
Status: Fixed
Oct 7, 2011
#9 derat@chromium.org
(No comment was entered for this change.)
Status: Verified
Oct 17, 2011
#10 or...@chromium.org
Claiming work for iteration-40
Labels: Iteration-40
Mar 6, 2013
#11 lafo...@google.com
(No comment was entered for this change.)
Labels: OS-Chrome
Mar 9, 2013
#12 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -TreeCloser -Mstone-R16 Hotlist-TreeCloser M-16
Sign in to add a comment

Powered by Google Project Hosting