From owner-freebsd-ports@FreeBSD.ORG Fri Nov 1 17:53:21 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5E2DA676 for ; Fri, 1 Nov 2013 17:53:21 +0000 (UTC) (envelope-from avjwork@gmail.com) Received: from mail-pb0-x22f.google.com (mail-pb0-x22f.google.com [IPv6:2607:f8b0:400e:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 355092D5C for ; Fri, 1 Nov 2013 17:53:21 +0000 (UTC) Received: by mail-pb0-f47.google.com with SMTP id rq13so489447pbb.6 for ; Fri, 01 Nov 2013 10:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=45vonF/NTO6Bd8TM0yOwZiaaKzAdV0a5BLWkT4eSj+c=; b=hETglm462I3/qHSACHRvqA6bgM+1t+DOTBJX0/4p5CE8gvkZYXaienmqUb+7LPA6WQ c+w+9Ihdk4UVCEV4Yzgl3EdV/FE/ctsgbUGGniAlmu4kR5RJl1R1+Ni4LgcQ+s1ogcTX yzMx+71sOJwDY8UU7Zjgb2UprbRKFCxNLu5Z/Nln5Zr4PbclhuhU0sfsSRLnk2XOMgPj aa+1WSa2gOy0mHrEx4j5miBk5pQHR0yvvXdvMqzgwwvecFOgBGkooMKFdgHuJvTDi1b7 sVoAtd3VcOYA+S/NP4RhQdGHEFOZLlY401069zvgPNutQoErv7heNL9GmJSvldh1K99P ro6A== MIME-Version: 1.0 X-Received: by 10.68.13.202 with SMTP id j10mr4329813pbc.147.1383328400785; Fri, 01 Nov 2013 10:53:20 -0700 (PDT) Received: by 10.70.70.230 with HTTP; Fri, 1 Nov 2013 10:53:20 -0700 (PDT) In-Reply-To: References: Date: Fri, 1 Nov 2013 20:53:20 +0300 Message-ID: Subject: Re: cinepaint From: Alexander Janus To: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Nov 2013 17:53:21 -0000 In my experiment I installed cinepaint and all other soft from packages repository under VirtualBox and FreeBSD 9.2 AMD64 Release. I've got the same results: Segmentation fault. I just recompile glib20 with debugging symbols, and get new backtrace: #0 0x0000000805b3a5ce in type_node_check_conformities_UorL (node=3D0x80b3c9280, iface_node=3D0xc3faf00, support_interfaces=3D1, support_prerequisites= =3D0, have_lock=3D0) at gtype.c:3467 3467 if (/* support_inheritance && */ [New Thread 80b007400 (LWP 100813/cinepaint)] (gdb) bt #0 0x0000000805b3a5ce in type_node_check_conformities_UorL (node=3D0x80b3c9280, iface_node=3D0xc3faf00, support_interfaces=3D1, support_prerequisites= =3D0, have_lock=3D0) at gtype.c:3467 #1 0x0000000805b3a8bf in type_node_conforms_to_U (node=3D0x80b3c9280, iface_node=3D0xc3faf00, support_interfaces=3D1, support_prerequisites= =3D0) at gtype.c:3513 #2 0x0000000805b3b460 in g_type_check_instance_is_a ( type_instance=3D0x80b39e350, iface_type=3D205500160) at gtype.c:3999 #3 0x00000000004f26f1 in brush_select_new (title=3D0x0, init_name=3D0x0, init_opacity=3D0, init_spacing=3D0, init_noise_freq=3D0.25, init_noise_step_start=3D0.5, init_noise_step_width=3D0.5, init_mode=3D0= ) at brush_select.c:554 #4 0x0000000000426611 in create_brush_dialog () at brushlist.c:520 #5 0x00000000004a79e6 in layout_restore () at layout.c:180 #6 0x000000000041b823 in gimp_init (gimp_argc=3D0, gimp_argv=3D0x7fffffffd= ab0) at app_procs.c:212 #7 0x00000000004ab667 in init () at main.c:537 #8 0x000000000048edd9 in install_verify (install_callback=3D0x4ab5c0 ) at install.c:83 #9 0x00000000004ab5a0 in main (argc=3D1, argv=3D0x7fffffffdaa8) at main.c:= 482 Is this indicates about bug in glib on the only 64-bit systems? I saw a discussion of this problem in NetBSD forum. 2013/11/1 Fernando Apestegu=EDa > > > > On Thu, Oct 31, 2013 at 7:02 PM, Alexander Janus wrote= : > >> Backtrace without debug information: >> >> #0 0x0000000805a50b5b in g_type_check_instance_is_a () from >> /usr/local/lib/libgobject-2.0.so.0 >> [New Thread 80b007400 (LWP 100668/cinepaint)] >> (gdb) bt >> #0 0x0000000805a50b5b in g_type_check_instance_is_a () from >> /usr/local/lib/libgobject-2.0.so.0 >> #1 0x00000000004b6f99 in display_brush_get_row_float16 () >> #2 0x0000000000422b0c in ?? () >> #3 0x000000000047fe67 in ?? () >> #4 0x000000000041c2f5 in ?? () >> #5 0x0000000000483346 in ?? () >> #6 0x000000000046f767 in ?? () >> #7 0x0000000000482f4d in ?? () >> #8 0x00000000004199e1 in ?? () >> #9 0x00000008007bf000 in ?? () >> #10 0x0000000000000000 in ?? () >> >> Backtrace with debug information (make WITH_DEBUG=3Dyes install): >> >> #0 0x0000000805adeb5b in g_type_check_instance_is_a () from >> /usr/local/lib/libgobject-2.0.so.0 >> [New Thread 80b007400 (LWP 100354/cinepaint)] >> (gdb) bt >> #0 0x0000000805adeb5b in g_type_check_instance_is_a () from >> /usr/local/lib/libgobject-2.0.so.0 >> #1 0x00000000004f26f1 in brush_select_new (title=3D0x0, init_name=3D0x0= , >> init_opacity=3D0, init_spacing=3D0, init_noise_freq=3D0.25, >> init_noise_step_start=3D0.5, init_noise_step_width=3D0.5, init_mode=3D0) >> at brush_select.c:554 >> #2 0x0000000000426611 in create_brush_dialog () at brushlist.c:520 >> #3 0x00000000004a79e6 in layout_restore () at layout.c:180 >> #4 0x000000000041b823 in gimp_init (gimp_argc=3D0, >> gimp_argv=3D0x7fffffffdab0) at app_procs.c:212 >> #5 0x00000000004ab667 in init () at main.c:537 >> #6 0x000000000048edd9 in install_verify (install_callback=3D0x4ab5c0 >> ) at install.c:83 >> #7 0x00000000004ab5a0 in main (argc=3D1, argv=3D0x7fffffffdaa8) at main= .c:482 >> > > I don't see much there. g_type_check_instance_is_a should have two > parameters but they are not shown in the backtrace. I googled a while and > it seems there are other packages (gedit, gimp) that suffer from similar > bugs. > > The offending line seems to be this one inside g_type_check_instance_is_a= _ > > node =3D lookup_type_node_I (type_instance->g_class->g_type); > > Is your glib installed from binary or did you build it yourself? If the > case is the latter, I would try to use the one in the repositories just i= n > case. > > Cheers. > > >> >> >> 2013/10/31 Fernando Apestegu=EDa >> >>> >>> El 30/10/2013 19:36, "Alexander Janus" escribi=F3: >>> >>> > >>> > Good day, Dear Sirs! >>> > >>> > Help me, please. I build cinepaint port on my FreeBSD 9.2 release AMD= 64 >>> > desktop , build was successfull, but launch causes "Segmentation >>> fault". >>> > Ok, I pkg_add -r cinepaint, and I again get "Segmentation fault". >>> Why?!! >>> > When I doing the same thing on FreeBSD 9.1 (release i386) I do not ge= t >>> > errors and application working normal. "Googling" do not get me usefu= l >>> > information. >>> > >>> > P.S. Sorry for my terrible english. >>> >>> Did the process dumped a core file? >>> If so, could you paste the backtrace? >>> >>> > _______________________________________________ >>> > freebsd-ports@freebsd.org mailing list >>> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports >>> > To unsubscribe, send any mail to " >>> freebsd-ports-unsubscribe@freebsd.org" >>> >> >> >