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:	Thu, 15 Oct 2009 19:51:34 +0200
From:	Joerg Abraham <Joerg.Abraham@...atel-lucent.de>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: 2.6.31.4-rt14 posix message queues problem

Hi,

During some performance measurement I stumbled over unexpected bad results for 
a posix message queue test case. Which is not surprising since the kernel log 
shows a "BUG: scheduling while atomic:" on every measurement trigger.

Attached is the kernel log for an embedded 8572ds powerpc system and a 
condensed user space test appli. The test appli uses 2 processes (mq_server 
and mq_client) and pingpongs some messages via posix message queues. Please 
see the c-file header for details (the appli itself makes not much sense but 
shows the problem).

./mq_server
./mq_client # just crashes during run

The problem does _not_ occur on kernels 2.6.29.6-rt24, 2.6.29.6 vanilla and 
2.6.31.4 vanilla. The problem does _also_ show up on an embedded x86_64 system 
and a full featured fc11 x86_64 system running a 2.6.31.4-rt14 based kernel, 
so I dont think it's arch dependent.

Can anybody reproduce the crash ???

If you need more info's please let me know.

[And if I'm doing stupid things just forgive me]

Thanx

Joerg


View attachment "2.6.31.4-rt14_posix_mq.crash" of type "text/plain" (3509 bytes)

View attachment "mq.c" of type "text/plain" (5936 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ