Debug check failed: function->shared().HasFeedbackMetadata()

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.

Debug check failed: function->shared().HasFeedbackMetadata()

Postby robs » Fri May 01, 2020 3:53 pm

Anyone have a clue for me? Google doesn't seem to know about this and looking at the code I can't imagine what's wrong.

I'm getting a crash (DCHECK) in the helper process (see pasted below). I'm on macOS with CEF3.80.1.2.

I have a JS extension registered in my render process via OnWebKitInitialized. The V8 code is repeatedly calling a function on my extension which sends a message to the browser process. This causes the below crash after the message has been sent 4642 times. Why 4642? Nice clue, but I have no idea.

In case it's helpful, also pasted below is what my handler is doing.

Thanks for any suggestions!

Code: Select all
      CefRefPtr<CefV8Context> context = CefV8Context::GetCurrentContext();
      if (context.get()) {
         CefRefPtr<CefFrame> frame = context->GetFrame();
         CefRefPtr<CefProcessMessage> message = CefProcessMessage::Create("browser_process_call");
         
         CefRefPtr<CefListValue> args = message->GetArgumentList();
         args->SetSize(v8args.size());
         unsigned int i;
         for (i=0; i < v8args.size(); i++) {
            args->SetValue(i, CefV8ValueToCefValue(v8args[i]));
         }
         frame->SendProcessMessage(PID_BROWSER, message);
      }


Code: Select all
#
# Fatal error in ../../v8/src/objects/js-objects.cc, line 4984
# Debug check failed: function->shared().HasFeedbackMetadata().
#
#
#
#FailureMessage Object: 0x7ffeefbf9da00   Chromium Embedded Framework         0x0000000114158e89 cef_time_delta + 3219065
1   Chromium Embedded Framework         0x0000000114063213 cef_time_delta + 2212355
2   Chromium Embedded Framework         0x00000001183a74db cef_time_delta + 72746187
3   Chromium Embedded Framework         0x000000011404ce16 cef_time_delta + 2121222
4   Chromium Embedded Framework         0x000000011404c995 cef_time_delta + 2120069
5   Chromium Embedded Framework         0x00000001106a1e55 cef_zip_reader_create + 5963237
6   Chromium Embedded Framework         0x0000000110275b5b cef_zip_reader_create + 1587947
7   Chromium Embedded Framework         0x00000001108a02fc cef_zip_reader_create + 8053388
8   Chromium Embedded Framework         0x000000011120a41f cef_zip_reader_create + 17925039
9   Chromium Embedded Framework         0x0000000110fbdb6c cef_zip_reader_create + 15514364
10  ???                                 0x00000023000856ba 0x0 + 150324401850
2020-05-01 16:28:51.279592-0400 Max[62987:28288539] CEF Helper crashed
robs
Mentor
 
Posts: 70
Joined: Wed Jun 05, 2013 2:22 pm

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 46 guests