[Bug 643518] Re: Bus error

2010-09-23 Thread Stephan Ferraro
I posted my question in the lighttpd development forum here: http://redmine.lighttpd.net/boards/3/topics/3623 -- Bus error https://bugs.launchpad.net/bugs/643518 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 643518] Re: Bus error

2010-09-22 Thread Stephan Ferraro
Yes I will ask lighttpd development team if its normal or not. From my gut feeling a server software should never crash with Bus error. What is interessting, I didn't notice to have this problem with OpenSolaris and ZFS. Maybe nmap has a different behaviour on Linux than Solaris. -- Bus error

[Bug 643518] Re: Bus error

2010-09-21 Thread Stephan Ferraro
Since I no more changed the file stats, lighttpd no more crashes with bus error. So: Do not change files while lighttpd is reading them with nmap under Linux. Solution: Change document root files only with UNIX rename syscall. This bug will not happen if files will be changed properly. You can

[Bug 643518] Re: Bus error

2010-09-21 Thread Stephan Ferraro
lighttpd version: lighttpd/1.4.26 (ssl) I could use strace to trace when it bus error occured: ioctl(14, FIONREAD, [0])= 0 read(14, 0x298dd70, 4159) = -1 EAGAIN (Resource temporarily unavailable) epoll_ctl(12, EPOLL_CTL_MOD, 14, {EPOLLIN|EPOLLERR|EPOLLHUP, {u32=14,

[Bug 643518] Re: Bus error

2010-09-21 Thread Stephan Ferraro
Its possible that the content of /var/www/trashmail/htdocs/stats changed between the mmap and write from outside on the filesystem. Then the data addresses provided by mmap could be invalid. Should lighttpd not lock the file after open and before executing mmap? Then unlock after reading it? --

[Bug 643518] Re: Bus error

2010-09-21 Thread Stephan Ferraro
locking would probably uses too much resources for a high-speed webserver. The error comes from my side: I change a file while lighttpd is using it. The solution would be to change it atomically without that lighttpd loss its file descriptor. I will use rename for this. So if I change the

[Bug 643518] [NEW] Bus error

2010-09-20 Thread Stephan Ferraro
Public bug reported: Binary package hint: lighttpd Lighttpd crashes with a Bus error every hour on my server. # lighttpd -f /etc/lighttpd/lighttpd.conf -D Bus error Can't use GDB to find out more because I get generic error: # gdb /usr/sbin/lighttpd GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010

[Bug 643518] Re: Bus error

2010-09-20 Thread Stephan Ferraro
Here are my system information: # cat /etc/issue Ubuntu 10.04.1 LTS \n \l # uname -ar Linux trashmail 2.6.32-23-server #37-Ubuntu SMP Fri Jun 11 09:11:11 UTC 2010 x86_64 GNU/Linux -- Bus error https://bugs.launchpad.net/bugs/643518 You received this bug notification because you are a member of

[Bug 641998] [NEW] segfault at 0 ip 00007f7bd48ac7ac sp 00007fff53fa8610 error 4 in libperl.so.5.10.1[7f7bd47ef000+162000]

2010-09-18 Thread Stephan Ferraro
Public bug reported: Impossible to use DBI with DBD::mysql on Ubuntu 10.04.1 LTS. I get Segmentation fault of Perl when exiting the script. It seems that there is an internal destructor for DBD which is called on script exit which produce this segfault error. I can repeat the error at any time.