lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 29 Nov 2006 15:47:50 +0100 (CET)
From:	"Leto Angelo" <aleto@...p.it>
To:	linux-kernel@...r.kernel.org
Subject: O_DIRECT error, user space programming

Hi,
I got an:
*** glibc detected *** double free or corruption (!prev): 0x84c01000 ***
using O_DIRECT with threads: this error appends if I run several threads
wich are reading several files (opened with O_RDONLY|O_DIRECT) at the same
time.
The error doesn't appends if I open the files whithout O_DIRECT or if I
place a pthread_join after each thread call.
I'm sure that no double free is done.
kernel version: 2.6.17 SMP PREEMPT
glibc version: 2.3.6
filesystem: ext3
g++ used: g++ (GCC) 4.0.4 20060507 (prerelease) (Debian 4.0.3-3)
Does somebody knows the reasons of the error? There are limitation to use
O_DIRECT on a multithread application?
Thanks in advance for any help.
A.

ps. I can provide the source code code (135 lines of C++) if it is useful
to uinderstand better the problem


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ