Skip to content

Crash v1.0.0-beta.8 "Result::unwrap() called from outside thread: Any { .. }" #774

@acedward

Description

@acedward

Crashes on v1.0.0-beta.8
Works on 0.19.0 - 0.32.0

Dolos crashes when a simple transaction to send some lovelace from wallet a to b.

2025-10-29T04:21:04.984720Z  WARN gasket::daemon: pipeline ended or stalled
2025-10-29T04:21:04.984728Z DEBUG dolos::common: pipeline should stop
2025-10-29T04:21:04.984733Z DEBUG dolos::common: shutting down pipeline
2025-10-29T04:21:04.984734Z  INFO gasket::daemon: dismissing stage stage="pull" state=Dropped
2025-10-29T04:21:04.984736Z DEBUG gasket::daemon: stage already dismissed
2025-10-29T04:21:04.984737Z  INFO gasket::daemon: dismissing stage stage="apply" state=Dropped
2025-10-29T04:21:04.984738Z DEBUG gasket::daemon: stage already dismissed
2025-10-29T04:21:04.984739Z  INFO gasket::daemon: dismissing stage stage="submit" state=Alive(Working)
cancelling stage

thread 'tokio-runtime-worker' panicked at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gasket-0.9.0/src/runtime.rs:368:14:
called from outside thread: Any { .. }
2025-10-29T04:21:04.984745Z  INFO gasket::daemon: waiting for stages to end
2025-10-29T04:21:04.984767Z  INFO stage{stage="submit"}: gasket::runtime: stage dismissed
2025-10-29T04:21:04.984775Z DEBUG stage{stage="submit"}: gasket::runtime: switching stage phase prev_phase=Working next_phase=Teardown
2025-10-29T04:21:04.984784Z  INFO stage{stage="submit"}: gasket::runtime: stage teardown ok
2025-10-29T04:21:04.984786Z DEBUG stage{stage="submit"}: gasket::runtime: switching stage phase prev_phase=Teardown next_phase=Ended
2025-10-29T04:21:04.984794Z  WARN run: dolos::relay: exit requested
2025-10-29T04:21:04.984794Z  WARN run: dolos::serve::o7s_unix: exit requested
2025-10-29T04:21:04.984804Z DEBUG run: dolos::serve::o7s_unix: removing socket file
2025-10-29T04:21:04.984800Z DEBUG run: dolos::relay: closing task manger
2025-10-29T04:21:04.984808Z DEBUG run: dolos::relay: waiting for tasks to finish
2025-10-29T04:21:04.984810Z  INFO run: dolos::relay: graceful shutdown finished
2025-10-29T04:21:04.984881Z DEBUG run: dolos::serve::o7s_unix: closing task manger
2025-10-29T04:21:04.984883Z DEBUG run: dolos::serve::o7s_unix: waiting for tasks to finish
2025-10-29T04:21:04.984884Z  INFO run: dolos::serve::o7s_unix: graceful shutdown finished

thread 'main' panicked at src/bin/dolos/daemon.rs:44:16:
called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(18), "called from outside thread: Any { .. }", ...)
01:21:04 INFO   orchestrator-: Process dolos (13772) finished.

Example partial script to send a simple transaction used to generate the crash:

# 2. Build the final, balanced transaction (CLI calculates fee and change)
$CARDANO_CLI conway transaction build \
  --testnet-magic ${NETWORK_MAGIC} \
  --tx-in "${TX_IN}" \
  --tx-out "${RECEIVER_ADDRESS}+${TX_AMOUNT}" \
  --change-address "${SENDER_ADDRESS}" \
  --out-file "${TX_DRAFT}"
echo "Transaction draft created at ${TX_DRAFT}"

# 3. Sign the transaction
echo -e "\nStep 3: Signing the transaction..."
$CARDANO_CLI conway transaction sign \
  --tx-body-file "${TX_DRAFT}" \
  --signing-key-file "${SENDER_SKEY_FILE}" \
  --testnet-magic ${NETWORK_MAGIC} \
  --out-file "${TX_SIGNED}"
echo "Transaction signed and saved at ${TX_SIGNED}"

# 4. Submit the transaction
echo -e "\nStep 4: Submitting the transaction..."
$CARDANO_CLI conway transaction submit \
  --tx-file "${TX_SIGNED}" \
  --testnet-magic ${NETWORK_MAGIC}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions