On Sun, 19.02.06 19:12, Peter Onion ([EMAIL PROTECTED]) wrote: > > On Sun, 2006-02-19 at 16:42 +0000, Peter Onion wrote: > > On Sun, 2006-02-19 at 14:29 +0000, Peter Onion wrote: > > > > I seem to have a catch-22 situation. > > > > Logging doesn't seem to work if the daemon chroots > > > > Logging DOES work but the bug doesn't happen if the daemon doesn't > > chroot ! > > > Working blind (with no way that I can see to get debugging out of the > chtrooted daemon) is hard work.... BUT ... > The problem is in the new functionality in > static_hosts_load in static_hosts.c > > I expect it's a seg fault in the parsing code. I'm going to cut and > paste it into another file to try and debug iy..
yepp. the code is borked. Just had a look on it. If you have some chars at the end of the line where they don't belong the code makes "BOOM!". Besides that the code leaks some memory if a parse failure occurs. And finally indenting is broken on that specific section... Lathiat, you wrote that code, please have a look on fixing it. Lennart -- Lennart Poettering; lennart [at] poettering [dot] net ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lennart/ _______________________________________________ avahi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/avahi
