Your message dated Sun, 27 Aug 2006 15:18:19 +0200 with message-id <44F19B9B.6060308@aurel32.net> and subject line Bug#384854: SIGSEGV in sendfile64() has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: SIGSEGV in sendfile64()
- From: Daniel Weindl <daniel@danielweindl.de>
- Date: Sun, 27 Aug 2006 13:54:43 +0200
- Message-id: <[🔎] 44F18803.5000502@danielweindl.de>
- Reply-to: daniel@danielweindl.de
Package: libc6 Version: 2.3.6.ds1-4 Using the int stat (const char *filename, struct stat *buf) function in a programm on a certain filename causes a segmentation fault. For example: [...] struct stat *stats; stat("/home/daniel/music/Singles/Spax, Flowin Immo, Toni L u.a", stats); [...] gdb Output: [...] Program received signal SIGSEGV, Segmentation fault. 0xb7f2c625 in sendfile64 () from /lib/tls/libc.so.6 [...] Using stat64() instead, works well. And if I rename the directory and remove the trailing 'a' or add another one, it also works.
--- End Message ---
--- Begin Message ---
- To: daniel@danielweindl.de
- Cc: 384854-done@bugs.debian.org
- Subject: Re: Bug#384854: SIGSEGV in sendfile64()
- From: Aurelien Jarno <aurelien@aurel32.net>
- Date: Sun, 27 Aug 2006 15:18:19 +0200
- Message-id: <44F19B9B.6060308@aurel32.net>
- In-reply-to: <[🔎] 44F19AF3.3090805@danielweindl.de>
- References: <[🔎] 44F18803.5000502@danielweindl.de> <[🔎] 44F18C8D.4060402@aurel32.net> <[🔎] 44F19AF3.3090805@danielweindl.de>
Daniel Weindl a écrit :Aurelien Jarno said the following on 08/27/06 14:14:Daniel Weindl a écrit :Package: libc6 Version: 2.3.6.ds1-4 Using the int stat (const char *filename, struct stat *buf) function in a programm on a certain filename causes a segmentation fault. For example: [...] struct stat *stats; stat("/home/daniel/music/Singles/Spax, Flowin Immo, Toni L u.a", stats);Do you have a full testcase that could be compiled? In the example you give, you are not allocating correctly the stats buffer, I don't know if it is a simplification for the bug report or a mistake in your code.I just rechecked my code. I'm not sure why there wasn't always a segfault, but it was an allocating problem as you said. Sorry for bothering you. This report can be closed.Closing it with this mail. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net
--- End Message ---