From nobody@FreeBSD.org  Thu Jul  1 08:53:17 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 422AA106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  1 Jul 2010 08:53:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 31B168FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  1 Jul 2010 08:53:17 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o618rG85064392
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 1 Jul 2010 08:53:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o618rGUT064391;
	Thu, 1 Jul 2010 08:53:16 GMT
	(envelope-from nobody)
Message-Id: <201007010853.o618rGUT064391@www.freebsd.org>
Date: Thu, 1 Jul 2010 08:53:16 GMT
From: Alexander Bezrukov <coocos@coocos.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FLTK2 Segmentation fault
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         148277
>Category:       ports
>Synopsis:       x11-toolkits/fltk2 segmentation fault
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 01 09:00:10 UTC 2010
>Closed-Date:    Thu Sep 02 12:09:50 UTC 2010
>Last-Modified:  Thu Sep 02 12:09:50 UTC 2010
>Originator:     Alexander Bezrukov
>Release:        9.0-CURRENT-201006
>Organization:
null
>Environment:
FreeBSD freebsd.equifax.local 9.0-CURRENT-201006 FreeBSD 9.0-CURRENT-201006 #0: Mon Jun  7 18:51:45 UTC 2010     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Applications compiled using fltk2 of the ports causes "Segmentation fault: 11 (core dumped)".
>How-To-Repeat:
Build simple application:
"""
using namespace fltk;
int main(int argc, char **argv) {
  Window *window = new Window(200, 100);
  window->begin();
  Widget *box = new Widget(40, 20, 120, 60, "test");
  box->labelsize(16);
  window->end();
  window->show(argc, argv);
  return run();
}
"""

Compile with:
#g++ fl.cpp -o fl -I/usr/local/include -L/usr/local/lib -lfltk2 -lX11 -lXext -lXft -lXt -lXau -lXv -lXi -lXinerama

or run examples from /usr/local/share/examples/fltk2
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Fri Aug 13 12:13:23 UTC 2010 
State-Changed-Why:  
Cannot reproduce.  Can you provide patch with the fix? 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Fri Aug 13 12:13:23 UTC 2010 
Responsible-Changed-Why:  
Cannot reproduce.  Can you provide patch with the fix? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148277 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Thu Sep 2 12:09:40 UTC 2010 
State-Changed-Why:  
Feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148277 
>Unformatted:
