Bug #176

Reloading config crashes minbif

Added by pankkake - 4 months ago. Updated 4 months ago.

Status:Closed Start:2009-11-16
Priority:Urgent Due date:2009-11-16
Assigned to:Romain Bignon % Done:

100%

Category:Core Spent time: 0.50 hour
Target version:1.0 Estimated time:1.00 hour
libpurple:

Description

Program received signal SIGHUP, Hangup.
0x00007ff278dfaabf in poll () from /lib/libc.so.6
(gdb) continue 
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x000000000045c509 in ~ConfigSection (this=0xfa1ff0)
    at /home/pankkake/Dev/minbif/src/core/config.cpp:317
317                     delete it->second;
(gdb) bt 
#0  0x000000000045c509 in ~ConfigSection (this=0xfa1ff0)
    at /home/pankkake/Dev/minbif/src/core/config.cpp:317
#1  0x000000000045c762 in ConfigSection::Clean (this=0xf9e430)
    at /home/pankkake/Dev/minbif/src/core/config.cpp:352
#2  0x000000000045c852 in MyConfig::Clean (this=0x6fffe0)
    at /home/pankkake/Dev/minbif/src/core/config.cpp:261
#3  0x000000000045eab8 in MyConfig::Load (this=0x6fffe0, _path=
        {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fffb808f050 "\230@}{?\177"}})
    at /home/pankkake/Dev/minbif/src/core/config.cpp:79
#4  0x000000000044c1e6 in Minbif::rehash (this=0x7fffb808f910)
    at /home/pankkake/Dev/minbif/src/core/minbif.cpp:216
#5  0x00000000004578cc in SigHandler::rehash (this=0x6fffa8)
    at /home/pankkake/Dev/minbif/src/core/sighandler.cpp:63
#6  0x0000000000457b1a in CallBack<SigHandler>::run (this=0xfa3e30)
    at /home/pankkake/Dev/minbif/src/core/callback.h:42
#7  0x0000000000459ee6 in g_callback_delete (data=0xfa3e30)
    at /home/pankkake/Dev/minbif/src/core/callback.cpp:54
#8  0x00007ff27af33ed7 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00007ff27af338e3 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#10 0x00007ff27af3683c in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00007ff27af36c62 in g_main_loop_run ()
   from /usr/lib/libglib-2.0.so.0
#12 0x000000000044d672 in Minbif::main (this=0x7fffb808f910, argc=2, 
    argv=0x7fffb808fa18)
    at /home/pankkake/Dev/minbif/src/core/minbif.cpp:193
#13 0x0000000000451429 in main (argc=2, argv=0x7fffb808fa18)
    at /home/pankkake/Dev/minbif/src/core/minbif.cpp:234

Associated revisions

Revision 1ab1d7f363503bda5c565c8dac990ff46add5e0a
Added by Romain Bignon 4 months ago

fix crash when rehashing twice (refs #176)

History

Updated by Romain Bignon 4 months ago

  • Due date set to 2009-11-16
  • Status changed from New to Assigned
  • Priority changed from Low to Urgent
  • Target version set to 1.0
  • Start changed from 2009-11-15 to 2009-11-16
  • Estimated time set to 1.00

Updated by Romain Bignon 4 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF