All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kip Macy <kip.macy@gmail.com>
To: lepton <ytht.net@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: core dump in pthread in mplayer in freebsd DomainU on Debian Linux Domain0
Date: Sun, 7 Aug 2005 12:49:04 -0700	[thread overview]
Message-ID: <b1fa291705080712491a84733f@mail.gmail.com> (raw)
In-Reply-To: <20050807133924.GA3277@gsy2.lepton.home>

M:N support is currently busted on freebsd-xen. If you re-compile libc
to only use SYSTEM_SCOPE threads (one line makefile change), things
will work. Sorry for the inconvenience.

I'll get a little time to fix open issues when I get some servers this week.
 
                  -Kip

On 8/7/05, lepton <ytht.net@gmail.com> wrote:
> Hi!
>        After I have installed freebsd port for xen, I tried some
>        software on freebsd. I am a newbie of freebsd, I meet some
>        problems in mplayer, I don't know wether the problem was a
>        freebsd-xen "bug" or a freebsd "bug".
> 
>        When I compiled mplayer, it complained about pthread about
>        "Fatal error 'Thread has returned from _thread_switch' at line
>        1116 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno =
>        0)", it won't compile.
> 
>        Then I moved to use port to compile mplayer, then it can
>        compile. I can use mplayer to play video without sound. But
>        after I have configured mplayer to use nas to output sound.
>        When I use mplayer, it will abort, and complain about
>         "Fatal error 'Thread has returned from _thread_switch' at line
>        1116 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno =
>        0)"
> 
>        I have tried the following program (paste from configure script
>        of mplayer)
> 
>        #include <pthread.h>
>        void* func(void *arg) { return arg; }
>        int main(void) { pthread_t tid; return pthread_create (&tid, 0,
>        func, 0) == 0 ? 0 : 1; }
> 
>        when you use gcc -o test test.c -pthread
>        it will complain the same thing about pthread.
> 
>        when you use gcc -o test test.c -lc_r, the problem dispeared.
> 
>        Is pthread is broken on freebsd? or freebsd-xen? or I have do
>        something wrong?
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>

  reply	other threads:[~2005-08-07 19:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-07 13:39 core dump in pthread in mplayer in freebsd DomainU on Debian Linux Domain0 lepton
2005-08-07 19:49 ` Kip Macy [this message]
2005-08-08  0:47   ` lepton
2005-08-08 11:56   ` lepton

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=b1fa291705080712491a84733f@mail.gmail.com \
    --to=kip.macy@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=ytht.net@gmail.com \
    /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.