#15 Lostirc 0.4.0 segfaults sometimes

closed-fixed
nobody
None
5
2004-08-03
2004-06-10
Priit Laes
No

I usually leave lostirc working when I go to work or out and when I return
lostirc has segfaulted.

Using version 0.4.0.

I'll try to get a coredump...

Discussion

  • Priit Laes

    Priit Laes - 2004-06-10
    • summary: Lostirc segfaults sometimes --> Lostirc 0.4.0 segfaults sometimes
     
  • Priit Laes

    Priit Laes - 2004-06-11

    Logged In: YES
    user_id=111196

    Program received signal SIGSEGV, Segmentation fault.
    0x182ded8c in ?? ()
    (gdb) bt
    #0 0x182ded8c in ?? ()
    #1 0x0825c5d9 in ?? ()
    #2 0x0829c740 in ?? ()
    #3 0x40670b11 in sigc::slot_base::~slot_base () from /usr/lib/libsigc-2.0.so.0
    #4 0x4064f974 in (anonymous namespace)::SourceConnectionNode::
    destroy_notify_callback () from /usr/lib/libglibmm-2.4.so.1
    #5 0x40777208 in g_source_set_callback_indirect ()
    from /usr/lib/libglib-2.0.so.0
    #6 0x082ab300 in ?? ()
    #7 0x4064fb30 in (anonymous namespace)::glibmm_dummy_source_callback
    ()
    from /usr/lib/libglibmm-2.4.so.1
    #8 0x0829c740 in ?? ()
    #9 0xbfffec38 in ?? ()
    #10 0x407d01a8 in ?? () from /usr/lib/libglib-2.0.so.0
    #11 0x407d01a8 in ?? () from /usr/lib/libglib-2.0.so.0
    #12 0x4077ad30 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
    #13 0x407d0a40 in g_thread_use_default_impl () from /usr/lib/libglib-2.0.so.0
    #14 0x4077ad90 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
    #15 0x00000001 in ?? ()
    #16 0x00000000 in ?? ()
    #17 0x00000000 in ?? ()
    #18 0x08277078 in ?? ()
    #19 0x4064fb30 in (anonymous namespace)::
    glibmm_dummy_source_callback ()
    #20 0x0829c740 in ?? ()
    #21 0x407d01a8 in ?? () from /usr/lib/libglib-2.0.so.0
    #22 0x081473c0 in ?? ()
    #23 0x00000004 in ?? ()
    #24 0x08277008 in ?? ()
    #25 0x407793c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #26 0x081473c0 in ?? ()
    #27 0x407d01a8 in ?? () from /usr/lib/libglib-2.0.so.0
    #28 0x00000001 in ?? ()
    #29 0x40779724 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #30 0x081473c0 in ?? ()
    #31 0x00000000 in ?? ()
    #32 0x08277008 in ?? ()
    #33 0x00000004 in ?? ()
    #34 0x00000004 in ?? ()
    #35 0x00000001 in ?? ()
    #36 0x00000000 in ?? ()
    #37 0x4077854d in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
    #38 0xbfffec94 in ?? ()
    #39 0x407d0a40 in g_thread_use_default_impl () from /usr/lib/libglib-2.0.so.0
    #40 0x407d0a20 in glib_mem_profiler_table () from /usr/lib/libglib-2.0.so.0
    #41 0x407d0dc0 in _g_debug_flags () from /usr/lib/libglib-2.0.so.0
    #42 0x00000000 in ?? ()
    #43 0x00000000 in ?? ()
    #44 0x407d01a8 in ?? () from /usr/lib/libglib-2.0.so.0
    #45 0x08276ff8 in ?? ()
    #46 0x00000001 in ?? ()
    #47 0x00000001 in ?? ()
    #48 0x40779da4 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
    #49 0x40756e84 in ?? () from /usr/lib/libglib-2.0.so.0
    #50 0x405fd848 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #51 0xbfffed70 in ?? ()
    #52 0x00000000 in ?? ()
    #53 0x00000000 in ?? ()
    #54 0x4000b280 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
    #55 0x4044fb91 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
    #56 0x08276ff8 in ?? ()
    #57 0x08276ff8 in ?? ()
    #58 0x40276834 in ?? () from /usr/lib/libgtkmm-2.4.so.1
    #59 0xbfffed70 in ?? ()
    #60 0x40015460 in _rtld_global () from /lib/ld-linux.so.2
    #61 0xbfffed60 in ?? ()
    #62 0x4019b357 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
    #63 0x4019b19e in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
    #64 0x0809b322 in main ()

     
  • Priit Laes

    Priit Laes - 2004-06-11

    Logged In: YES
    user_id=111196

    Another one... libsigc++ is compiled with debug flags now...

    Program received signal SIGSEGV, Segmentation fault.
    0x0844f410 in ?? ()
    (gdb) bt
    #0 0x0844f410 in ?? ()
    #1 0x08305ec0 in ?? ()
    #2 0x407d0ca0 in ?? () from /usr/lib/libglib-2.0.so.0
    #3 0x407d01a8 in ?? () from /usr/lib/libglib-2.0.so.0
    #4 0x4077adbf in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
    #5 0x4066a338 in ?? () from /usr/lib/libglibmm-2.4.so.1
    #6 0x08276d38 in ?? ()
    #7 0x407d09bc in g_idle_funcs () from /usr/lib/libglib-2.0.so.0
    #8 0x4064f974 in (anonymous namespace)::SourceConnectionNode::
    destroy_notify_callback () from /usr/lib/libglibmm-2.4.so.1
    #9 0x40777208 in g_source_set_callback_indirect ()
    from /usr/lib/libglib-2.0.so.0
    #10 0x0827bce0 in ?? ()
    #11 0x4064fb30 in (anonymous namespace)::
    glibmm_dummy_source_callback ()
    from /usr/lib/libglibmm-2.4.so.1
    #12 0x08276d38 in ?? ()
    #13 0xbfffec48 in ?? ()
    #14 0x407d01a8 in ?? () from /usr/lib/libglib-2.0.so.0
    #15 0x407d01a8 in ?? () from /usr/lib/libglib-2.0.so.0
    #16 0x4077ad30 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
    #17 0x407d0a40 in g_thread_use_default_impl () from /usr/lib/libglib-2.0.so.0
    #18 0x4077ad90 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
    #19 0x00000001 in ?? ()
    ---Type <return> to continue, or q <return> to quit---
    #20 0x00000000 in ?? ()
    #21 0x00000000 in ?? ()
    #22 0x08276e78 in ?? ()
    #23 0x4064fb30 in (anonymous namespace)::glibmm_dummy_source_callback
    ()
    from /usr/lib/libglibmm-2.4.so.1
    #24 0x08276d38 in ?? ()
    #25 0x407d01a8 in ?? () from /usr/lib/libglib-2.0.so.0
    #26 0x081473c0 in ?? ()
    #27 0x00000004 in ?? ()
    #28 0x08276e08 in ?? ()
    #29 0x407793c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #30 0x081473c0 in ?? ()
    #31 0x407d01a8 in ?? () from /usr/lib/libglib-2.0.so.0
    #32 0x00000001 in ?? ()
    #33 0x40779724 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #34 0x081473c0 in ?? ()
    #35 0x00000000 in ?? ()
    #36 0x08276e08 in ?? ()
    #37 0x00000004 in ?? ()
    #38 0x00000004 in ?? ()
    #39 0x00000001 in ?? ()
    #40 0x00000000 in ?? ()
    #41 0x4077854d in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    #42 0xbfffeca4 in ?? ()
    #43 0x407d0a40 in g_thread_use_default_impl () from /usr/lib/libglib-2.0.so.0
    #44 0x407d0a20 in glib_mem_profiler_table () from /usr/lib/libglib-2.0.so.0
    #45 0x407d0dc0 in _g_debug_flags () from /usr/lib/libglib-2.0.so.0
    #46 0x00000002 in ?? ()
    #47 0x7fffffff in ?? ()
    #48 0x407d01a8 in ?? () from /usr/lib/libglib-2.0.so.0
    #49 0x08276df8 in ?? ()
    #50 0x00000001 in ?? ()
    #51 0x00000001 in ?? ()
    #52 0x40779da4 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
    #53 0x40756e84 in ?? () from /usr/lib/libglib-2.0.so.0
    #54 0x405fd848 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #55 0xbfffed80 in ?? ()
    #56 0x00000000 in ?? ()
    #57 0x00000000 in ?? ()
    #58 0x4000b280 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
    #59 0x4044fb91 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
    #60 0x08276df8 in ?? ()
    #61 0x08276df8 in ?? ()
    #62 0x40276834 in ?? () from /usr/lib/libgtkmm-2.4.so.1
    #63 0xbfffed80 in ?? ()
    #64 0x40015460 in _rtld_global () from /lib/ld-linux.so.2
    ---Type <return> to continue, or q <return> to quit---
    #65 0xbfffed70 in ?? ()
    #66 0x4019b357 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
    #67 0x4019b19e in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
    #68 0x0809b322 in main ()

     
  • Morten Brix Pedersen

    Logged In: YES
    user_id=277268

    Which version of libsigc++ do you use? libsigc++ 2.0.3 is
    supposed to fix a segfault:

    2.0.3:

    * Fix segfault on emission of unconnected signal.

     
  • Priit Laes

    Priit Laes - 2004-06-13

    Logged In: YES
    user_id=111196

    Hm.. 2.0.1 :(

     
  • Nobody/Anonymous

    Logged In: NO

    After upgrading to 2.0.3, still got a segfault.
    Investigating....

     
  • Morten Brix Pedersen

    • status: open --> open-accepted
     
  • Morten Brix Pedersen

    Logged In: YES
    user_id=277268

    I'm interested in seeing whether the backtrace is the same.

     
  • Morten Brix Pedersen

    Logged In: YES
    user_id=277268

    I have found an easy way to reproduce this: Just plug out
    the network cable to your computer and it will segfault. It
    seems that the segfault is still in libsigc++.

     
  • Morten Brix Pedersen

    • status: open-accepted --> closed-fixed
     

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

Sign up for the SourceForge newsletter:





No, thanks