Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2013 23:21:24 +0100
From:      =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
To:        Alexander Janus <avjwork@gmail.com>
Cc:        ports@freebsd.org
Subject:   Re: cinepaint
Message-ID:  <CAGwOe2aRHRt9%2Bx1ncxRi98Tr3=WgMmP%2B=1%2BWbJ2iu5kk%2Bw2o%2BQ@mail.gmail.com>
In-Reply-To: <CAJF_uH%2Bu5VdheoFuLaiumaWTFVeYcQt_jgmo8UoBsY%2BUq_E0_A@mail.gmail.com>
References:  <CAJF_uHKT7TjYjb3BrkKZ-vTYm=N98GrmLdhpWW8SDF8sCrR0Jg@mail.gmail.com> <CAGwOe2ZN1oeQnibWCY0Can5n3_SfvvNVKyW5xD-rtuXKjBHpGQ@mail.gmail.com> <CAJF_uHLNqMknA3nNFJqB_B=%2BS2yU_rV3vOyJHpvLdKCYeNP6hQ@mail.gmail.com> <CAGwOe2YDPfmRZqrPuGTHWHEwMbe25q4LWaWzsEGam6Ug2MKU1w@mail.gmail.com> <CAJF_uH%2Bu5VdheoFuLaiumaWTFVeYcQt_jgmo8UoBsY%2BUq_E0_A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El 01/11/2013 18:53, "Alexander Janus" <avjwork@gmail.com> escribi=F3:
>
> 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=3D0x7fffffffdab0)
>     at app_procs.c:212
> #7  0x00000000004ab667 in init () at main.c:537
> #8  0x000000000048edd9 in install_verify (install_callback=3D0x4ab5c0
<init>)
>     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.

it looks like.

>
>
> 2013/11/1 Fernando Apestegu=EDa <fernando.apesteguia@gmail.com>
>>
>>
>>
>>
>> On Thu, Oct 31, 2013 at 7:02 PM, Alexander Janus <avjwork@gmail.com>
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=3D0x=
0,
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
<init>) 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 in
case.
>>
>> Cheers.
>>
>>>
>>>
>>>
>>> 2013/10/31 Fernando Apestegu=EDa <fernando.apesteguia@gmail.com>
>>>>
>>>>
>>>> El 30/10/2013 19:36, "Alexander Janus" <avjwork@gmail.com> escribi=F3:
>>>>
>>>>
>>>> >
>>>> > Good day, Dear Sirs!
>>>> >
>>>> > Help me, please. I build cinepaint port on my FreeBSD 9.2 release
AMD64
>>>> > 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
get
>>>> > errors and application working normal. "Googling" do not get me
useful
>>>> > 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"
>>>
>>>
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2aRHRt9%2Bx1ncxRi98Tr3=WgMmP%2B=1%2BWbJ2iu5kk%2Bw2o%2BQ>