All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] gdb + multi-threaded application + Intel dual core processor + Xenomai => frozen system
@ 2008-05-13  9:18 Kaeppeler, Oliver
  2008-05-13  9:36 ` Jan Kiszka
  0 siblings, 1 reply; 25+ messages in thread
From: Kaeppeler, Oliver @ 2008-05-13  9:18 UTC (permalink / raw)
  To: xenomai


[-- Attachment #1.1: Type: text/plain, Size: 1223 bytes --]

Hello,
 
we get an frozen system, if we start a multi-threaded posix-skin
application within the GNU-Debugger (gdb) on an Intel dual core
processor. Precisely, the system freezes when threads are being created.
Often the problem occurs when the third or fourth thread is being
created.
 
Some further remarks:
o We use OpenSUSE Linux 10.3 and Xenomai 2.4.3 over Linux Vanilla
2.6.24.5. Xenomai 2.4.0 over 2.6.23.9 shows simular behavier.
o Toolchain SUSE 10.3 as is.  
o We run "init 3", so no x-server
o We tested some gdb-Versions (6.3, 6.6, 6.8), but the result remains
the same.
o The system does NOT freeze, if the dual core feature is deactivated in
the BIOS (so the processor works just with ONE core)!
o Without gdb the program runs as expected.
 
We attached a very small example program that creates 50 threads via
pthread_create(). Each thread prints "Hello world", sleeps a few seconds
and exits. We also attached the result of xeno-test (xeno-test.log.bz2)
and /proc/config.gz.
 
To start the application "test1" within the debugger, just type the
following:
# gdb test1
(gdb) run
 
Does anybody know, why the system freezes?
Thanks in advance!
Oliver Kaeppeler.
 
 
 
 
 

[-- Attachment #1.2: Type: text/html, Size: 2608 bytes --]

[-- Attachment #2: test1.tar.bz2 --]
[-- Type: application/octet-stream, Size: 4940 bytes --]

[-- Attachment #3: xeno-test.log.bz2 --]
[-- Type: application/octet-stream, Size: 13450 bytes --]

[-- Attachment #4: config.gz --]
[-- Type: application/x-gzip, Size: 21589 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2008-06-20 10:54 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-13  9:18 [Xenomai-help] gdb + multi-threaded application + Intel dual core processor + Xenomai => frozen system Kaeppeler, Oliver
2008-05-13  9:36 ` Jan Kiszka
2008-05-13 10:46   ` [Xenomai-help] Interrupt management under rtdm driver DOURNES Guillaume
2008-05-13 11:03     ` Jan Kiszka
2008-05-13 13:11       ` DOURNES Guillaume
2008-05-13 14:47         ` Jan Kiszka
2008-05-13 16:36           ` DOURNES Guillaume
2008-05-13 16:58             ` Jan Kiszka
2008-05-14  9:55               ` DOURNES Guillaume
2008-05-14 19:21                 ` Jan Kiszka
2008-05-14 19:35                   ` Jan Kiszka
2008-05-15 10:24                     ` DOURNES Guillaume
2008-05-16  7:11                       ` Jan Kiszka
2008-05-16 10:08                         ` DOURNES Guillaume
2008-05-16 11:28                           ` [Xenomai-help] Serial driver and TX events Anders Blomdell
2008-05-16 12:49                             ` Jan Kiszka
2008-05-16 13:12                               ` Anders Blomdell
2008-05-16 13:25                                 ` Jan Kiszka
2008-05-16 17:56                                   ` Anders Blomdell
2008-06-19 19:41                                     ` [Xenomai-help] Weird rt_dev_socket behaviour Anders Blomdell
2008-06-20 10:54                                       ` Jan Kiszka
2008-05-13 14:06   ` [Xenomai-help] gdb + multi-threaded application + Intel dual core processor + Xenomai => frozen system Kaeppeler, Oliver
2008-05-13 14:44     ` Jan Kiszka
2008-05-14  6:13       ` Jan Kiszka
2008-05-14 12:02         ` Kaeppeler, Oliver

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.