bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] gnubg for Leopard crashes with gtk+2.14.3


From: Zulli, Louis P
Subject: Re: [Bug-gnubg] gnubg for Leopard crashes with gtk+2.14.3
Date: Wed, 08 Oct 2008 06:04:12 -0400


The crash was indeed caused by linking with an old libcairo.dylib. I now have gnubg working with gtk+-2.14.3. All seems fine, except for

Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

Thanks,
Louis





On Tue, 07 Oct 2008 07:52:48 -0400
 "Zulli, Louis P" <address@hidden> wrote:
On Tue, 7 Oct 2008 13:35:21 +0200
 "Christian Anthon" <address@hidden> wrote:
A crash after so many calls inside gtk suggests that it is not our
bug.

Yes, I agree.

 It looks like you have recompiled pango and gtk yourself but that
cairo is from a different source, possibly that is the problem.

I compiled the newest versions of all, including cairo, from source, in the proper sequence.

I suggest that you recompile cairo, pango and pangocairo and see if that
helps, and make sure that the headers from your own packages (gtk,
glib, pango, cairo, etc is used in each step).

Good suggestion. I'll try again.


Thanks.



 If the problem persist
we will have to report the problem up stream.

I have gnubg working with gtk 2.14.3 on my own computer after
upgrading my ubuntu, so that is not the problem as such.

Christian.

On Mon, Oct 6, 2008 at 5:00 PM, Zulli, Louis P <address@hidden> wrote:
On Mon, 6 Oct 2008 14:39:08 +0200
 "Christian Anthon" <address@hidden> wrote:

The warnings are unrelated to the bug.

The line numbers in the back trace doesn't match up with what I have.
But I believe that it could be line 238:

gtk_widget_ensure_style( pwGameList );

Which doesn't seem to do anything anyway. So try deleting that and see
what happens.

Christian.


I grabbed the latest snapshot of gnubg. I commented out line 238 in
gtkgamelist.c.

 /* gtk_widget_ensure_style( pwGameList ); */

Same crash occurs. Here is the crash report, with line numbers that should
be in sync with what you have:

 Process:         gnubg [34002]
Path:            /usr/local/bin/gnubg
Identifier:      gnubg
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  bash [66722]

Date/Time:       2008-10-06 10:55:57.457 -0400
OS Version:      Mac OS X 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000010
Crashed Thread:  0

Thread 0 Crashed:
0   libcairo.2.dylib                    0x042d88e0 _cairo_cache_freeze + 16
1   libcairo.2.dylib                    0x042ec7d4
cairo_scaled_font_glyph_extents + 132
2   libpangocairo-1.0.0.dylib           0x04c8c1a1
_pango_cairo_font_private_get_glyph_extents + 145 (pangocairo-font.c:693)
3   pango-basic-atsui.so                0x05634b77 set_glyph + 135
(basic-atsui.c:68)
4   pango-basic-atsui.so                0x05634dcc basic_engine_shape + 572
(basic-atsui.c:139)
5   libpango-1.0.0.dylib                0x04f458a8 pango_shape + 88
(shape.c:58)
6   libpango-1.0.0.dylib                0x04f3688e shape_run + 142
(pango-layout.c:3130)
7   libpango-1.0.0.dylib                0x04f39ccc process_item + 220
(pango-layout.c:3240)
8   libpango-1.0.0.dylib                0x04f3a5f5 pango_layout_check_lines
+ 1397 (pango-layout.c:3534)
9   libpango-1.0.0.dylib                0x04f3b68c
pango_layout_get_extents_internal + 156 (pango-layout.c:2449)
10  libpangocairo-1.0.0.dylib           0x04c90f26
pango_cairo_atsui_font_create_metrics_for_context + 326
(pangocairo-atsuifont.c:151)
11  libpangocairo-1.0.0.dylib           0x04c8b62c
_pango_cairo_font_get_metrics + 316 (pangocairo-font.c:250)
12  libpango-1.0.0.dylib                0x04f31554 get_first_metrics_foreach
+ 36 (pango-context.c:1554)
13  libpango-1.0.0.dylib                0x04f33a26
pango_fontset_simple_foreach + 70 (pango-fontset.c:399)
14  libpango-1.0.0.dylib                0x04f3163c pango_context_get_metrics
+ 156 (pango-context.c:1668)
15  libgtk-x11-2.0.0.dylib              0x048414f4 gtk_clist_set_row_height
+ 180 (gtkclist.c:3053)
16  libgtk-x11-2.0.0.dylib              0x0484396e gtk_clist_style_set + 190
(gtkclist.c:4835)
17  libgobject-2.0.0.dylib              0x0506c7a9 g_closure_invoke + 329
(gclosure.c:772)
18  libgobject-2.0.0.dylib              0x0507cc25 signal_emit_unlocked_R +
933 (gsignal.c:3086)
19  libgobject-2.0.0.dylib              0x0507e6db g_signal_emit_valist +
1771 (gsignal.c:3005)
20  libgobject-2.0.0.dylib              0x0507eab9 g_signal_emit + 41
(gsignal.c:3036)
21  libgtk-x11-2.0.0.dylib              0x048117c4
gtk_widget_set_style_internal + 132 (gtkwidget.c:6108)
22  gnubg                               0x000e5b57 GL_Create + 535
(gtkgamelist.c:250)
23  gnubg                               0x000e917d CreateGameWindow + 1069
(gtkpanels.c:866)
24  gnubg                               0x000ea35a DockPanels + 1146
(gtkpanels.c:897)
25  gnubg                               0x000aa64f CreateMainWindow + 1263
(gtkgame.c:3613)
26  gnubg                               0x000aad14 InitGTK + 628
(gtkgame.c:3742)
27  gnubg                               0x0002e885 main + 2101
(gnubg.c:5007)
28  gnubg                               0x000030b6 start + 54






_______________________________________________
Bug-gnubg mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gnubg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]