NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: segfault in bozohttpd






> On Nov 3, 2015, at 4:19 PM, Jan Danielsson <jan.m.danielsson%gmail.com@localhost> wrote:
> 
> Hello,
> 
>   Environment: Running netbsd-7, but using bozohttp from -current
> 
>   I built bozohttpd and started it using my regular script, but it
> segfaulted immediately.  The corefile said:
> 
> [---]
> Reading symbols from /home/jan/checkout/fsys/bozohttpd/bozohttpd...(no
> debugging symbols found)...done.
> [New process 1]
> Core was generated by `bozohttpd'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x000000000040ab33 in bozo_add_lua_map ()
> (gdb) bt
> #0  0x000000000040ab33 in bozo_add_lua_map ()
> #1  0x000000000040b94f in main ()
> 
>   I rebuilt it with -g and the segfault didn't occur.  I then cleaned
> up again and rebuilt without -g again, and this time it didn't segfault.
> 
>   Non-deterministic segfaults..  :/
> 
> -- 
> Kind Regards,
> Jan

I saw seeing similar and marked it down to a bad build env from old builds hanging around. 


Home | Main Index | Thread Index | Old Index