[OpenSIPS-Devel] how to handle memory corruption issue

夜雨萧萧~~~ loringlin at foxmail.com
Tue Dec 18 02:12:41 CET 2012


Hi ,
    I've got a segfaultmemory which is always end in fm_remove_free.
 i follow the step show in http://www.opensips.org/Resources/DocsTsMem, my opensips software is version 1.6.4, but i can start opensips as there is error
  
  "ERROR:core:sr_load_module: could not open module </usr/local/lib/opensips/modules/db_postgres.so>: /usr/local/lib/opensips/modules/db_postgres.so: undefined symbol: fm_malloc"
  
 could you give me some tip to handle it ?
  
   By the way, how to interpret the log as follow? 
 /usr/local/sbin/opensips[22058]: Memory status (shm):
/usr/local/sbin/opensips[22058]: fm_status (0xa76f7000):
/usr/local/sbin/opensips[22058]:  heap size= 268435456
/usr/local/sbin/opensips[22058]:  used= 86844, used+overhead=134384, free=268348612
/usr/local/sbin/opensips[22058]:  max used (+overhead)= 2321060
/usr/local/sbin/opensips[22058]: dumping free list:
/usr/local/sbin/opensips[22058]: hash =   1 fragments no.:    94, unused:     0#012#011#011 bucket size:    8 -   8 (first         8)
/usr/local/sbin/opensips[22058]: hash =   2 fragments no.:   591, unused:     0#012#011#011 bucket size:        16 -        16 (first        16)
 localhost /usr/local/sbin/opensips[22058]: hash =   3 fragments no.:   594, unused:     0#012#011#011 bucket size:        24 -        24 (first        24)
localhost /usr/local/sbin/opensips[22058]: hash =   4 fragments no.:   296, unused:     0#012#011#011 bucket size:        32 -        32 (first        32)
Dec 17 19:11:16 localhost /usr/local/sbin/opensips[22058]: hash =   5 fragments no.:     4, unused:     0#012#011#011 bucket size:        40 -        40 (first        40)
Dec 17 19:11:16 localhost /usr/local/sbin/opensips[22058]: hash =   6 fragments no.:     6, unused:     0#012#011#011 bucket size:        48 -        48 (first        52)
  
  
  
 Best wish!
 Loring
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20121218/24d654b0/attachment.htm>


More information about the Devel mailing list