Skip to main content

symbolicator-server

A symbol server for Apple crash reports. It scans IPSWs into a SQLite database of symbols once, then symbolicates .ips reports (panics, stackshots, crashes) against it, for any device and build it holds.

Requirements

  • Python 3.9 - 3.14
  • On the machine that runs the server:
    • ipsw, which extracts the symbols from IPSWs:

      brew install blacktop/tap/ipsw
      
    • The kernel signatures from blacktop/symbolicator, which ipsw uses to name the functions of the stripped kernel and kexts:

      git clone https://github.com/blacktop/symbolicator.git
      

Install

python3 -m pip install -U symbolicator-server

or

uv tool install symbolicator-server

This installs the client only (scan, symbolicate, stats, version). On the machine that runs the server, install the server extra:

python3 -m pip install -U "symbolicator-server[server]"

Usage

Run the server

symbolicator serve syms.db /PATH/TO/symbolicator/kernel
  • syms.db is the database the symbols are kept in. It is created if it does not exist; --override-db replaces an existing one with a new, empty database.
  • /PATH/TO/symbolicator/kernel is the kernel folder of the symbolicator repository you cloned.
  • --host and --port (default localhost:3993) set where it listens; -v logs every name a scan adds or keeps.

Scan an IPSW

symbolicator scan iPhone17,1_18.2_22C152_Restore.ipsw

✓ 0:00:42 Uploaded: 8.1 / 8.1 GB
⠏ 0:01:22 Loaded: 2,200 images, 4,113,810 symbols

An IPSW that is already loaded is refused; --force loads it again.

Symbolicate a report

symbolicator symbolicate stacks-2026-09-25-201009.ips -p thermalmonitord
[25Sep2026 20:10:09] - Stackshot - iPhone13,4 iPhone OS 26.5.2 (23F84)
Reason: stackshot via sysdiagnose
...
Process: thermalmonitord [66]
  Thread: 1655
    State:          TH_WAIT
    Base Priority:  37
    Sched Priority: 37
    User Time:      1937232 usec
    System Time:    3069104 usec
    User Frames:
      00: libsystem_kernel.dylib  0x2322c1cd4  _mach_msg2_trap + 8
      01: libsystem_kernel.dylib  0x2322c522c  _mach_msg_overwrite + 424
      02: libsystem_kernel.dylib  0x2322c5078  _mach_msg + 24
      03: CoreFoundation          0x18354a344  ___CFRunLoopServiceMachPort + 160
      ...

By default only the panicked process is shown (every process for reports without one). -p NAME shows one process, -a all of them, and --json prints the server's JSON instead.

Database stats

symbolicator stats        # size and rows per table
symbolicator stats -v     # and the loaded IPSWs

Route versions

GET /capabilities tells the MAJOR.MINOR version of each route the server speaks:

{"/capabilities": "1.0", "/version": "1.0", "/scan": "1.0", "/symbolicate": "1.0", "/stats": "1.0", "/dsc": "1.0"}

The version of a route is given where the server declares it, @get("/dsc", "1.0") in symbolicator_server/server.py: a change which older clients cannot take bumps its major, an addition to it bumps its minor. Each client method names the version it is written for, self._require("/dsc", "1.0"), and calls its route only when the server speaks the same major and that minor or a later one. So a client and a server of different releases work together on the routes they share, and an addition to a route cuts off no client. symbolicator version shows the routes of the server.

Symbol lookup API

Route Answers Client method
GET /dsc?device=iPhone17,3&build=23E246 The shared caches of a build: [{uuid, shared_region_start}] (empty if none) find_dscs
GET /dsc/{uuid}/images The images of a shared cache: [{uuid, path, text_start, text_end}] dsc_images
GET /kernelcache?device=iPhone17,3&build=23E246 The kernelcaches of a build: [{uuid, path, kernel_version}] (empty if none), for a report which does not tell its kernelcache. An IPSW holds several; the one a device runs holds the kernel images of the report find_kernelcaches
GET /kernelcache/{uuid}/images The kexts of a kernelcache, the kernel among them: [{uuid, path, text_start, text_end}] kernelcache_images
GET /images/{uuid}/symbols?dsc=UUID or ?kernelcache=UUID The functions of an image: [[start, end, name or null]], at the addresses of its copy in that cache (without either, of a copy that has symbols) image_symbols
from symbolicator_server.client import SymbolicatorClient

client = SymbolicatorClient.connect("http://localhost:3993")
cache = client.find_dscs("iPhone17,3", "23E246")[0]
images = client.dsc_images(cache.uuid)
functions = client.image_symbols(images[0].uuid, dsc=cache.uuid)

The client commands talk to http://localhost:3993 by default; set -s URL or SYMBOLICATOR_SERVER for another server.

Metadata

Release files for symbolicator-server 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for symbolicator-server 0.5.0
File Size Uploaded Provenance Actions
symbolicator_server-0.5.0.tar.gz 34.4 kB Without provenance Details for symbolicator_server-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for symbolicator-server 0.5.0
File Interpreter ABI Platform Actions
symbolicator_server-0.5.0-py3-none-any.whl Python 3 none any Details for symbolicator_server-0.5.0-py3-none-any.whl

Total release size: 70.4 kB

Release files / symbolicator_server-0.5.0.tar.gz

Download URL symbolicator_server-0.5.0.tar.gz
Size 34.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b1df27716fd137dcdb046980fd2b5087bbf7af5a65acf9c35d4710eaf640873d
BLAKE2b-256 checksum
How to use checksums
0d48bc85224b3031998c305ca83eb64988cb553b5eeeb78b4afa4da2597a1404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / symbolicator_server-0.5.0-py3-none-any.whl

Download URL symbolicator_server-0.5.0-py3-none-any.whl
Size 36.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
884f09c3792aa6fb6edd41c477c69b8984ec5e751a8a1f83d46a470ded23c3de
BLAKE2b-256 checksum
How to use checksums
cf0b64f536dd28b49570de3526002b6e936e06cacb86f0bf94e5c96cd19ccc62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for symbolicator-server 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page