From owner-freebsd-gnome Fri Jan 31 14:32:25 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4F6337B401 for ; Fri, 31 Jan 2003 14:32:23 -0800 (PST) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 044FF43F3F for ; Fri, 31 Jan 2003 14:32:23 -0800 (PST) (envelope-from klammer@webonaut.com) Received: from [212.41.243.28] (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id 02F2D766C6; Fri, 31 Jan 2003 23:32:21 +0100 (CET) Subject: Re: patch-gst::cothreads.c -> COTHREAD_MAXTHREADS 8 didn't work for me From: Franz Klammer To: Joe Marcus Clarke Cc: FreeBSD GNOME Users 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> Content-Type: text/plain Organization: Message-Id: <1044052594.48118.16.camel@ds9.webonaut.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 31 Jan 2003 23:36:34 +0100 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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