trevorsandy / lpub3d

An LDraw™ editor for LEGO® style digital building instructions.
https://trevorsandy.github.io/lpub3d/
131 stars 19 forks source link

Segfault after running --help or --version from console #668

Closed trevorsandy closed 1 year ago

trevorsandy commented 1 year ago

Subject

The application will abnormal end after printing out the the help options or version and then crashes immediately when run from a terminal.

Environment

Version of LPub3D - 2.4.6 Operating system - All

Expected behaviour

Exit gracefully

Actual behaviour

Example console showing segfault

LPub3D v2.4.5 r134 for Linux AMD 64bit
==========================
Arguments: --version

LPub3D, Version 2.4.5, Revision 134, Commit 3342, SHA f7c66279
Compiled on Jan 11 2023
Segmentation fault (core dumped)

Solution

Fix it.

Cheers,

trevorsandy commented 1 year ago

This behaviour has been corrected.

Cheers,