Skip site navigation (1)Skip section navigation (2)
Date:      31 Jan 2003 23:36:34 +0100
From:      Franz Klammer <klammer@webonaut.com>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: patch-gst::cothreads.c -> COTHREAD_MAXTHREADS 8 didn't work for me
Message-ID:  <1044052594.48118.16.camel@ds9.webonaut.com>
In-Reply-To: <1044051435.46355.17.camel@shumai.marcuscom.com>
References:  <1044047356.8610.2.camel@ds9.webonaut.com> <1044050271.46355.0.camel@shumai.marcuscom.com> <1044051089.8610.4.camel@ds9.webonaut.com> <1044051147.46355.13.camel@shumai.marcuscom.com> <1044051605.48118.1.camel@ds9.webonaut.com> <1044051435.46355.17.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Fr, 2003-01-31 um 23.17 schrieb Joe Marcus Clarke:
> On Fri, 2003-01-31 at 17:20, Franz Klammer wrote:
> > Am Fr, 2003-01-31 um 23.12 schrieb Joe Marcus Clarke:
> > > On Fri, 2003-01-31 at 17:11, Franz Klammer wrote:
> > > > Am Fr, 2003-01-31 um 22.57 schrieb Joe Marcus Clarke:
> > > > > On Fri, 2003-01-31 at 16:09, Franz Klammer wrote:
> > > > > > hi!
> > > > > > 
> > > > > > COTHREAD_MAXTHREADS 8 changed by gstreamer->patch-gst::cothreads.c 
> > > > > > didn't work for me. if i don't revert them to the original value
> > > > > > and i try to make a thumbnail from an mpeg gst-thumbnail dies with
> > > > > > this error-message:
> > > > > > 
> > > > > > GStreamer-WARNING **: cothread_create: attempt to 
> > > > > > create > COTHREAD_MAXTHREADS
> > > > > 
> > > > > If you remove this patch, do you then get the core dump about thread
> > > > > contexts?
> > > > 
> > > > YES:
> > > > Fatal error 'longjmp()ing between thread contexts is undefined by POSIX
> > > > 1003.1' at line 72 in file /usr/src/lib/libc_r/uthread/uthread_jmp.c
> > > > (errno = 22)
> > > > Abbruch (core dumped)
> > > 
> > > Where do you get the former error?  I played with gst-thumbnail, and
> > > never got it.  If you bump the threads up to 16, but keep the STACK_SIZE
> > > at 1 MB, do both problems go away?
> > > 
> > 
> > exactly, yes.
> 
> Okay, just to be clear, if I change the patch to set max threads to 16
> while keeping the stack size at 1 MB, you'll be happy?
> 

can't say how much. :-)

ok, seriously: yes.

a guess from someone who didn't really know much about longjumps and 
such things: i it possible that this maybe only occur on -CURRENT?

franz

> Joe
> 
> > 
> > franz.
> > 
> > > Joe
> > > 
-- 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1044052594.48118.16.camel>