On Tue, Mar 12, 2019 at 11:14:59PM +0100, Klemens Nanni wrote: > This software is in bad shape.
No kidding, the software is very buggy by our standards. There's a lot left to fix to make it run nicely on OpenBSD. I intend to keep fixing things but I would prefer to do such work against something that's in-tree. I also intend to submit my fixes upstream. > After polishing the Makefile a bit, I > tried testing it but both textsuggest and textsuggest-server immediately > dumped core. > > $ textsuggest-server & > $ textsuggest --selection # crashes server every other run > textsuggest-server(22619) in free(): chunk canary corrupted > 0x1bf201fcc160 0x18@0x18 > This doesn't happen here. Please show a backtrace from gdb. > $ textsuggest-server & > $ textsuggest --auto-selection > terminating with uncaught exception of type > cxxopts::missing_argument_exception: Option ‘auto-selection’ is missing an > argument > Abort trap (core dumped) Option parsing errors result in C++ exceptions which upstream code doesn't handle so it ends up in abort(). That's an upstream bug. This is Linux software and I doubt this behaviour is causing problems there, at least none that upstream would notice.
