All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: "Kaeppeler, Oliver" <Oliver.Kaeppeler@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] gdb + multi-threaded application + Intel dual core	processor + Xenomai => frozen system
Date: Tue, 13 May 2008 11:36:59 +0200	[thread overview]
Message-ID: <4829613B.3000500@domain.hid> (raw)
In-Reply-To: <A3B06EAFE0D9C14096681C935E0B300802110A0C@zue-s-15.zue.zwick.de>

Kaeppeler, Oliver wrote:
> 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?

Yep. Known issue. Already fixed in latest SVN trunk and 2.4.x.

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux


  reply	other threads:[~2008-05-13  9:36 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4829613B.3000500@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=Oliver.Kaeppeler@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.