Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
5.12.0 Beta 4
Description
Even though this happened because of a user error, the SslCppClient example shouldn't crash (but exit/quit instead) if the SslServer is not already running.
You get:
Program received signal SIGABRT, Aborted. 0x00007ffff66e6428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007ffff66e6428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 #1 0x00007ffff66e802a in __GI_abort () at abort.c:89 #2 0x00007ffff7098d2c in QMessageLogger::fatal(char const*, ...) const () from /home/milla2/RTA/qt5_beta4/5.12.0/gcc_64/lib/libQt5Core.so.5 #3 0x0000000000403f67 in tester::tester() () #4 0x0000000000402fca in main ()
Instead it should just show a warning or instruct to run the SslServer example first.