Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuleConverter.wrapInDoubleQuotes : crash in the rules converter #34

Closed
ameshkov opened this issue Feb 4, 2022 · 0 comments
Closed

RuleConverter.wrapInDoubleQuotes : crash in the rules converter #34

ameshkov opened this issue Feb 4, 2022 · 0 comments
Assignees
Labels

Comments

@ameshkov
Copy link
Member

ameshkov commented Feb 4, 2022

Here's how it looks like:

Thread 1 Crashed:
0   libswiftCore.dylib              0x336863840         [inlined] <redacted>
1   libswiftCore.dylib              0x336863840         <redacted>
2   libswiftCore.dylib              0x3368635a4         <redacted>
3   libswiftCore.dylib              0x3368633ac         <redacted>
4   libswiftCore.dylib              0x336862ef4         _assertionFailure
5   libswiftCore.dylib              0x336873c68         String.index
6   AdGuardSdkDependencies          0x104dc4f34         [inlined] String.index
7   AdGuardSdkDependencies          0x104dc4f34         String.subString (StringExtension.swift:109)
8   AdGuardSdkDependencies          0x104dbdf00         RuleConverter.wrapInDoubleQuotes (RuleConverter.swift:431)
9   AdGuardSdkDependencies          0x104dbc590         RuleConverter.convertAbpSnippetRule (RuleConverter.swift:198)
10  AdGuardSdkDependencies          0x104dc1024         [inlined] RuleFactory.converter.unsafeMutableAddressor (RuleFactory.swift:9)
11  AdGuardSdkDependencies          0x104dc1024         RuleFactory.createRules (RuleFactory.swift:28)
12  AdGuardSdkDependencies          0x104daf898         ContentBlockerConverter.convertArray (ContentBlockerConverter.swift:81)
13  SafariAdGuardSDK                0x104cf9b0c         [inlined] ContentBlockerConverterWrapper.convertArray (FiltersConverter.swift:55)
14  SafariAdGuardSDK                0x104cf9b0c         FiltersConverter.convert (FiltersConverter.swift:186)
15  SafariAdGuardSDK                0x104cfb514         [inlined] @callee_guaranteed
16  SafariAdGuardSDK                0x104cfb514         @callee_guaranteed
17  SafariAdGuardSDK                0x104cfa3e0         [inlined] _NativeDictionary._values.getter
18  SafariAdGuardSDK                0x104cfa3e0         [inlined] Dictionary.subscript.getter
19  SafariAdGuardSDK                0x104cfa3e0         Dictionary.concurrentMap<T>
20  libswiftDispatch.dylib          0x3614ba7f0         <redacted>
21  libswiftDispatch.dylib          0x3614be3b0         <redacted>
22  libdispatch.dylib               0x32cd09a6c         <redacted>
23  libdispatch.dylib               0x32cd1d1bc         <redacted>
24  libdispatch.dylib               0x32cd09a2c         <redacted>
25  libdispatch.dylib               0x32cd1b280         <redacted>
26  libdispatch.dylib               0x32cd1b96c         <redacted>
27  libsystem_pthread.dylib         0x41114b104         _pthread_wqthread
@ameshkov ameshkov added the bug Something isn't working label Feb 4, 2022
@ameshkov ameshkov changed the title Crash in the rules converter RuleConverter.wrapInDoubleQuotes : crash in the rules converter Feb 4, 2022
@adguard adguard closed this as completed in 6d7f6e5 Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants