Bug 157730 - www/chromium: x11_util.cc X Error detected (BadAccess (attempt to access private resource denied))
Summary: www/chromium: x11_util.cc X Error detected (BadAccess (attempt to access priv...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-chromium (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 18:20 UTC by Volodymyr Pushkar
Modified: 2011-09-27 18:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volodymyr Pushkar 2011-06-09 18:20:05 UTC
Latest google chromium browser running with followings errors:

[10738:68055040:207345441696:ERROR:x11_util.cc(862)] X Error detected: serial 1148, error_code 10 (BadAccess (attempt to access private resource denied)), request_code 142, minor_code 1 (X_ShmAttach)
[10738:68055040:207345442057:ERROR:x11_util.cc(862)] X Error detected: serial 1149, error_code 159 (BadShmSeg (invalid shared segment parameter)), request_code 142, minor_code 3 (X_ShmPutImage)


and artifacts on screen with sysctl kern.ipc.shm_allow_removed=1 (default value = 0).

Fix: 

set sysctl kern.ipc.shm_allow_removed to 0 (default value)
How-To-Repeat: set: sysctl kern.ipc.shm_allow_removed=1
run google chromium (chrome) compiled from www/chromium
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-06-09 20:05:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->chromium

Fix synopsis and assign.
Comment 2 Alexander Best freebsd_committer freebsd_triage 2011-08-17 12:26:40 UTC
running chromium-13.0.782.112, i cannot confirm the errors. however the
artifacts are still there, when kern.ipc.shm_allow_removed == 1.

with kern.ipc.shm_allow_removed == 0, everything works fine.

cheers.
alex
Comment 3 George Liaskos 2011-09-23 12:07:59 UTC
Hello,

I have resolved this issue, please test Chromium from trunk.
http://trillian.chruetertee.ch/chromium/browser/trunk/chromium

Moreover, Chromium now properly detects X shared memory support.


Regards,
George
Comment 4 dfilter service freebsd_committer freebsd_triage 2011-09-27 18:29:20 UTC
rene        2011-09-27 17:29:06 UTC

  FreeBSD ports repository

  Modified files:
    www/chromium/files   
                         patch-content__renderer__pepper_plugin_delegate_impl.cc 
                         patch-content__renderer__render_process_impl.cc 
  Added files:
    www/chromium/files   
                         patch-content__browser__renderer_host__backing_store_x.cc 
                         patch-ui__base__x__x11_util.cc 
                         patch-ui__gfx__surface__transport_dib_linux.cc 
  Removed files:
    www/chromium/files   
                         patch-content__browser__renderer_host__browser_render_process_host.cc 
                         patch-content__browser__renderer_host__mock_render_process_host.cc 
                         patch-content__browser__renderer_host__render_message_filter.cc 
                         patch-content__browser__renderer_host__render_widget_helper.cc 
                         patch-content__browser__renderer_host__render_widget_helper.h 
                         patch-content__common__common_param_traits.h 
                         patch-content__common__plugin_messages.h 
                         patch-content__common__view_messages.h 
                         patch-content__renderer__render_view.cc 
                         patch-content__renderer__render_view.h 
                         patch-content__renderer__render_widget.cc 
                         patch-content__renderer__webplugin_delegate_proxy.cc 
                         patch-content__renderer__webplugin_delegate_proxy.h 
                         patch-ppapi__proxy__ppb_image_data_proxy.cc 
                         patch-ppapi__proxy__serialized_structs.h 
                         patch-ui__gfx__surface__surface.gyp 
                         patch-ui__gfx__surface__transport_dib.h 
                         patch-ui__gfx__surface__transport_dib_freebsd.cc 
  Log:
  Enable running Chromium with kern.ipc.shm_allow_removed=1 by using SysV IPC
  
  PR:             ports/157730
  Submitted by:   Vladimir I. Pushkar [vladimir.pushkar gmail.com]
  Obtained from:  Chromium Chruetertee repository r227,r228,r229
  
  Revision  Changes    Path
  1.1       +22 -0     ports/www/chromium/files/patch-content__browser__renderer_host__backing_store_x.cc (new)
  1.2       +0 -11     ports/www/chromium/files/patch-content__browser__renderer_host__browser_render_process_host.cc (dead)
  1.2       +0 -11     ports/www/chromium/files/patch-content__browser__renderer_host__mock_render_process_host.cc (dead)
  1.4       +0 -20     ports/www/chromium/files/patch-content__browser__renderer_host__render_message_filter.cc (dead)
  1.2       +0 -20     ports/www/chromium/files/patch-content__browser__renderer_host__render_widget_helper.cc (dead)
  1.2       +0 -29     ports/www/chromium/files/patch-content__browser__renderer_host__render_widget_helper.h (dead)
  1.2       +0 -11     ports/www/chromium/files/patch-content__common__common_param_traits.h (dead)
  1.3       +0 -38     ports/www/chromium/files/patch-content__common__plugin_messages.h (dead)
  1.2       +0 -11     ports/www/chromium/files/patch-content__common__view_messages.h (dead)
  1.2       +8 -26     ports/www/chromium/files/patch-content__renderer__pepper_plugin_delegate_impl.cc
  1.2       +19 -15    ports/www/chromium/files/patch-content__renderer__render_process_impl.cc
  1.2       +0 -29     ports/www/chromium/files/patch-content__renderer__render_view.cc (dead)
  1.4       +0 -29     ports/www/chromium/files/patch-content__renderer__render_view.h (dead)
  1.2       +0 -11     ports/www/chromium/files/patch-content__renderer__render_widget.cc (dead)
  1.3       +0 -26     ports/www/chromium/files/patch-content__renderer__webplugin_delegate_proxy.cc (dead)
  1.3       +0 -20     ports/www/chromium/files/patch-content__renderer__webplugin_delegate_proxy.h (dead)
  1.3       +0 -20     ports/www/chromium/files/patch-ppapi__proxy__ppb_image_data_proxy.cc (dead)
  1.2       +0 -11     ports/www/chromium/files/patch-ppapi__proxy__serialized_structs.h (dead)
  1.1       +19 -0     ports/www/chromium/files/patch-ui__base__x__x11_util.cc (new)
  1.4       +0 -17     ports/www/chromium/files/patch-ui__gfx__surface__surface.gyp (dead)
  1.2       +0 -44     ports/www/chromium/files/patch-ui__gfx__surface__transport_dib.h (dead)
  1.2       +0 -110    ports/www/chromium/files/patch-ui__gfx__surface__transport_dib_freebsd.cc (dead)
  1.1       +28 -0     ports/www/chromium/files/patch-ui__gfx__surface__transport_dib_linux.cc (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Rene Ladan freebsd_committer freebsd_triage 2011-09-27 18:29:23 UTC
State Changed
From-To: open->closed

Committed, thanks