From: Jeff Webb <jeff.webb@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai v2.2.3
Date: Wed, 20 Sep 2006 15:19:31 -0500 [thread overview]
Message-ID: <4511A253.9010009@domain.hid> (raw)
In-Reply-To: <45119E68.9050608@domain.hid>
Jeff Webb wrote:
> Philippe Gerum wrote:
>>
>> cd /usr/xenomai/testsuite/latency
>> gdb latency
>> r
>> ...(SIGSEGV)...
>> bt
>
> If I try to run gdb on it, it just hangs when I type the "r" command:
>
> [root@domain.hid webb-ja]# cd /usr/xenomai/testsuite/latency/
> [root@domain.hid latency]# /sbin/modprobe xeno_native
> [root@domain.hid latency]# gdb latency
> GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
> Copyright 2003 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux-gnu"...
> (no debugging symbols found)...Using host libthread_db library
> "/lib/tls/libthread_db.so.1".
> (gdb) r
> Starting program: /usr/xenomai-2.2.3/testsuite/latency/latency
> (no debugging symbols found)...[Thread debugging using libthread_db
> enabled]
> Error while reading shared library symbols:
> Cannot find new threads: generic error
> (no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
With one of my working xenomai kernels, the above steps seem to work, so maybe the above symptom is part of the bug. My results for a working kernel are shown below:
-Jeff
[root@domain.hid webb-ja]# cd /usr/xenomai/testsuite/latency/
[root@domain.hid latency]# gdb latency
GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /usr/xenomai-2.2.3/testsuite/latency/latency
(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 5239)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...== Sampling period: 100 us
== Test mode: periodic user-mode task
== All results in microseconds
[New Thread 32769 (LWP 5240)]
[New Thread 16386 (LWP 5241)]
warming up...
[New Thread 32771 (LWP 5242)]
RTT| 00:00:01 (periodic user-mode task, 100 us period, priority 99)
RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat worst
RTD| -1.782| -1.154| 4.307| 0| -1.782| 4.307
RTD| -1.933| -1.158| 4.157| 0| -1.933| 4.307
RTD| -1.924| -1.223| 4.497| 0| -1.933| 4.497
RTD| -2.014| -1.206| 4.438| 0| -2.014| 4.497
Program received signal SIGINT, Interrupt.
[Switching to Thread 32771 (LWP 5242)]
0x0804b555 in rt_task_wait_period ()
(gdb) bt
#0 0x0804b555 in rt_task_wait_period ()
#1 0x08049f7c in latency ()
#2 0x0804b233 in rt_task_trampoline ()
#3 0x48a3bdb2 in pthread_start_thread () from /lib/i686/libpthread.so.0
#4 0x48a3bf45 in pthread_start_thread_event () from /lib/i686/libpthread.so.0
#5 0x488a97fa in clone () from /lib/i686/libc.so.6
(gdb)
prev parent reply other threads:[~2006-09-20 20:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-18 7:28 [Xenomai-core] Xenomai v2.2.3 Philippe Gerum
2006-09-18 21:58 ` [Xenomai-help] " Jeff Webb
2006-09-19 22:01 ` Jeff Webb
2006-09-20 9:24 ` Philippe Gerum
2006-09-20 14:44 ` Jeff Webb
2006-09-20 15:22 ` Philippe Gerum
2006-09-20 16:14 ` Philippe Gerum
2006-09-20 18:24 ` Jeff Webb
2006-09-20 18:33 ` Philippe Gerum
2006-09-20 20:02 ` Jeff Webb
2006-09-20 20:19 ` Jeff Webb [this message]
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=4511A253.9010009@domain.hid \
--to=jeff.webb@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.