Skip to content

Fatal Python error: Segmentation fault #12

@Masqueey

Description

@Masqueey

I think this is again an issue with one of the underlying libraries and not with the app itself, but I encountered this error just now. Let me know who I should report this to and I will.

Recovering key type B, sector 32
[=] Hardnested attack starting...
[=] ---------+---------+---------------------------------------------------------+-----------------+-------
[=]          |         |                                                         | Expected to brute force
[=]  Time    | #nonces | Activity                                                | #states         | time 
[=] ---------+---------+---------------------------------------------------------+-----------------+-------
[=]        0 |       0 | Start using 8 threads                                   |                 |
[=]        0 |       0 | Brute force benchmark: 362 million (2^28,4) keys/s      | 140737488355328 |    5d
[=]        1 |       0 | Using 235 precalculated bitflip state tables            | 140737488355328 |    5d
[=]       11 |     256 | Loading nonces from file                                |     20366032896 |   56s
[=]       19 |     512 | Loading nonces from file                                |     20366032896 |   56s
[=]       22 |     768 | Loading nonces from file                                |     20366032896 |   56s
[=]       24 |    1024 | Loading nonces from file                                |     20366032896 |   56s
[=]       24 |    1280 | Loading nonces from file                                |     20366032896 |   56s
[=]       27 |    1326 | Apply Sum property. Sum(a0) = 128                       |      4428968960 |   12s
[=]       28 |    1327 | Apply bit flip properties                               |      4428968960 |   12s
[=]       28 |    1328 | Apply bit flip properties                               |      4428968960 |   12s
[=]       29 |    1329 | Apply bit flip properties                               |      4428968960 |   12s
[=]       29 |    1329 | (Ignoring Sum(a8) properties)                           |      4428968960 |   12s
Fatal Python error: Segmentation fault

Thread 0x00007f9d99c2d740 (most recent call first):
  File "/home/masqueey/.local/pipx/venvs/flippernested/lib/python3.11/site-packages/FlipperNested/main.py", line 317 in calculate_keys_hard
  File "/home/masqueey/.local/pipx/venvs/flippernested/lib/python3.11/site-packages/FlipperNested/main.py", line 15 in wrapper_hard
  File "/usr/lib/python3.11/multiprocessing/process.py", line 108 in run
  File "/usr/lib/python3.11/multiprocessing/process.py", line 314 in _bootstrap
  File "/usr/lib/python3.11/multiprocessing/popen_fork.py", line 71 in _launch
  File "/usr/lib/python3.11/multiprocessing/popen_fork.py", line 19 in __init__
  File "/usr/lib/python3.11/multiprocessing/context.py", line 281 in _Popen
  File "/usr/lib/python3.11/multiprocessing/context.py", line 224 in _Popen
  File "/usr/lib/python3.11/multiprocessing/process.py", line 121 in start
  File "/home/masqueey/.local/pipx/venvs/flippernested/lib/python3.11/site-packages/FlipperNested/main.py", line 212 in recover_keys
  File "/home/masqueey/.local/pipx/venvs/flippernested/lib/python3.11/site-packages/FlipperNested/main.py", line 171 in extract_nonces_from_flipper
  File "/home/masqueey/.local/pipx/venvs/flippernested/lib/python3.11/site-packages/FlipperNested/main.py", line 44 in run
  File "/home/masqueey/.local/pipx/venvs/flippernested/lib/python3.11/site-packages/FlipperNested/cli.py", line 17 in main
  File "/home/masqueey/.local/bin/FlipperNested", line 8 in <module>

Extension modules: google._upb._message, hardnested (total: 2)
[!!!] Something went VERY wrong in key recovery.
You MUST report this to developer!
[+] Found potential 16 keys, use "Check found keys" in app
[?] Saved keys to F1AC340C.keys

The following zip contains the nonces and thus far found keys: debug.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions