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

Parser crashlogs crashes "Unexpected line" #113

Closed
ancailliau opened this issue Oct 24, 2024 · 1 comment
Closed

Parser crashlogs crashes "Unexpected line" #113

ancailliau opened this issue Oct 24, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ancailliau
Copy link

ancailliau commented Oct 24, 2024

Bug with iOS 18.0.1

Parser 'crashlogs' for case ID '1'
[WARNING] [crashlogs] Skipping file due to error ./cases/1/data/[REDACTED]/crashes_and_spins/SpringBoard.diskwrites_resource-2024-10-24-022224.ips
Traceback (most recent call last):
  File "/Users/[redacted]/Projects/hacklu2024/sysdiagnose/sysdiagnose/src/sysdiagnose/parsers/crashlogs.py", line 55, in execute
    ips = CrashLogsParser.parse_ips_file(file)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/[redacted]/Projects/hacklu2024/sysdiagnose/sysdiagnose/src/sysdiagnose/parsers/crashlogs.py", line 119, in parse_ips_file
    raise Exception(f"Parser bug: Unexpected line in crashlogs at line {n}. Line: {line}")
Exception: Parser bug: Unexpected line in crashlogs at line 91. Line: 38  ??? (libsystem_pthread.dylib + 5256) [0x210c8c488]
@cvandeplas cvandeplas added the bug Something isn't working label Oct 25, 2024
@cvandeplas cvandeplas self-assigned this Nov 5, 2024
@cvandeplas
Copy link
Contributor

I've looked further at this and fortunately also have a file that has this behaviour.
Unfortunately I realise the parsing is much more complex than originally thought.

It's also a reminder that I should run test cases more often on my larger dataset...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants