[Spce-user] Fwd: mediator fails

qabane me qabaneitsolutions at gmail.com
Tue Aug 28 16:31:27 EDT 2018


A backtrace of this gives me the below. I have already applied hotfixes

#0  __GI_____strtod_l_internal (nptr=0x0, endptr=endptr at entry=0x0,
group=group at entry=0, loc=0x7f90685ab400 <_nl_global_locale>) at
strtod_l.c:583
        negative = 0
        num = {140723111174880, 140258218886344, 140723111175648,
140258218792600, 1, 0, 140723111175688, 140258216677569, 5,
140258218792600, 1, 0, 1,
          140258218885488, 0, 0, 0, 140258218886344, 140723111175504,
4294967296, 140258218885488, 140723111175488, 94464584416955, 479452901,
4294967295,
          7809644666712713775, 140258199046328, 140258218875080, 1, 8,
140723111175744, 0, 140258213746736, 0, 4, 94464607895632, 8, 4,
140723111175744,
          94464586592576, 0, 140723111177064, 140723111176376,
94464618158144, 94464607910868, 140258216696916, 1, 0, 140258214010286,
140258199046328,
          140723111176288, 140258216726995, 94464613669680, 94464614881104,
4294967295, 0, 0, 94464620190208, 0}
        numsize = 737745913958629407
        exponent = 0
        base = 10
        den = {895, 0, 0, 281470681751424, 0 <repeats 19 times>,
18446742974197923840, 18446744073709551615, 18446744073709551615,
18446744073709551615,
          18446744073709551615, 0, 0, 7208588684038901095,
724348800384070771, 3973311824134500969, 7308321176042015245,
3472596413272386921, 7520841423327070733,
          7596565836996414774, 8361510175760846180, 0,
18446463693966278400, 0, 0, 281470681743360, 18446463698244468735, 0, 0, 0,
0, 0, 0, 0, 0, 0, 532575944823,
          94464607680928, 140258202790656, 94464607681152, 888, 7120}
        densize = <optimized out>
        retval = {0}
        bits = 0
        cp = 0xffffffffffffffff <error: Cannot access memory at address
0xffffffffffffffff>
        tp = <optimized out>
        startp = <optimized out>
        start_of_digits = <optimized out>
        expp = <optimized out>
        dig_no = <optimized out>
        int_no = <optimized out>
        lead_zero = <optimized out>
        c = <optimized out>
        decimal = 0x7f9068374392 <dot> "."
        decimal_len = 1
        thousands = 0x0
        grouping = 0x0
        cnt = <optimized out>
        current = <optimized out>
        __PRETTY_FUNCTION__ = "____strtod_l_internal"
        lowc = <optimized out>
#1  0x00007f9068248682 in __GI_strtod (nptr=<optimized out>,
endptr=endptr at entry=0x0) at strtod.c:64
No locals.
#2  0x000055ea400015b0 in atof (__nptr=<optimized out>) at
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:28
No locals.
#3  medredis_reply_to_entry (reply=0x55ea42025840, reply=0x55ea42025840) at
medredis.c:64
        entry = 0x55ea4165f9b0
#4  medredis_fetch_records (callid=0x7f90634d1010, entries=0x7ffca70dab68,
count=0x7ffca70dab80) at medredis.c:625
        buffer =
"acc:cid::8a045854-2221-1237-8b93-aa61e091344a_xfer-1\000\000\000\000\a\000\000\000\000\000\000\000\220\251\r\247\374\177\000\000!F\240h\220\177\000\000\020\020[f\220\177\001\000\270\251\r\247\374\177\000\000\240>\031B\352U\000\000\002\000\000\000\220\177\000\000\"\000\000\000\000\000\000\000\210\332`A\352U\000\000MC\---Type
<return> to continue, or q <return> to quit---
000@\352U\000\000\270\251\r\247\374\177\000\000\210\332`A\352U\000\000\210\332`A\352U\000\000\360\251\r\247\374\177\000\000\274T\240h\220\177",
'\000' <repeats 18 times>,
"\060\252\r\247\374\177\000\000\000\000\000\000\000\000\000\000"...
        cid_set_argv = {0x55ea40007554 "SMEMBERS", 0x7ffca70da8f0
"acc:cid::8a045854-2221-1237-8b93-aa61e091344a_xfer-1"}
        reply = 0x55ea42025840
        cids = {0x55ea416842a0 "", 0x55ea42193ea0 "\004", 0x55ea42025840
"\002"}
        records = 0x0
        keys = 0x55ea41627a80
        i = <optimized out>
        has_bye = 0 '\000'
        has_inv_200 = 0 '\000'
        __func__ = "medredis_fetch_records"
#5  0x000055ea3fffa2e3 in main (argc=<optimized out>, argv=<optimized out>)
at mediator.c:339
        mysql_callids = 0x0
        redis_callids = 0x7f90634d1010
        records = 0x0
        mysql_id_count = 0
        redis_id_count = 200176
        rec_count = 0
        i = 0
        cdr_count = 0
        last_count = 0
        maprefresh = 9
        batches = 0x7f90668b3010
        loop_tv_start = {tv_sec = 1535481243, tv_usec = 339535}
        loop_tv_stop = {tv_sec = 20, tv_usec = 30078}
        __func__ =

---------- Forwarded message ---------
From: qabane me <qabaneitsolutions at gmail.com>
Date: Tue, Aug 28, 2018 at 8:46 PM
Subject: mediator fails
To: <spce-user at lists.sipwise.com>


Hi

I have a 6.4.1 server which just serves as a breakout to upstream.

Mediator stopped working, with the following in the cdr.log

g_strlcpy: assertion 'src != NULL' failed

I have no idea what this means. Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20180828/5c9f4a53/attachment-0001.html>


More information about the Spce-user mailing list