Andy-K-Sparklight / Ari

When will we be able to create the world again? Guess not. Netease is ruining everything.
GNU General Public License v3.0
16 stars 3 forks source link

Program Crashes When No Argument Is Provided #28

Closed CaveNightingale closed 1 year ago

CaveNightingale commented 1 year ago

In the correct version, running AlicornCH with less than 1 arguments lead to SIGSEGV without printing any help message. I don't think it's a good design.

Andy-K-Sparklight commented 1 year ago

On Windows the memory management is not that strict and therefore not able to discover it in the first time. But @litwak913 ran it on Arch Linux for many times without any crashes. TBO I'm quite interested in that.

CaveNightingale commented 1 year ago

https://github.com/Andy-K-Sparklight/Ari/commit/f973452f5206cfc487ce8459ba7648a19f8a3364#r98469830