Describe the Issue
After updating to 1.112.1 (the version after 1.111.2), CTRL + C hangs for a time rather than causing koboldcpp to exit immediately. Before, this did not happen as SIGINT (CTRL + C) was handled correctly. It is probably related to how koboldcpp handles SIGINT. This regression is still present in koboldcpp 1.113, the latest version. Note that this is primarily regarding CLI usage of koboldcpp, I am unsure if this is present with the GUI, but it probably is.
Reproducing
To reproduce, simply start koboldcpp, for example, koboldcpp --contextsize 24576 --threads 32 --gpulayers 43 --usehipblas -fa --smartcache 3 --model <modelpathhere> . Wait until it is finished setting up. Then try to CTRL + C. It will hang for a seemingly random amount of time, anywhere from 2 seconds to more than a dozen. Expected result is to exit immediately, like in 1.111.2.
For example, please see this image:

Please note that the model used does not affect whether this happens, it always happens.
More Info
This regression affects koboldcpp versions 1.112, 1.112.1, 1.112.2, 1.113. During the hang, cpu usage rises to around 2-3% until it finally segfaults. I am not sure why. Relevant sudo dmesg entry:
[42276.486523] python3[6199]: segfault at 1 ip 00007f8f47efb7b0 sp 00007ffe691a03a0 error 4 in koboldcpp_hipblas.so[40fa7b0,7f8f47a06000+13ec000] likely on CPU 0 (core 0, socket 0) [42276.486531] Code: ee 00 48 8b 7d 28 48 8d 45 38 48 39 c7 74 0d 48 8b 45 38 48 8d 70 01 e8 1e 1d ee 00 4c 8b 65 10 48 8b 5d 08 49 39 dc 74 27 90 <48> 8b 3b 48 8d 43 10 48 39 c7 74 0d 48 8b 43 10 48 8d 70 01 e8 f7
System Information:
Operating System: EndeavourOS (Arch Linux)
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
Kernel Version: 7.0.8-1-cachyos (64-bit) (this bug also happens on the regular linux kernel)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 9950X 16-Core Processor
Memory: 32 GiB of RAM (30.9 GiB usable)
Graphics Processor: AMD Radeon RX 7900 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X870 AORUS ELITE WIFI7
Describe the Issue
After updating to 1.112.1 (the version after 1.111.2), CTRL + C hangs for a time rather than causing koboldcpp to exit immediately. Before, this did not happen as SIGINT (CTRL + C) was handled correctly. It is probably related to how koboldcpp handles SIGINT. This regression is still present in koboldcpp 1.113, the latest version. Note that this is primarily regarding CLI usage of koboldcpp, I am unsure if this is present with the GUI, but it probably is.
Reproducing

To reproduce, simply start koboldcpp, for example,
koboldcpp --contextsize 24576 --threads 32 --gpulayers 43 --usehipblas -fa --smartcache 3 --model <modelpathhere>. Wait until it is finished setting up. Then try to CTRL + C. It will hang for a seemingly random amount of time, anywhere from 2 seconds to more than a dozen. Expected result is to exit immediately, like in 1.111.2.For example, please see this image:
Please note that the model used does not affect whether this happens, it always happens.
More Info
This regression affects koboldcpp versions 1.112, 1.112.1, 1.112.2, 1.113. During the hang, cpu usage rises to around 2-3% until it finally segfaults. I am not sure why. Relevant
sudo dmesgentry:[42276.486523] python3[6199]: segfault at 1 ip 00007f8f47efb7b0 sp 00007ffe691a03a0 error 4 in koboldcpp_hipblas.so[40fa7b0,7f8f47a06000+13ec000] likely on CPU 0 (core 0, socket 0) [42276.486531] Code: ee 00 48 8b 7d 28 48 8d 45 38 48 39 c7 74 0d 48 8b 45 38 48 8d 70 01 e8 1e 1d ee 00 4c 8b 65 10 48 8b 5d 08 49 39 dc 74 27 90 <48> 8b 3b 48 8d 43 10 48 39 c7 74 0d 48 8b 43 10 48 8d 70 01 e8 f7System Information:
Operating System: EndeavourOS (Arch Linux)
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
Kernel Version: 7.0.8-1-cachyos (64-bit) (this bug also happens on the regular linux kernel)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 9950X 16-Core Processor
Memory: 32 GiB of RAM (30.9 GiB usable)
Graphics Processor: AMD Radeon RX 7900 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X870 AORUS ELITE WIFI7