Cronet crashes on iOS

35 views
Skip to first unread message

ctrlCV coder

unread,
Mar 5, 2023, 2:19:35 PM3/5/23
to Chromium-discuss
hi guys,

There is a crash of iOS Cronet which is encountered randomly from users, 

Here is part of the stack trace that desymbolised  and formatted a bit.


Crashed: ThreadPoolForegroundWorker
0 Cronet Line info: file 'crc32.c', line 337, column 9, start file 'crc32.c', start line 320
buf4 = (const z_crc_t FAR *)(const void FAR *)buf;
while (len >= 32) {
DOLIT32; <- here
len -= 32;
}
1 Cronet Line info: file 'simple_util.cc', line 124, column 3, start file 'simple_util.cc', start line 123
uint32_t IncrementalCrc32(uint32_t previous_crc, const char* data, int length) {
return crc32(previous_crc, reinterpret_cast<const Bytef*>(data), length); <- here
}
2 Cronet Line info: file 'simple_synchronous_entry.cc', line 660, column 37, start file 'simple_synchronous_entry.cc', start line 561
if (in_entry_op.request_update_crc && buf_len > 0) {
out_write_result->updated_crc32 = simple_util::IncrementalCrc32(
in_entry_op.previous_crc32, in_buf->data(), buf_len); <- here
out_write_result->crc_updated = true;
}
3 Cronet Line info: file 'bind_internal.h', line 779, column 5, start file 'bind_internal.h', start line 768
return InvokeHelper<is_weak_call, R>::MakeItSo(
std::forward<Functor>(functor),
Unwrap(std::get<indices>(std::forward<BoundArgsTuple>(bound)))...,
std::forward<UnboundArgs>(unbound_args)...);

Looks like it happens when caching something to disk, however I don't know how to reproduce that. Is there anyone who has idea about this please?

Any help is appreciated!


Reply all
Reply to author
Forward
0 new messages