[Lazarus] Segmentation fault when stopping daemon in Debian 6 (Lazarus 0.9.30, FPC 2.4.2).

Joshua Lim joshua__lim at hotmail.com
Mon Jun 6 17:33:19 CEST 2011


I've posted a follow up on the Lazarus forum - 
http://www.lazarus.freepascal.org/index.php/topic,13371.0.html

Thks.


Joshua Lim wrote:
> Hi, this happens when i created the daemon using the "New Project 
> wizard" which adds LazDaemonApp instead of LazDaemon and interfaces 
> (for earlier versions).
>
> joshua at debian:~/Desktop/Data/testapps/basicdaemon$ ./project1 -r
> Segmentation fault
> joshua at debian:~/Desktop/Data/testapps/basicdaemon$ gdb ./project1
>
> I've tried issuing kill pid and Ctrl C, both will result in 
> Segmentation fault.  Heap trace don't work so i can't debug my 
> application.
>
> I've uploaded the project file with all settings to - 
> http://www.2shared.com/file/DQKFuP0u/basicdaemon.html
>
> Appreciate any ideas.  Thanks.  :)
>
>
> Here's the trace from GDB.
>
> joshua at debian:~/Desktop/Data/testapps/basicdaemon$ gdb ./project1
> .............
> Reading symbols from 
> /home/joshua/Desktop/Data/testapps/basicdaemon/project1...done.
> (gdb) run -r
> Starting program: 
> /home/joshua/Desktop/Data/testapps/basicdaemon/project1 -r
> ^C
> Program received signal SIGINT, Interrupt.
> 0xb7fe2424 in __kernel_vsyscall ()
> (gdb) bt
> #0  0xb7fe2424 in __kernel_vsyscall ()
> #1  0x08048732 in SYSTEM_FPSYSCALL$LONGINT$LONGINT$LONGINT$$LONGINT ()
> #2  0x0809f481 in BASEUNIX_FPSIGSUSPEND$SIGSET_T$$LONGINT ()
> #3  0x0809f56a in BASEUNIX_SIGPAUSE$LONGINT$$LONGINT ()
> #4  0x00000000 in ?? ()
> (gdb)
>
>
>
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>





More information about the Lazarus mailing list