cinepaint

Alexander Janus avjwork at gmail.com
Tue Nov 5 18:39:39 UTC 2013


Hello! There is good news.
After some investigations I found solve.
I sent my report to FreeBSD-gnats (
http://www.freebsd.org/cgi/query-pr.cgi?pr=183691).
In attachment you can see patches for source files.
If you do not complicate, test them.


2013/11/2 Fernando Apesteguía <fernando.apesteguia at gmail.com>

>
> El 01/11/2013 18:53, "Alexander Janus" <avjwork at gmail.com> escribió:
>
> >
> > 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=0x80b3c9280,
> >     iface_node=0xc3faf00, support_interfaces=1, support_prerequisites=0,
> >     have_lock=0) 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=0x80b3c9280,
> >     iface_node=0xc3faf00, support_interfaces=1, support_prerequisites=0,
> >     have_lock=0) at gtype.c:3467
> > #1  0x0000000805b3a8bf in type_node_conforms_to_U (node=0x80b3c9280,
> >     iface_node=0xc3faf00, support_interfaces=1, support_prerequisites=0)
> >     at gtype.c:3513
> > #2  0x0000000805b3b460 in g_type_check_instance_is_a (
> >     type_instance=0x80b39e350, iface_type=205500160) at gtype.c:3999
> > #3  0x00000000004f26f1 in brush_select_new (title=0x0, init_name=0x0,
> >     init_opacity=0, init_spacing=0, init_noise_freq=0.25,
> >     init_noise_step_start=0.5, init_noise_step_width=0.5, init_mode=0)
> >     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=0,
> gimp_argv=0x7fffffffdab0)
> >     at app_procs.c:212
> > #7  0x00000000004ab667 in init () at main.c:537
> > #8  0x000000000048edd9 in install_verify (install_callback=0x4ab5c0
> <init>)
> >     at install.c:83
> > #9  0x00000000004ab5a0 in main (argc=1, argv=0x7fffffffdaa8) 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ía <fernando.apesteguia at gmail.com>
> >>
> >>
> >>
> >>
> >> On Thu, Oct 31, 2013 at 7:02 PM, Alexander Janus <avjwork at 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=yes 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=0x0, init_name=0x0,
> init_opacity=0, init_spacing=0, init_noise_freq=0.25,
> init_noise_step_start=0.5, init_noise_step_width=0.5, init_mode=0)
> >>>     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=0,
> gimp_argv=0x7fffffffdab0) at app_procs.c:212
> >>> #5  0x00000000004ab667 in init () at main.c:537
> >>> #6  0x000000000048edd9 in install_verify (install_callback=0x4ab5c0
> <init>) at install.c:83
> >>> #7  0x00000000004ab5a0 in main (argc=1, argv=0x7fffffffdaa8) 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 = 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ía <fernando.apesteguia at gmail.com>
> >>>>
> >>>>
> >>>> El 30/10/2013 19:36, "Alexander Janus" <avjwork at gmail.com> escribió:
> >>>>
> >>>>
> >>>> >
> >>>> > 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 at freebsd.org mailing list
> >>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> >>>> > To unsubscribe, send any mail to "
> freebsd-ports-unsubscribe at freebsd.org"
> >>>
> >>>
> >>
> >
>


More information about the freebsd-ports mailing list