BUG: scheduling while atomic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-rt (Ubuntu) |
Fix Released
|
Low
|
Alessio Igor Bogani | ||
Bug Description
Running c application. Application used to work on RT kernel and uses SCHED_RR priority.
Now it crashes the moment it tries to create pthread threads that will run at some priortiy using SCHED_RR
'Full' crashreport from syslog:
Dec 17 16:32:02 host16 kernel: [ 1308.894129] BUG: scheduling while atomic: myapp/0x0000000
Dec 17 16:32:02 host16 kernel: [ 1308.894132] Modules linked in: binfmt_misc vboxnetflt vboxnetadp vboxdrv nls_cp437 cifs snd_hda_
Dec 17 16:32:02 host16 kernel: [ 1308.894180] Pid: 3340, comm: myapp Tainted: G C 2.6.31-9-rt #152-Ubuntu
Dec 17 16:32:02 host16 kernel: [ 1308.894184] Call Trace:
Dec 17 16:32:02 host16 kernel: [ 1308.894189] [<ffffffff8104f
Dec 17 16:32:02 host16 kernel: [ 1308.894195] [<ffffffff8153b
Dec 17 16:32:02 host16 kernel: [ 1308.894201] [<ffffffff8153c
Dec 17 16:32:02 host16 kernel: [ 1308.894206] [<ffffffff8153d
Dec 17 16:32:02 host16 kernel: [ 1308.894213] [<ffffffff8153d
Dec 17 16:32:02 host16 kernel: [ 1308.894218] [<ffffffff8153b
Dec 17 16:32:02 host16 kernel: [ 1308.894224] [<ffffffff8105a
Dec 17 16:32:02 host16 kernel: [ 1308.894230] [<ffffffff8106f
Dec 17 16:32:02 host16 kernel: [ 1308.894236] [<ffffffff8153b
Dec 17 16:32:02 host16 kernel: [ 1308.894241] [<ffffffff81128
Dec 17 16:32:02 host16 kernel: [ 1308.894247] [<ffffffff81129
Dec 17 16:32:02 host16 kernel: [ 1308.894253] [<ffffffff8153b
Dec 17 16:32:02 host16 kernel: [ 1308.894259] [<ffffffff81077
Dec 17 16:32:02 host16 kernel: [ 1308.894265] [<ffffffff81071
Dec 17 16:32:02 host16 kernel: [ 1308.894271] [<ffffffff81011
Dec 17 16:32:02 host16 kernel: [ 1308.894277] [<ffffffff8106e
Dec 17 16:32:02 host16 kernel: [ 1308.894283] [<ffffffff81011
Dec 17 16:32:02 host16 kernel: [ 1308.894288] [<ffffffff81012
Dec 17 16:32:02 host16 kernel: [ 1308.894311] note: myapp[3340] exited with preempt_count 1
Running Karmic 9.10 AMD64 on Intel processor with all recent patches.
Excerpt of c code (-m64):
pthread_t my_thread;
struct sched_param param;
pthread_attr_t threadAttr;
param.
if (sched_
exit(-1);
}
param.
pthread_
pthread_
pthread_
if (pthread_
exit(-1);
}
pthread_
ProblemType: Bug
Architecture: amd64
Date: Mon Dec 21 13:44:10 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: linux-image-
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: linux-rt
Uname: Linux 2.6.31-16-generic x86_64
description: | updated |
Changed in linux-rt (Ubuntu): | |
assignee: | nobody → Alessio Igor Bogani (abogani) |
status: | New → In Progress |
Changed in linux-rt (Ubuntu): | |
importance: | Undecided → Low |
Changed in linux-rt (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in linux-rt (Ubuntu): | |
status: | Fix Committed → Fix Released |
Hi,
This bug was reported a while ago and there hasn't been any activity in cdimage. ubuntu. com/releases/
it recently. We were wondering if this is still an issue? Can you try
with the latest development release of Ubuntu (Lucid Lynx)? ISO CD
images are available from http://
Thanks!