From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Daniel Merrill <daniel.merrill@psware.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] psos t_delete causing a SIGSEGV in suspended task.
Date: Fri, 13 Sep 2013 23:47:52 +0200 [thread overview]
Message-ID: <52338808.4060404@xenomai.org> (raw)
In-Reply-To: <86e45894.00001e70.0000000c@dmerrill_win764.PERF.PERFORMANCESOFTWARE>
On 09/13/2013 11:45 PM, Daniel Merrill wrote:
> Ok, good catch :) that was a stupid mistake I made while trying to condense
> the problem down to a more manageable size. Which apparently when I do it
> works, so I'm obviously not understanding the real issue here. So much for
> trying to look smart. How about a stack trace from the real issue.
>
> #0 0xb7d474f6 in __gnat_is_handled_by_others ()
> from /usr/lib/i386-linux-gnu/libgnat-4.6.so.1
> #1 0xb7ec4822 in __gnat_personality_v0 () from
> /usr/lib/i386-linux-gnu/libgnat-4.6.so.1
> #2 0xb7c65056 in ?? () from /lib/i386-linux-gnu/libgcc_s.so.1
> #3 0xb7c65448 in _Unwind_ForcedUnwind () from
> /lib/i386-linux-gnu/libgcc_s.so.1
> #4 0xb7f788c2 in _Unwind_ForcedUnwind () from
> /lib/i386-linux-gnu/libpthread.so.0
> #5 0xb7f76381 in __pthread_unwind () from
> /lib/i386-linux-gnu/libpthread.so.0
> #6 0xb7f6e5eb in sigcancel_handler () from
> /lib/i386-linux-gnu/libpthread.so.0
> #7 <signal handler called>
> #8 0xb7fdd424 in __kernel_vsyscall ()
> #9 0xb7fd7541 in t_suspend () from /usr/lib/libpsos.so.0
>
> As soon as we call t_delete on the suspended task, we see this issue popping
> up. Any ideas?
Well, the program goes south when trying to unwind after pthread_cancel.
Maybe C++ code compiled with -fno-exceptions ?
--
Gilles.
next prev parent reply other threads:[~2013-09-13 21:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-13 20:48 [Xenomai] psos t_delete causing a SIGSEGV in suspended task Daniel Merrill
2013-09-13 20:54 ` Gilles Chanteperdrix
[not found] ` <fcac2f91.00001e70.00000001@dmerrill_win764.PERF.PERFORMANCESOFTWARE>
2013-09-13 21:45 ` Daniel Merrill
2013-09-13 21:47 ` Gilles Chanteperdrix [this message]
2013-09-13 23:23 ` Daniel Merrill
2013-09-14 13:47 ` Gilles Chanteperdrix
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=52338808.4060404@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=daniel.merrill@psware.com \
--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.