Help with Check failed: reserved_base_address_. crash

437 views
Skip to first unread message

firman azis

unread,
Apr 6, 2021, 10:32:47 PM4/6/21
to ChromeDriver Users
Hi, I try to use Selenium with Chromedriver, on Centos 8 Stream. Chromium and Chromedriver version is 89.0.4389.82. Selenium raise the exception:

selenium.common.exceptions.SessionNotCreatedException: Message: session not created from tab crashed (Session info: headless chrome=89.0.4389.82)

And below is chromedriver.log, indicating reserved_base_address error.

[1617698512.762][INFO]: Starting ChromeDriver 89.0.4389.82 (8d785cc4e2b89bff35f6a21710215271fb8fd782-refs/branch-heads/4389@{#1433}) on port 56319
[1617698512.762][INFO]: Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
[1617698513.753][INFO]: [184de43cf6dd8f756a3278744445af97] COMMAND InitSession {
   "capabilities": {
      "alwaysMatch": {
         "browserName": "chrome",
         "goog:chromeOptions": {
            "args": [ "--headless", "--shared-memory-path=/tmp", "--enable-logging --v=1" ],
            "binary": "/usr/bin/chromium-browser",
            "excludeSwitches": [ "enable-automation" ],
            "extensions": [  ],
            "useAutomationExtension": false
         },
         "platformName": "any"
      },
      "firstMatch": [ {

      } ]
   },
   "desiredCapabilities": {
      "browserName": "chrome",
      "goog:chromeOptions": {
         "args": [ "--headless", "--shared-memory-path=/tmp", "--enable-logging --v=1" ],
         "binary": "/usr/bin/chromium-browser",
         "excludeSwitches": [ "enable-automation" ],
         "extensions": [  ],
         "useAutomationExtension": false
      },
      "platform": "ANY",
      "version": ""
   }
}
[1617698513.753][WARNING]: Deprecated chrome option is ignored: useAutomationExtension
[1617698513.753][WARNING]: Deprecated chrome option is ignored: useAutomationExtension
[1617698513.753][INFO]: Populating Preferences file: {
   "alternate_error_pages": {
      "enabled": false
   },
   "autofill": {
      "enabled": false
   },
   "browser": {
      "check_default_browser": false
   },
   "distribution": {
      "import_bookmarks": false,
      "import_history": false,
      "import_search_engine": false,
      "make_chrome_default_for_user": false,
      "skip_first_run_ui": true
   },
   "dns_prefetching": {
      "enabled": false
   },
   "profile": {
      "content_settings": {
         "pattern_pairs": {
            "https://*,*": {
               "media-stream": {
                  "audio": "Default",
                  "video": "Default"
               }
            }
         }
      },
      "default_content_setting_values": {
         "geolocation": 1
      },
      "default_content_settings": {
         "geolocation": 1,
         "mouselock": 1,
         "notifications": 1,
         "popups": 1,
         "ppapi-broker": 1
      },
      "password_manager_enabled": false
   },
   "safebrowsing": {
      "enabled": false
   },
   "search": {
      "suggest_enabled": false
   },
   "translate": {
      "enabled": false
   }
}
[1617698513.753][INFO]: Populating Local State file: {
   "background_mode": {
      "enabled": false
   },
   "ssl": {
      "rev_checking": {
         "enabled": false
      }
   }
}
[1617698513.753][INFO]: Launching chrome: /usr/bin/chromium-browser --disable-background-networking --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-blink-features=ShadowDOMV0 --enable-logging --enable-logging --v=1 --headless --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --shared-memory-path=/tmp --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.org.chromium.Chromium.AIxW1i data:,

[1617698513.912][DEBUG]: DevTools HTTP Request: http://localhost:32941/json/version
[1617698513.916][DEBUG]: DevTools HTTP Response: {
   "Browser": "HeadlessChrome/89.0.4389.82",
   "Protocol-Version": "1.3",
   "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/89.0.4389.82 Safari/537.36",
   "V8-Version": "8.9.255.20",
   "WebKit-Version": "537.36 (@8d785cc4e2b89bff35f6a21710215271fb8fd782)",
   "webSocketDebuggerUrl": "ws://localhost:32941/devtools/browser/8509f17e-294d-45c7-88eb-d24e953310b3"
}

[1617698513.916][DEBUG]: DevTools HTTP Request: http://localhost:32941/json/list
[1617698513.928][DEBUG]: DevTools HTTP Response: [ {
   "description": "",
   "devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:32941/devtools/page/6E6E9332F181E4561F4848C2F19C7265",
   "id": "6E6E9332F181E4561F4848C2F19C7265",
   "title": "",
   "type": "page",
   "url": "data:,",
   "webSocketDebuggerUrl": "ws://localhost:32941/devtools/page/6E6E9332F181E4561F4848C2F19C7265"
} ]

[1617698513.928][DEBUG]: DevTools HTTP Request: http://localhost:32941/json/list
[1617698513.936][DEBUG]: DevTools HTTP Response: [ {
   "description": "",
   "devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:32941/devtools/page/6E6E9332F181E4561F4848C2F19C7265",
   "id": "6E6E9332F181E4561F4848C2F19C7265",
   "title": "",
   "type": "page",
   "url": "data:,",
   "webSocketDebuggerUrl": "ws://localhost:32941/devtools/page/6E6E9332F181E4561F4848C2F19C7265"
} ]

[1617698513.936][INFO]: resolved localhost to ["::1","127.0.0.1"]
[1617698513.942][DEBUG]: DevTools WebSocket Command: Page.addScriptToEvaluateOnNewDocument (id=1) 6E6E9332F181E4561F4848C2F19C7265 {
   "source": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_adoQpoasnfa76pfcZLmcfl_Symbol = window.Symbol;}) ();"
}
[1617698513.942][DEBUG]: DevTools WebSocket Command: Runtime.evaluate (id=2) 6E6E9332F181E4561F4848C2F19C7265 {
   "expression": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_adoQpoasnfa76pfcZLmcfl_Symbol = window.Symbol;}) ();"
}
[1617698513.942][DEBUG]: DevTools WebSocket Command: Log.enable (id=3) 6E6E9332F181E4561F4848C2F19C7265 {

}
[1617698513.942][DEBUG]: DevTools WebSocket Command: DOM.getDocument (id=4) 6E6E9332F181E4561F4848C2F19C7265 {

}
[1617698513.942][DEBUG]: DevTools WebSocket Command: Target.setAutoAttach (id=5) 6E6E9332F181E4561F4848C2F19C7265 {
   "autoAttach": true,
   "flatten": true,
   "waitForDebuggerOnStart": false
}
[1617698513.943][DEBUG]: DevTools WebSocket Command: Page.enable (id=6) 6E6E9332F181E4561F4848C2F19C7265 {

}
[1617698513.943][DEBUG]: DevTools WebSocket Command: Browser.setDownloadBehavior (id=7) 6E6E9332F181E4561F4848C2F19C7265 {
   "behavior": "allow",
   "downloadPath": "."
}
[1617698513.943][DEBUG]: DevTools WebSocket Command: Page.enable (id=8) 6E6E9332F181E4561F4848C2F19C7265 {

}
[1617698513.943][DEBUG]: DevTools WebSocket Response: Browser.setDownloadBehavior (id=7) 6E6E9332F181E4561F4848C2F19C7265 {

}
[0406/084153.889420:FATAL:partition_address_space.cc(40)] Check failed: reserved_base_address_. 
#0 0x55c98b8a2f09 base::debug::CollectStackTrace()
#1 0x55c98b80ece6 base::debug::StackTrace::StackTrace()
#2 0x55c98b82087c logging::LogMessage::~LogMessage()
#3 0x55c98b821642 logging::LogMessage::~LogMessage()
#4 0x55c98b90db3f base::internal::PartitionAddressSpace::Init()
#5 0x55c98b8c1cfc base::PartitionRoot<>::Init()
#6 0x55c990650b92 base::internal::PartitionAllocator<>::init()
#7 0x55c98d249bea WTF::Partitions::InitializeOnce()
#8 0x55c98d24a295 WTF::Partitions::Initialize()
#9 0x55c98fd9f6b9 blink::Platform::InitializeBlink()
#10 0x55c9904e647a content::RendererMain()
#11 0x55c98b7cf709 content::RunZygote()
#12 0x55c98b7d04c0 content::ContentMainRunnerImpl::Run()
#13 0x55c98b7cdb7e content::RunContentProcess()
#14 0x55c98b7ce2e2 content::ContentMain()
#15 0x55c98b803556 headless::(anonymous namespace)::RunContentMain()
#16 0x55c98b80365a headless::RunChildProcessIfNeeded()
#17 0x55c98b8037d7 headless::HeadlessShellMain()
#18 0x55c987f83e63 ChromeMain
#19 0x7f5e831b0493 __libc_start_main
#20 0x55c987f83cee _start

Received signal 6
#0 0x55c98b8a2f09 base::debug::CollectStackTrace()
#1 0x55c98b80ece6 base::debug::StackTrace::StackTrace()
#2 0x55c98b8a28aa base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x55c98b8a2e9e base::debug::(anonymous namespace)::StackDumpSignalHandler()
#4 0x7f5e8989db20 (/usr/lib64/libpthread-2.28.so+0x12b1f)
#5 0x7f5e831c437f __GI_raise
#6 0x7f5e831aedb5 __GI_abort
#7 0x55c98b8a2475 base::debug::BreakDebugger()
#8 0x55c98b8210b5 logging::LogMessage::~LogMessage()
#9 0x55c98b821642 logging::LogMessage::~LogMessage()
#10 0x55c98b90db3f base::internal::PartitionAddressSpace::Init()
#11 0x55c98b8c1cfc base::PartitionRoot<>::Init()
#12 0x55c990650b92 base::internal::PartitionAllocator<>::init()
#13 0x55c98d249bea WTF::Partitions::InitializeOnce()
#14 0x55c98d24a295 WTF::Partitions::Initialize()
#15 0x55c98fd9f6b9 blink::Platform::InitializeBlink()
#16 0x55c9904e647a content::RendererMain()
#17 0x55c98b7cf709 content::RunZygote()
#18 0x55c98b7d04c0 content::ContentMainRunnerImpl::Run()
#19 0x55c98b7cdb7e content::RunContentProcess()
#20 0x55c98b7ce2e2 content::ContentMain()
#21 0x55c98b803556 headless::(anonymous namespace)::RunContentMain()
#22 0x55c98b80365a headless::RunChildProcessIfNeeded()
#23 0x55c98b8037d7 headless::HeadlessShellMain()
#24 0x55c987f83e63 ChromeMain
#25 0x7f5e831b0493 __libc_start_main
#26 0x55c987f83cee _start
  r8: 0000000000000000  r9: 00007ffc92cda400 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007ffc92cdb6f0 r13: 00007ffc92cdb720 r14: 00007ffc92cda710 r15: 00007ffc92cdbd40
  di: 0000000000000002  si: 00007ffc92cda400  bp: 00007ffc92cda650  bx: 0000000000000006
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f5e831c437f  sp: 00007ffc92cda400
  ip: 00007f5e831c437f efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[1617698514.181][DEBUG]: DevTools WebSocket Response: Target.setAutoAttach (id=5) 6E6E9332F181E4561F4848C2F19C7265 {

}
[1617698514.181][DEBUG]: DevTools WebSocket Event: Inspector.targetCrashed 6E6E9332F181E4561F4848C2F19C7265 {

}
[1617698514.270][INFO]: [184de43cf6dd8f756a3278744445af97] RESPONSE InitSession ERROR session not created
from tab crashed
  (Session info: headless chrome=89.0.4389.82)
[1617698514.270][DEBUG]: Log type 'driver' lost 2 entries on destruction
[1617698514.270][DEBUG]: Log type 'browser' lost 0 entries on destruction

Any lead on how to solve this?

Best regards,

Firman Azis 

Chris Dell

unread,
Sep 23, 2021, 5:20:23 PM9/23/21
to ChromeDriver Users
Did you figure this out @Firman Azis?
Reply all
Reply to author
Forward
0 new messages