|
| [WD21] BUG! - CommandLine InServiceMode (Linux) |
| Iniciado por guest, 07,oct. 2016 15:21 - No hay respuesta |
| |
| | | |
|
| |
| Publicado el 07,octubre 2016 - 15:21 |
Just FYI, I revealed a bug in WinDev creating Linux daemon. Here it is a simple code of project initialization: IF InLinuxMode() IF InServiceMode() commandLine = CommandLine() someObject = new SomeObject() END END Call of CommandLine crashes the execution of Linux daemon without any user friendly error message. The only text in syslog is something like this:
Oct 7 13:44:01 FRODO kernel: [26171258.604168] testd[10969]: segfault at 0 ip 00007f842d792c6e sp 00007f842c3462c8 error 4 in libc-2.21.so As row with CommandLine statement commented daemon become working. Here it is. |
| |
| |
| | | |
|
| | | | |
| | |
|