Menu

#1 Segfault when opening tree

open
nobody
None
5
2005-08-25
2005-08-25
Rolf
No

Hi,

I was using jags to browse the samba shares on a
computer in the LAN. I can reliably reproduce a
segfault when clicking on the plus sign to try and view
the shares on that computer. Let me know what further
information you need to get to the root of this problem.

Best

Rolf

Discussion

  • Daniel Sundberg

    Daniel Sundberg - 2005-08-25

    Logged In: YES
    user_id=61019

    If you reliably can produce a segfault, then please provide
    a step by step instruction on how to reproduce this. You
    should also provide a description of you environment.

    You might also want to run jags in gdb and produce a
    backtrace, you could also paste in the console output from jags.

     
  • Rolf

    Rolf - 2005-08-25

    Logged In: YES
    user_id=1159152

    Hi sumpan,

    thanks for getting back so quickly. Here is the
    step-by-step guide.

    1) open jags
    2) click the plus next to the Samba Network
    3) click the plus on a workgroup
    4) click the plus next to one of the computers
    result: I get an empty list and the disappears
    5) double-click on this computer
    result: segfault

    I am sorry my initial report was unclear to the point of
    false information on this. My computer runs Debian testing,
    jags is version 0.22.1-2 from Debian testing. If you need
    further information about the environment let me know.

    Here is the gdb backtrace.

    $ gdb jags
    GNU gdb 6.3-debian
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public
    License, and you are
    welcome to change it and/or distribute copies of it under
    certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show
    warranty" for details.
    This GDB was configured as "i386-linux"...(no debugging
    symbols found)
    Using host libthread_db library "/lib/libthread_db.so.1".

    (gdb) run
    Starting program: /usr/bin/jags
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    Opening mounted shares window...
    Adding allready mounted shares
    No shares to premount
    Loading bookmarks...
    No bookmarks to load
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    Fetching LocalMasterBrowser IP for native workgroup
    SpreadPrint...
    Broadcast LocalMasterBrowser search success
    Found LocalMasterBrowser....SALSA
    Trying to list network workgroups...Domain=[SPREADPRINT]
    OS=[Unix] Server=[Samba 3.0.9-2.3-SUSE]
    Domain=[SPREADPRINT] OS=[Unix] Server=[Samba 3.0.9-2.3-SUSE]
    done!
    Fetching masterbrowser for
    SPREADPRINT...LocalMasterBrowser...SALSA
    Listing servers in SPREADPRINT...Domain=[SPREADPRINT]
    OS=[Unix] Server=[Samba 3.0.9-2.3-SUSE]
    Domain=[SPREADPRINT] OS=[Unix] Server=[Samba 3.0.9-2.3-SUSE]
    done
    Reading servers comments (outfile2.dat)...done!
    Please wait for graphics...CANON
    M01
    M06
    P20 stick pc
    P21
    P29
    P39
    P44
    P47 Computer 47
    PLOTTER-A
    PLOTTER-B
    RECHNER-01
    RECHNER-03 P01
    SALSA Server
    done!
    Listing shares with LocalMasterBrowser
    list_shares_remote.sh "SALSA"
    Listing shares in SPREADPRINT workgroup on SALSA
    server...Domain=[SPREADPRINT] OS=[Unix] Server=[Samba
    3.0.9-2.3-SUSE]
    Domain=[SPREADPRINT] OS=[Unix] Server=[Samba 3.0.9-2.3-SUSE]
    done!
    Reading share type (outfile2.dat)...done!
    Reading share comments (outfile3.dat)...done!
    Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkTree'

    Program received signal SIGSEGV, Segmentation fault.
    0x0805efbd in expand_server ()
    (gdb) bt
    #0 0x0805efbd in expand_server ()
    #1 0x400c2f86 in gtk_marshal_NONE__NONE () from
    /usr/lib/libgtk-1.2.so.0
    #2 0x400fb6d5 in gtk_signal_remove_emission_hook ()
    from /usr/lib/libgtk-1.2.so.0
    #3 0x400fa86a in gtk_signal_set_funcs () from
    /usr/lib/libgtk-1.2.so.0
    #4 0x400f8134 in gtk_signal_emit () from
    /usr/lib/libgtk-1.2.so.0
    #5 0x40126ce9 in gtk_tree_item_expand () from
    /usr/lib/libgtk-1.2.so.0
    #6 0x0805faaf in check_server_click ()
    #7 0x400c2bb6 in gtk_marshal_BOOL__POINTER () from
    /usr/lib/libgtk-1.2.so.0
    #8 0x400fb6d5 in gtk_signal_remove_emission_hook ()
    from /usr/lib/libgtk-1.2.so.0
    #9 0x400fa98b in gtk_signal_set_funcs () from
    /usr/lib/libgtk-1.2.so.0
    #10 0x400f8134 in gtk_signal_emit () from
    /usr/lib/libgtk-1.2.so.0
    #11 0x40139748 in gtk_widget_event () from
    /usr/lib/libgtk-1.2.so.0
    #12 0x400c2a0f in gtk_propagate_event () from
    /usr/lib/libgtk-1.2.so.0
    #13 0x400c17d4 in gtk_main_do_event () from
    /usr/lib/libgtk-1.2.so.0
    #14 0x40181fd5 in gdk_wm_protocols_filter () from
    /usr/lib/libgdk-1.2.so.0
    #15 0x080be3cc in ?? ()
    #16 0x00000000 in ?? ()
    #17 0x080cfe00 in ?? ()
    #18 0x401c924c in ?? () from /usr/lib/libglib-1.2.so.0
    #19 0x401c924c in ?? () from /usr/lib/libglib-1.2.so.0
    #20 0x00000000 in ?? ()
    #21 0xbffff8c8 in ?? ()
    #22 0x401b6dd8 in g_get_current_time () from
    /usr/lib/libglib-1.2.so.0
    #23 0x401b6dd8 in g_get_current_time () from
    /usr/lib/libglib-1.2.so.0
    #24 0x401b72c1 in g_get_current_time () from
    /usr/lib/libglib-1.2.so.0
    #25 0x401b75e5 in g_main_run () from /usr/lib/libglib-1.2.so.0
    #26 0x400c125f in gtk_main () from /usr/lib/libgtk-1.2.so.0
    #27 0x0805fc90 in main ()

    Regards

    Rolf

     

Log in to post a comment.

MongoDB Logo MongoDB