platform: tried both on win7x64 SP1 and LinuxMint release 10(julia) 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 GNU/Linux
problem:giving some garbage as arguments to --show-path-crc, --use-language, --log-path, --ini-path, --data-path results in crash. Example report:
$ ./megaglest --show-path-crc=!=
gamedir [/home/test/megaglest]
Looking for LDCONFIG []...
LDCONFIG environment variable is not set...
Found LDCONFIG using which [/sbin/ldconfig]...
default library [/home/test/megaglest/lib/libopenal.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libopenal.so.1] pointed to from [/home/test/megaglest/lib/libopenal.so.0]
default library [/home/test/megaglest/lib/libdirectfb-1.0.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libdirectfb-1.2.so.9] pointed to from [/home/test/megaglest/lib/libdirectfb-1.0.so.0]
default library [/home/test/megaglest/lib/libfusion-1.0.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libfusion-1.2.so.9] pointed to from [/home/test/megaglest/lib/libfusion-1.0.so.0]
default library [/home/test/megaglest/lib/libdirect-1.0.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libdirect-1.2.so.9] pointed to from [/home/test/megaglest/lib/libdirect-1.0.so.0]
default library [/home/test/megaglest/lib/libjpeg.so.62] was found in [/usr/lib/libjpeg.so.62]
default library [/home/test/megaglest/lib/libpng12.so.0] was found in [/lib/libpng12.so.0]
default library [/home/test/megaglest/lib/libcurl-gnutls.so.4] was found in [/usr/lib/libcurl-gnutls.so.4]
default library [/home/test/megaglest/lib/libxerces-c.so.28] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libxerces-c-3.1.so] pointed to from [/home/test/megaglest/lib/libxerces-c.so.28]
default library [/home/test/megaglest/lib/libicudata.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libicudata.so.42] pointed to from [/home/test/megaglest/lib/libicudata.so.40]
default library [/home/test/megaglest/lib/libicuuc.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libicuuc.so.42] pointed to from [/home/test/megaglest/lib/libicuuc.so.40]
v3.5.0-GNUC: 40204-Apr 20 2011 09:57:10, SVN: [Rev: 2145], [STREFLOP]
[2011-04-27 02:01:35] *ERROR* In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 342] [basic_string::compare] gameInitialized = 0, program = (nil)
[2011-04-27 02:01:36] *ERROR* In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 433] [basic_string::compare
Stack Trace:
./bin/megaglest.bin:Glest::Game::glestMain(int, char**) address [0x82b2da7] line: 2648
./bin/megaglest.bin:Glest::Game::glestMainWrapper(int, char**) address [0x82b7584] line: 2706
./bin/megaglest.bin:main() address [0x82b7686] line: 2726
/lib/libc.so.6:__libc_start_main() address [0xc41ce7] line: 0
./bin/megaglest.bin() [0x81b7e61] address [0x81b7e61] line: 0
]
******************************************************
#2 An error occurred and MegaGlest will close.
Error msg = [basic_string::compare
Stack Trace:
./bin/megaglest.bin:Glest::Game::glestMain(int, char**) address [0x82b2da7] line: 2648
./bin/megaglest.bin:Glest::Game::glestMainWrapper(int, char**) address [0x82b7584] line: 2706
./bin/megaglest.bin:main() address [0x82b7686] line: 2726
/lib/libc.so.6:__libc_start_main() address [0xc41ce7] line: 0
./bin/megaglest.bin() [0x81b7e61] address [0x81b7e61] line: 0
]
Please report this bug to contact@megaglest.org
******************************************************
Aborted