2015-08-10 11 views
17

Das ist keine Frage, weil ich bereits eine Abhilfe gefunden habe. Ich veröffentliche es, damit andere die Stunden, die ich dafür ausgegeben habe, nutzen und meine vorgeschlagene Problemumgehung nutzen können.iOS9: doppelte Zeilen in Absturzberichten verursachen, dass symbolicatecrash stecken bleibt

Ich habe einige seltsame Absturzberichte bekam - eine einzige Zeile oft dupliziert wurde:

... 
0x190e08000 -  0x190e49fff Notes arm64 <f45c09ce977b3282ab0e879252dfebee> /System/Library/PrivateFrameworks/Notes.framework/Notes 
0x190f9c000 -  0x190fa6fff NotificationsUI arm64 <73dcb247ed183ce7bb330d7bb55f93bd> /System/Library/PrivateFrameworks/NotificationsUI.framework/NotificationsUI 
0x190fa8000 -  0x190faafff OAuth arm64 <c2658cb3208b342dbe1e91cea30ebdd5> /System/Library/PrivateFrameworks/OAuth.framework/OAuth 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x191900000 -  0x191903fff ParsecSubscriptionServiceSupport arm64 <c70467637c9332c7b0be897200c9ccb1> /System/Library/PrivateFrameworks/ParsecSubscriptionServiceSupport.framework/ParsecSubscriptionServiceSupport 
0x1919c8000 -  0x1919ebfff Pegasus arm64 <82f60f2d5ad73b5fa89d283a4e992e88> /System/Library/PrivateFrameworks/Pegasus.framework/Pegasus 
0x191a30000 -  0x191a57fff PersistentConnection arm64 <8d0b7602daee3aa588c37704a6e3a206> /System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection 
... 

es die symbolicatecrash (Perl) Skript stecken bleiben verursacht. Der Grund ist, dass das Skript ursprünglich dazu gedacht war, ähnliche Einträge zu verketten, vorausgesetzt, sie haben eine andere Basisadresse. Allerdings wurde dieser Code funktioniert nicht, weil es einen Fehler hat:

# add ourselves to that chain 
$images{$nextIDKey}{nextID} = $image{base}; 

# and store under the key we just recorded 
$bundlename = $bundlename . $image{base}; 

Der Fehler ist, dass die erste Zeile eigentlich sein sollte:

$images{$nextIDKey}{nextID} = $bundlename . $image{base}; 

aber ich schlage eine Abhilfe das wird Ignoriere diese duplizierten Zeilen, indem du einen next Befehl ein bisschen über diesem Code hinzufügst, dh

Dies ist keine saubere Lösung, da hier ein gewisser Schutz fehlt, aber zumindest wird es in den meisten Fällen funktionieren.

Auf jeden Fall hoffen, dass Apple diese Duplikate bald entfernen.

+1

Ich wähle diese Frage als Wegthema zu schließen, weil Es ist ein Fehlerbericht, keine Frage. – Kreiri

+3

Hallo @Kreiri, ich weiß. Ich könnte die Frage stellen, warum es feststeckt, und dann mit einer Lösung zurückkommen. Oder ich könnte einfach nicht das Ergebnis einer 2-tägigen Arbeit teilen, die anderen große Kopfschmerzen ersparen könnte ... – ishahak

+0

Vielen Dank für das Teilen, es war wirklich nützlich für mich. Ich stimme jedoch mit Kreiri überein, das ist eine Antwort, keine Frage. Es wäre besser strukturiert, die Frage zu stellen, und dann eine separate Antwort einzureichen (und auf diese Weise könnte ich Ihnen eine gute Frage und eine gute Antwort geben!) –

Antwort

5

Sie können den folgenden Shell-Skript verwenden, die symbolicatecrash zu beheben wird Patch:

curl -o /tmp/t.patch https://raw.githubusercontent.com/zqxiaojin/OptSymbolicatecrash/master/fix_dead_loop.patch && cd `xcode-select -p`/../SharedFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/ && sudo patch symbolicatecrash /tmp/t.patch && cd - 

Oder kopieren Sie die symbolicatecrash von meinem GitHub https://github.com/zqxiaojin/OptSymbolicatecrash

+0

Gibt einen Bash-Berechtigungsfehler, wenn er von github kopiert und vom Terminal aus ausgeführt wird –

+0

sh: /Volumes/40gb/Applications/Xcode.app/Contents/Developer/usr/bin/ xcrun: Keine solche Datei oder Verzeichnis ## Warnung: kann das Tool namens "otool" im ipados SDK nicht finden, fällt zurück auf die Suche im iOS SDK sh: /Volumes/40gb/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun: Keine solche Datei oder kein solches Verzeichnis ## Warnung: Das Tool namens 'otool' kann im iOS SDK nicht gefunden werden. Zurück zur Suche des Mac OS X SDKs sh:/Volumes/40gb/Anwendungen/Xcode .app/Contents/Entwickler/usr/bin/xcrun: Keine solche Datei oder kein Verzeichnis ... –

+0

curl -o /tmp/t.patch https://raw.githubusercontent.com/zqxiaojin/OptSymbolicate crash/master/fix_dead_loop.patch && cd 'xcode-wählen -p' /../ SharedFrameworks/DTDeviceKitBase.framework/Versionen/A/Ressourcen/& sudo patch symbolicatecrash/tmp/t.Patch && cd - % Gesamt% Empfangen% Xferd Durchschnittliche Geschwindigkeit Zeit Zeit Zeit Aktuell Dload Hochladen Verbleibende Gesamtgeschwindigkeit 100 1087 100 1087 0 0 4462 0 -: -: - -: -: - - -: -: - 4473 Passwort: Patch: **** Datei kann nicht gefunden werden symbolicatecrash: Keine solche Datei oder Verzeichnis –

Verwandte Themen