From nobody@FreeBSD.org Thu Aug 3 19:39:59 2006 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 794A716A4E1 for ; Thu, 3 Aug 2006 19:39:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 292FE43D5C for ; Thu, 3 Aug 2006 19:39:59 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k73JdwNg035651 for ; Thu, 3 Aug 2006 19:39:58 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k73JdwxY035650; Thu, 3 Aug 2006 19:39:58 GMT (envelope-from nobody) Message-Id: <200608031939.k73JdwxY035650@www.freebsd.org> Date: Thu, 3 Aug 2006 19:39:58 GMT From: Michael Glaum To: freebsd-gnats-submit@FreeBSD.org Subject: port cad/pcb. Load netlist causes crash due to unloaded PTHREAD X-Send-Pr-Version: www-2.3 >Number: 101327 >Category: ports >Synopsis: port cad/pcb. Load netlist causes crash due to unloaded PTHREAD >Confidential: no >Severity: serious >Priority: medium >Responsible: hrs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 03 19:40:11 GMT 2006 >Closed-Date: Wed Sep 20 20:13:09 GMT 2006 >Last-Modified: Wed Sep 20 20:13:09 GMT 2006 >Originator: Michael Glaum >Release: 6.1 >Organization: KVH Industries >Environment: FreeBSD 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: If you have a pcb file loaded and then try to load the associated netlist, via the program's menu -> File -> load netlist file, the program pcb terminates complaining /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam". So that means cad/pcb/Makefile etc needs to effect a patch on the work/pcb/Makefile etc to refer to pthread in the LIB etc? >How-To-Repeat: cd /usr/ports/cad/pcb/work/pcb-20060414/example pcb LED Then select the menu item File -> load netlist file. Program will close with the aforementioned loader message. >Fix: >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-ports-bugs->hrs Responsible-Changed-By: edwin Responsible-Changed-When: Thu Aug 3 19:40:21 UTC 2006 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=101327 From: Hiroki Sato To: mglaum@kvh.com Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/101327: port cad/pcb. Load netlist causes crash due to unloaded PTHREAD Date: Mon, 07 Aug 2006 01:48:50 +0900 (JST) Michael Glaum wrote in <200608031939.k73JdwxY035650@www.freebsd.org>: mg> >Description: mg> If you have a pcb file loaded and then try to load the associated mg> netlist, via the program's menu -> File -> load netlist file, mg> the program pcb terminates complaining mg> /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam". I think there is a high possibility that glib20 and gtk20 on your system have a problem. I tried clean install of cad/pcb and the dependencies on 6.1 system but could not reproduce that error. Could you try to reinstall the related packages? -- | Hiroki SATO From: mglaum@sdf.lonestar.org To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/101327: port cad/pcb. Load netlist causes crash due to unloaded PTHREAD Date: Fri, 11 Aug 2006 20:36:10 -0000 (UTC) Michael Glaum submitted ports/101327 mg> >Description: mg> If you have a pcb file loaded and then try to load the associated mg> netlist, via the program's menu -> File -> load netlist file, mg> the program pcb terminates complaining mg> /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam". Hiroki Sato followed up: HS> I think there is a high possibility that glib20 and gtk20 on your HS> system have a problem. I tried clean install of cad/pcb and the HS> dependencies on 6.1 system but could not reproduce that error. HS> Could you try to reinstall the related packages? I'm thinking you might be onto something. If I install a clean FreeBSD6.1, cvsup the ports, install pcb via the ports, all is fine. No loader error. If I then pkg_add -r gnome2 and subsequently use Gnome for my window environment, the bug comes back. I'm thinking I should install FreeBSD again and install Gnome2 via the ports. That'll probably work? From: mglaum@sdf.lonestar.org To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/101327: port cad/pcb. Load netlist causes crash due to unloaded PTHREAD Date: Thu, 17 Aug 2006 22:14:23 -0000 (UTC) I haven't been able to reproduce your error-free running of cad/pcb. If I install a clean 6.1, update the cvs ports directory and install both x11/gnome2 and then cad/pcb via the ports, I still get the same error /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam". So did you try the "pcb program's menu -> File -> load netlist file"? State-Changed-From-To: open->feedback State-Changed-By: hrs State-Changed-When: Mon Sep 18 18:14:01 UTC 2006 State-Changed-Why: A patch has been committed. Waiting a feedback about if it works or not. http://www.freebsd.org/cgi/query-pr.cgi?pr=101327 From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/101327: commit references a PR Date: Mon, 18 Sep 2006 18:15:29 +0000 (UTC) hrs 2006-09-18 18:13:41 UTC FreeBSD ports repository Modified files: cad/pcb Makefile Log: Add pthread dependency to fix a crash problem. PR: ports/101327 Spotted by: Michael Glaum Revision Changes Path 1.53 +3 -2 ports/cad/pcb/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From: mglaum@sdf.lonestar.org To: bug-followup@FreeBSD.org Cc: hrs@FreeBSD.org Subject: Re: ports/101327: port cad/pcb. Load netlist causes crash due to unloaded PTHREAD Date: Wed, 20 Sep 2006 18:15:33 -0000 (UTC) Hiroki Sato committed the patch 2006-09-18 18:13:41 UTC Revision Changes Path 1.53 +3 -2 ports/cad/pcb/Makefile This appears to fix the "load netlist" bug. I believe this PR should be ... CLOSED. Many thanks to Hiroki. State-Changed-From-To: feedback->closed State-Changed-By: hrs State-Changed-When: Wed Sep 20 20:12:28 UTC 2006 State-Changed-Why: The problem has been fixed. Thanks for the report! http://www.freebsd.org/cgi/query-pr.cgi?pr=101327 >Unformatted: