Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

Ctrl-c doesn't work for wallet in ghci #341

Open
Anviking opened this issue Feb 14, 2019 · 0 comments
Open

Ctrl-c doesn't work for wallet in ghci #341

Anviking opened this issue Feb 14, 2019 · 0 comments
Labels
BUG Something isn't working

Comments

@Anviking
Copy link
Member

Release Operating System Cause
next Windows & OSX & Linux) Code v Configuration v Environment v Human v Unknown

Context

I wanted to use ghci for breakpoints.

Steps to Reproduce

stack ghci cardano-wallet --ghc-options=-optl-Wl,-dead_strip_dylibs

When loaded, call :main with normal CLI commands:

:main --configuration-key mainnet_dryrun_full --configuration-file ../cardano-sl/lib/configuration.yaml --db-path ./state-staging/db --wallet-db-path ./state-staging/wallet-db --tls-ca-cert ./state-staging/tls/server/ca.crt --tls-node-client-cert ./state-staging/tls/client/client.crt --tls-node-client-key ./state-staging/tls/client/client.key --tls-wallet-server-cert ./state-staging/tls/server/server.crt --tls-wallet-server-key ./state-staging/tls/server/server.key --topology ./topology-examples/testnet.yaml --system-start 0 --node-id wallet-node --node-api-address 127.0.0.1:8080 --wallet-api-address 127.0.0.1:8090 --wallet-doc-address 127.0.0.1:8100 --rebuild-db --wallet-rebuild-db

Press ctrl-c

Expected behavior

  • Wallet server stops cleanly
  • ghci session stays open

Actual behavior

<interactive>: <stdout>: hFlush: illegal operation (handle is closed)

ghci crashes.


Resolution Plan

PR

Number Base
#? develop

QA

@Anviking Anviking added the BUG Something isn't working label Feb 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
BUG Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant