Date: Tue, 5 Sep 2006 20:02:44 +0200
Thomas Girard <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> On Sun, Sep 03, 2006 at 01:54:18AM +0200, Nacho Barrientos Arias wrote:
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x00002b9f5159a3f0 in gtk_paint_hline () from /usr/lib/libgtk-1.2.so.0
> > (gdb) bt full
> > #0  0x00002b9f5159a3f0 in gtk_paint_hline ()
> > from /usr/lib/libgtk-1.2.so.0 No symbol table info available.
> > #1  0x00002b9f5159aaa1 in gtk_style_attach ()
> > from /usr/lib/libgtk-1.2.so.0 No symbol table info available.
> > #2  0x00002b9f515c8390 in gtk_widget_size_request ()
> > from /usr/lib/libgtk-1.2.so.0 No symbol table info available.
> > #3  0x0000000000423710 in EditorNew (core_ptr=0x6c9010) at editor.c:2851
> 
> I'm sorry, I can't find that code path.
> editor.c:2851 should call gtk_widget_set_style(), but maybe it is
> inlined?
> 
> Another try: could you please install libgtk1.2-dbg package, then
> export your LD_LIBRARY_PATH to /usr/lib/debug before running gdb
> again and send the output of bt full?

Attached.

-- 
bye,
        - Nacho
#0  0x00002b78e4d943f0 in gtk_style_init (style=0x826780, colormap=0x6dd870, 
depth=<value optimized out>)
    at gtkstyle.c:657
        gc_values = {foreground = {pixel = 7150384, red = 0, green = 0, blue = 
0}, background = {pixel = 25167021, 
    red = 22224, green = 130, blue = 0}, font = 0x0, function = GDK_COPY, fill 
= GDK_SOLID, tile = 0x0, stipple = 0x0, 
  clip_mask = 0x824e70, subwindow_mode = 3841190889, ts_x_origin = 11128, 
ts_y_origin = 0, clip_x_origin = 0, 
  clip_y_origin = 8541904, graphics_exposures = 0, line_width = 8539760, 
line_style = GDK_LINE_SOLID, 
  cap_style = 4753056, join_style = GDK_JOIN_MITER}
        i = <value optimized out>
        __PRETTY_FUNCTION__ = "gtk_style_init"
#1  0x00002b78e4d94aa1 in gtk_style_attach (style=0x826780, window=<value 
optimized out>) at gtkstyle.c:544
        styles = <value optimized out>
        new_style = (GtkStyle *) 0x826780
        colormap = (GdkColormap *) 0x6dd870
        depth = 24
        __PRETTY_FUNCTION__ = "gtk_style_attach"
#2  0x00002b78e4dc2390 in gtk_widget_set_style_internal (widget=0x824e70, 
style=0x826780, initial_emission=0)
    at gtkwidget.c:3560
        previous_style = (GtkStyle *) 0x707d10
        __PRETTY_FUNCTION__ = "gtk_widget_set_style_internal"
#3  0x0000000000423710 in EditorNew (core_ptr=0x6c9010) at editor.c:2851
        style_src_ptr = (GtkStyle *) 0x792b40
        i = 2
        w = (GtkWidget *) 0x824e70
        fw = (GtkWidget *) 0x7f62a0
        menu = (GtkWidget *) 0x7f7a80
        submenu = (GtkWidget *) 0x7af650
        parent = (GtkWidget *) 0x7bd160
        parent2 = (GtkWidget *) 0x801070
        parent3 = (GtkWidget *) 0x8244b0
        parent4 = (GtkWidget *) 0x824d70
        parent5 = (GtkWidget *) 0x80a600
        scroll_parent = (GtkWidget *) 0x824270
        colormap = (GdkColormap *) 0x6dd870
        style_ptr = (GtkStyle *) 0x826780
        clist = (GtkCList *) 0x7f6b40
        header_label_width = 100
        entry_rtn = (gpointer) 0x8246c0
        accel_key = 0
        accel_mods = 0
        accel_group = (gpointer) 0x0
        label = (const gchar *) 0x4f5917 "Revert"
        icon = (guint8 **) 0x68bb00
        mclient_data = (gpointer) 0x7bc4f0
        func_cb = (void (*)(GtkWidget *, gpointer)) 0x4295ff 
<EditorManualRevertCB>
        title = {0x4f59de "Layout"}
        cursors_list = (medit_cursors_list_struct *) 0x6c9020
        styles_list = (medit_styles_list_struct *) 0x6c9030
        pref = (pref_struct *) 0x799b20
        editor = (editor_struct *) 0x7bc4f0
        dnd_tar_types = {{target = 0x4f5e70 "text/plain", flags = 0, info = 0}, 
{target = 0x4f5e7b "text/uri-list", 
    flags = 0, info = 1}, {target = 0x4f5e89 "STRING", flags = 0, info = 2}, {
    target = 0x4f5e48 "manedit/editor/branch", flags = 1, info = 3}, {target = 
0x4f5e90 "manedit/viewer/branch", 
    flags = 1, info = 4}}
        dnd_src_types = {{target = 0x4f5e48 "manedit/editor/branch", flags = 1, 
info = 3}}
#4  0x000000000045fe17 in MEditInit (core_ptr=0x6c9010, argc=1, 
argv=0x7fffc6139bc8) at main.c:610
        i = 1
        status = 0
        s = (const gchar *) 0x6c5ea0 "/home/nacho/.maneditrc"
        arg = (const gchar *) 0x4600000064 <Address 0x4600000064 out of bounds>
        startup_viewer = 0
        editor_num = -1
        viewer_num = -1
        editor = (editor_struct *) 0x0
        viewer = (viewer_struct *) 0x0
        filename = (const gchar *) 0x0
        rcfile = (gchar *) 0x78fbf0 "/home/nacho/.maneditrc"
        style_standard = (GtkStyle *) 0x707d10
        colormap = (GdkColormap *) 0x6dd870
        window = (GdkWindow *) 0x6c3690
        cursors_list = (medit_cursors_list_struct *) 0x6c9020
        styles_list = (medit_styles_list_struct *) 0x6c9030
        pixmaps_list = (medit_pixmaps_list_struct *) 0x6c90d0
        fetype_list = (medit_fetype_list_struct *) 0x6c9140
#5  0x00000000004610a6 in main (argc=1, argv=0x7fffc6139bc8) at main.c:1264
        i = 1
        status = 0
        arg = (const gchar *) 0x0
        core_ptr = (medit_core_struct *) 0x6c9010

Reply via email to