[Serusers] Segmentation fault-fifo_server fgets failed: Illegal seek

Ashutosh Kumar ashutoshk at chetu.com
Thu Aug 4 13:28:25 CEST 2005


Hi ,
   I am getting a segmentation fault when my sip server runs. It happens
mostly when a client tries to call another client phone.
I think that this has got something to do with ser_fifo file permissions.
For that reason, the relevant code from my ser.cfg file is as belows;
---------------
 fifo="/tmp/ser_fifo"
 fifo_mode=0666
---------------


I am running SER-0.8.14.The debug trace is as produced below:


0(3972) check_self - checking if host==us: 15==15 &&  [sip.myownphone.com]
== [sip. myownphone.com]
 0(3972) check_self - checking if port 5060 matches port 5060
 0(3972) rwrite(): Rewriting Request-URI with 'sip:satya at 210.7.75.189:5060'
 0(3972) DEBUG: t_addifnew: msg id=3 , global msg id=1 , T on
entrance=0xffffffff
 0(3972) parse_headers: flags=-1
 0(3972) parse_headers: flags=60
 0(3972) t_lookup_request: start searching: hash=13553, isACK=0
 0(3972) DEBUG: RFC3261 transaction matching failed
 0(3972) DEBUG: t_lookup_request: no transaction found
 0(3972) DBG: callback type 2, id 3 entered
 0(3972) DEBUG: t_lookupOriginalT: searching on hash entry 13553
 0(3972) DEBUG: RFC3261 transaction matching failed
 0(3972) DEBUG: t_lookupOriginalT: no CANCEL maching found!
 0(3972) DEBUG: t_lookupOriginalT completed
 0(3972) DEBUG: mk_proxy: doing DNS lookup...
 0(3972) check_via_address(61.16.236.34, 192.168.11.37, 0)
 2(3975) ERROR: fifo_server fgets failed: Illegal seek
 2(3975) ERROR: fifo_server fgets failed: Illegal seek
 2(3975) ERROR: fifo_server fgets failed: Illegal seek
 2(3975) ERROR: fifo_server fgets failed: Illegal seek
 2(3975) INFO: signal 15 received
 2(3975) Memory status (pkg):
 2(3975) fm_status (0x80c2c80):
 2(3975)  heap size= 1047440
 2(3975) dumping free list:
 2(3975) hash =   1 fragments no.:    11,
                 bucket size:         8 -         8 (first         8)
 2(3975) hash =   2 fragments no.:     2,
                 bucket size:        16 -        16 (first        16)
 2(3975) hash =   4 fragments no.:     1,
                 bucket size:        32 -        32 (first        32)
 2(3975) hash =  15 fragments no.:     1,
                 bucket size:       120 -       120 (first       120)
 2(3975) hash =  20 fragments no.:     3,
                 bucket size:       160 -       160 (first       160)
 2(3975) hash = 265 fragments no.:     1,
                 bucket size:    524288 -   1048576 (first   1030944)
 2(3975) TOTAL:     19 free fragments = 1031696 free bytes
 2(3975) -----------------------------
 1(3974) INFO: signal 15 received
 1(3974) Memory status (pkg):
 1(3974) fm_status (0x80c2c80):
 1(3974)  heap size= 1047440
 1(3974) dumping free list:
 1(3974) hash =   1 fragments no.:    11,
                 bucket size:         8 -         8 (first         8)
 1(3974) hash =   2 fragments no.:     1,
                 bucket size:        16 -        16 (first        16)
 1(3974) hash =   4 fragments no.:     1,
                 bucket size:        32 -        32 (first        32)
 1(3974) hash =   6 fragments no.:     1,
                 bucket size:        48 -        48 (first        48)
 1(3974) hash =   8 fragments no.:     1,
                 bucket size:        64 -        64 (first        64)
 1(3974) hash =  20 fragments no.:     3,
                 bucket size:       160 -       160 (first       160)
 1(3974) hash =  32 fragments no.:     1,
                 bucket size:       256 -       256 (first       256)
 1(3974) hash =  78 fragments no.:     1,
                 bucket size:       624 -       624 (first       624)
 1(3974) hash = 265 fragments no.:     1,
                 bucket size:    524288 -   1048576 (first   1030048)
 1(3974) TOTAL:     21 free fragments = 1031656 free bytes
 1(3974) -----------------------------
Segmentation fault





Regards,
Ashutosh Kumar
Chetu, Inc.
Ph : 1(305) 402 6724 - Witin US
Ph : 91 120 5323340 - Outside US
Fax:1 (305) 832 5987
For more  information, please visit http://www.chetu.com






More information about the sr-users mailing list