Skip to content

gcdwebserver EXC_BAD_ACCESS KERN_INVALID_ADDRESS #613

Open
@openm1nd

Description

@openm1nd

Describe the bug

      Crashed: org.readium.swift-toolkit.adapter.gcdwebserver

0 libsystem_platform.dylib 0x3224 platform_memmove + 52
1 libxml2.2.dylib 0x17034 xmlBufAdd + 212
2 libxml2.2.dylib 0x5e78 xmlParserInputBufferCreateMem + 84
3 libxml2.2.dylib 0x5c04 xmlCreateMemoryParserCtxt + 68
4 libxml2.2.dylib 0x5a80 xmlReadMemory + 56
5 Fuzi 0x4b24 $s4Fuzi11XMLDocumentC6cCharsACSays4Int8VG_tKcfC + 56
6 Fuzi 0x49c8 $s4Fuzi11XMLDocumentC6string8encodingACSS_SS10FoundationE8EncodingVtKcfC + 104
7 R2Shared 0x522d0 $s8R2Shared15FuziXMLDocumentC6string10namespacesACSS_SaySS6prefix_SS3uritGtKcfc + 172
8 R2Shared 0x9ec88 $s8R2Shared23MediaTypeSnifferContextC12contentAsXMLAA11XMLDocument_pSgvg + 196
9 R2Shared 0x991a4 $s8R2Shared9MediaTypeV9sniffHTML33_53707371A60995DE68E85894ECD2405FLL7contextACSgAA0cD14SnifferContextC_tFZ + 232
10 R2Shared 0x98738 $s8R2Shared9MediaTypeV2of33_53707371A60995DE68E85894ECD2405FLL7content10mediaTypes14fileExtensions8sniffersACSgAA0cD14SnifferContent_pSg_SaySSGAMSayAjA0cdP7ContextCcGtFZ + 1076
11 R2Shared 0x98b18 $s8R2Shared9MediaTypeV2of_10mediaTypes14fileExtensions8sniffersACSg10Foundation3URLV_SaySSGALSayAhA0cD14SnifferContextCcGtFZ + 416
12 R2Shared 0x6e284 $s8R2Shared10HTTPServerPAAE5serve2at10contentsOf10Foundation3URLVSS_AItKFAA8Resource_pAA0C7RequestVcfU
+ 528
13 ReadiumAdapterGCDWebServer 0x5850 $s26ReadiumAdapterGCDWebServer13GCDHTTPServerC16responseResource33_5C614E9724E6D27BB2546EBAA9D8E87CLL3for10completionySo0cD7RequestC_y8R2Shared0G0_pctFyyYbcfU0_ + 1736
14 ReadiumAdapterGCDWebServer 0x5178 $sIegh_IeyBh_TR + 28
15 libdispatch.dylib 0x61c9c _dispatch_call_block_and_release + 24
16 libdispatch.dylib 0x62cc0 _dispatch_client_callout + 16
17 libdispatch.dylib 0x6974 _dispatch_continuation_pop$VARIANT$mp + 536
18 libdispatch.dylib 0x6064 _dispatch_async_redirect_invoke + 644
19 libdispatch.dylib 0x13450 _dispatch_root_queue_drain + 336
20 libdispatch.dylib 0x13c3c _dispatch_worker_thread2 + 164
21 libsystem_pthread.dylib 0x34f8 _pthread_wqthread + 224
22 libsystem_pthread.dylib 0xccc start_wqthread + 8

Image

Image

How to reproduce?

Issue occurs on opening a book, randomly. Does not depend on which device you use

Readium version

ReadiumAdapterGCDWebServer (2.6.1)

OS version

17

Testing device

any

Environment

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions