quant.cpp icon indicating copy to clipboard operation
quant.cpp copied to clipboard

quantcpp serve crashes with SIGABRT on port conflict instead of graceful error

Open unamedkr opened this issue 7 months ago • 1 comments

Description

When the requested port is already in use, quantcpp serve crashes with SIGABRT (exit code -6) instead of showing a user-friendly error message.

Steps to Reproduce

# Start first server
quantcpp serve smollm2:135m --port 8080 &

# Start second on same port
quantcpp serve smollm2:135m --port 8080
# → Process crashes with SIGABRT, no error message

Expected

Error: port 8080 is already in use. Try a different port with --port.

Environment

  • quantcpp 0.12.1 (PyPI), macOS 15

Reported by ClawTeam Claw-1 (Quickstart persona) — Round 2

unamedkr avatar Apr 12 '26 06:04 unamedkr

Fixed in PR #76 (merged to main). Port conflict now shows friendly error instead of SIGABRT.

unamedkr avatar Apr 12 '26 07:04 unamedkr