#15 segfault when activating the module on Solaris 9 sparc

closed-fixed
None
5
2003-08-10
2003-08-01
Benson
No

Hello,

Running on Solaris 9 sparc.
GAIM is doing a segfault when activating the module.
Here's a truss of gaim

gaim-encryption: plugin_load called
write(1, " g a i m - e n c r y p t".., 36) = 36
access("/usr/lib/gtk-2.0/2.0.100/loaders/libpixbufloader-xpm.so",
0) = 0
open("/usr/lib/gtk-2.0/2.0.100/loaders/libpixbufloader-xpm.so",
O_RDONLY) = 8
fstat(8, 0xFFBFC3E4) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC,
MAP_PRIVATE, 8, 0) = 0xFDFA0000
mmap(0x00000000, 106496, PROT_READ|PROT_EXEC,
MAP_PRIVATE, 8, 0) = 0xFDF10000
mmap(0xFDF26000, 8548, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 8, 24576) = 0xFDF26000
munmap(0xFDF18000, 57344) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFDF00000
resolvepath("/usr/lib/gtk-2.0/2.0.100/loaders/libpixbufloader-xpm.so",
"/usr/lib/gtk-2.0/2.0.100/loaders/libpixbufloader-xpm.so",
1023) = 55
memcntl(0xFDF10000, 12328, MC_ADVISE, MADV_WILLNEED, 0,
0) = 0
close(8) = 0
open("/usr/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY) = 8
fstat(8, 0xFFBFC324) = 0
close(8) = 0
open("/usr/lib/libgobject-2.0.so.0", O_RDONLY) = 8
fstat(8, 0xFFBFC324) = 0
close(8) = 0
open("/usr/lib/libglib-2.0.so.0", O_RDONLY) = 8
fstat(8, 0xFFBFC324) = 0
close(8) = 0
open("/usr/lib/libc.so.1", O_RDONLY) = 8
fstat(8, 0xFFBFC324) = 0
close(8) = 0
munmap(0xFDFA0000, 8192) = 0
Incurred fault #6, FLTBOUNDS %pc = 0xFE932E48
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000002
Received signal #11, SIGSEGV [caught]
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000002
sigprocmask(SIG_SETMASK, 0xFFBFC6AC, 0x00000000) = 0
fstat64(2, 0xFFBFB660) = 0
Oh no! Segmentation fault!
write(2, " O h n o ! S e g m".., 28) = 28
sigaction(SIGABRT, 0x00000000, 0xFFBFC538) = 0
sigaction(SIGABRT, 0xFFBFC368, 0xFFBFC488) = 0
sigprocmask(SIG_SETMASK, 0xFEA1A074, 0xFFBFC3E8) = 0
sigprocmask(SIG_SETMASK, 0xFFBFC3D4, 0x00000000) = 0
lwp_kill(1, SIGABRT) = 0
Received signal #6, SIGABRT [default]
siginfo: SIGABRT pid=25620 uid=100 code=-1

Discussion

  • Benson

    Benson - 2003-08-01

    Logged In: YES
    user_id=595305

    I can provide you with a core file if you want.

     
  • Bill Tompkins

    Bill Tompkins - 2003-08-02
    • assigned_to: nobody --> obobo
     
  • Benson

    Benson - 2003-08-04

    Logged In: YES
    user_id=595305

    Here is the gdb backtrace :

    snip@InVinoVeritas:/tmp$ /opt/sfw/bin/gdb /usr/local/bin/gaim
    GNU gdb 5.0
    Copyright 2000 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 "sparc-sun-solaris2.9"...
    (gdb) run
    Starting program: /usr/local/bin/gaim
    sound: Initializing sound output drivers.
    signals: Adding callback 1
    prefs: Reading /home/snip/.gaim/prefs.xml
    prefs: Finished reading /home/snip/.gaim/prefs.xml
    account: Setting bool: check-mail, 0
    account: Setting bool: check-mail, 0
    account: Setting bool: check-mail, 0
    tray icon: plugin loaded
    tray icon: created
    signals: Adding callback 2
    signals: Adding callback 3
    signals: Adding callback 4
    signals: Adding callback 5
    signals: Adding callback 6
    signals: Adding callback 7
    signals: Adding callback 8
    pounces: Error reading pounces: Failed to open file
    '/home/snip/.gaim/pounces.xml': No such file or directory
    signals: Adding callback 9
    signals: Adding callback 10
    blist import: Reading /home/snip/.gaim/blist.xml
    blist import: Finished reading /home/snip/.gaim/blist.xml
    Session Management: ICE initialized.
    Session Management: Connecting with no previous ID
    Session Management: Handling new ICE connection... done.
    Session Management: Connected to manager (KDE) with client
    ID 11390401de000106001162900000005970167
    Session Management: Using /usr/local/bin/gaim as command
    Session Management: Received first save_yourself
    Session Management: Received save_complete
    tray icon: embedded
    accounts: Writing accounts to disk.
    gaim-encryption: plugin_load called

    Program received signal SIGSEGV, Segmentation fault.
    0xfe932e48 in strlen () from /usr/lib/libc.so.1
    (gdb) bt
    #0 0xfe932e48 in strlen () from /usr/lib/libc.so.1
    #1 0xfdf13e4c in pixbuf_create_from_xpm ()
    from /usr/lib/gtk-2.0/2.0.100/loaders/libpixbufloader-xpm.so
    #2 0xfdf14038 in gdk_pixbuf__xpm_image_load_xpm_data ()
    from /usr/lib/gtk-2.0/2.0.100/loaders/libpixbufloader-xpm.so
    #3 0xff0a62c8 in gdk_pixbuf_new_from_xpm_data ()
    from /usr/lib/libgdk_pixbuf-2.0.so.0
    #4 0xfe4d84ec in GE_pixmap_init () at encrypt.c:941
    #5 0xfe4d85e4 in GE_plugin_load (h=0x1490c0) at encrypt.c:957
    #6 0x4b5e8 in gaim_plugin_load (plugin=0x1490c0) at
    plugin.c:253
    #7 0xd0488 in plugin_load (cell=0x2b6d80, pth=0x2bfa90 "4",
    data=0x2c0328)
    at gtkprefs.c:1659
    #8 0xfef3b55c in g_closure_invoke () from
    /usr/lib/libgobject-2.0.so.0
    #9 0xfef52dcc in signal_emit_unlocked_R () from
    /usr/lib/libgobject-2.0.so.0
    #10 0xfef51600 in g_signal_emit_valist () from
    /usr/lib/libgobject-2.0.so.0
    #11 0xff23502c in gtk_signal_emit () from
    /usr/lib/libgtk-x11-2.0.so.0
    #12 0xff166210 in gtk_cell_renderer_toggle_activate ()
    from /usr/lib/libgtk-x11-2.0.so.0
    #13 0xff1625a8 in gtk_cell_renderer_activate () from
    /usr/lib/libgtk-x11-2.0.so.0
    #14 0xff2caf4c in gtk_tree_view_column_cell_process_action ()
    from /usr/lib/libgtk-x11-2.0.so.0
    #15 0xff2cb750 in _gtk_tree_view_column_cell_event ()
    from /usr/lib/libgtk-x11-2.0.so.0
    #16 0xff2b2ea4 in gtk_tree_view_button_press () from
    /usr/lib/libgtk-x11-2.0.so.0
    #17 0xff1eb738 in _gtk_marshal_BOOLEAN__BOXED () from
    /usr/lib/libgtk-x11-2.0.so.0
    #18 0xfef3b55c in g_closure_invoke () from
    /usr/lib/libgobject-2.0.so.0
    #19 0xfef533ac in signal_emit_unlocked_R () from
    /usr/lib/libgobject-2.0.so.0
    #20 0xfef51670 in g_signal_emit_valist () from
    /usr/lib/libgobject-2.0.so.0
    #21 0xff23502c in gtk_signal_emit () from
    /usr/lib/libgtk-x11-2.0.so.0
    #22 0xff2d9708 in gtk_widget_event_internal () from
    /usr/lib/libgtk-x11-2.0.so.0
    #23 0xff1eb59c in gtk_propagate_event () from
    /usr/lib/libgtk-x11-2.0.so.0
    #24 0xff1ea184 in gtk_main_do_event () from
    /usr/lib/libgtk-x11-2.0.so.0
    #25 0xff04023c in gdk_event_dispatch () from
    /usr/lib/libgdk-x11-2.0.so.0
    #26 0xfeea7e9c in g_main_dispatch () from
    /usr/lib/libglib-2.0.so.0
    #27 0xfeea9204 in g_main_context_dispatch () from
    /usr/lib/libglib-2.0.so.0
    #28 0xfeea9614 in g_main_context_iterate () from
    /usr/lib/libglib-2.0.so.0
    #29 0xfeea9f20 in g_main_loop_run () from
    /usr/lib/libglib-2.0.so.0
    #30 0xff1e9608 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
    #31 0xe334c in main (argc=1, argv=0xffbff04c) at main.c:911
    (gdb)

     
  • Bill Tompkins

    Bill Tompkins - 2003-08-04
    • status: open --> open-fixed
     
  • Bill Tompkins

    Bill Tompkins - 2003-08-04

    Logged In: YES
    user_id=21203

    Thanks! There was a bug in the icon code that manifested
    differently under Linux. Having that backtrace was very
    useful- cross-platform compiling is a great way to find bugs :)

    This should be fixed now in CVS, and will be in the next
    release.

     
  • Bill Tompkins

    Bill Tompkins - 2003-08-10
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks