FATAL:request_impl.cc(1382)] Check failed: false.

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

FATAL:request_impl.cc(1382)] Check failed: false.

Postby senya » Mon Jun 22, 2020 1:12 pm

Hello.
Sometimes an error occurs inside the chromium - I can’t imagine why this happens. Maybe someone here will give a hint.
In the process of loading some web pages using managed requests.
For example: https://instagram.com/

FATAL: request_impl.cc (1382)] Check failed: false.

CEF Version: 3865

Code snippet:
Code: Select all
void CefPostDataElementImpl::Set(const network::DataElement& element) {
  {
    base::AutoLock lock_scope(lock_);
    CHECK_READONLY_RETURN_VOID();
  }

  if (element.type() == network::mojom::DataElementType::kBytes) {
    SetToBytes(element.length(), element.bytes());
  } else if (element.type() == network::mojom::DataElementType::kFile) {
    SetToFile(element.path().value());
  } else {
    NOTREACHED();
  }
}


https://bitbucket.org/chromiumembedded/cef/src/3865/libcef/common/request_impl.cc

OS: lubuntu linux 2019

In the corresponding cefsimple application, I could not repeat the error.

Thank you.
Sergey, developer from Moscow region.
It's hot here today
https://docs.zoho.eu/file/40henad156481 ... 29fb3a8ebe
senya
Mentor
 
Posts: 54
Joined: Mon Sep 18, 2017 2:58 pm

Re: FATAL:request_impl.cc(1382)] Check failed: false.

Postby magreenblatt » Mon Jun 22, 2020 1:17 pm

magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: FATAL:request_impl.cc(1382)] Check failed: false.

Postby senya » Wed Jul 01, 2020 2:33 pm

Hello.
I upgraded the CEF version to 83.4.0+gfd6631b+chromium-83.0.4103.106.

Now, under the same circumstances, the error crashes in the "Get" function.
FATAL:request_impl.cc(1291)] Check failed: false.
https://bitbucket.org/chromiumembedded/cef/src/4103/libcef/common/request_impl.cc

Code: Select all
void CefPostDataElementImpl::Get(network::ResourceRequestBody& body) const {
  base::AutoLock lock_scope(lock_);

  if (type_ == PDE_TYPE_BYTES) {
    body.AppendBytes(static_cast<char*>(data_.bytes.bytes), data_.bytes.size);
  } else if (type_ == PDE_TYPE_FILE) {
    base::FilePath path = base::FilePath(CefString(&data_.filename));
    body.AppendFileRange(path, 0, std::numeric_limits<uint64_t>::max(),
                         base::Time());
  } else {
    NOTREACHED();
  }
}
Sergey, developer from Moscow region.
It's hot here today
https://docs.zoho.eu/file/40henad156481 ... 29fb3a8ebe
senya
Mentor
 
Posts: 54
Joined: Mon Sep 18, 2017 2:58 pm

Re: FATAL:request_impl.cc(1382)] Check failed: false.

Postby magreenblatt » Wed Jul 01, 2020 6:16 pm

Please add a new bug with reproduction steps.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot], sirheroics and 31 guests