Project

General

Profile

Actions

Bug #3707

closed

SAT->IP Server crash.

Added by Mark Clarkstone over 9 years ago. Updated over 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-04-09
Due date:
% Done:

0%

Estimated time:
Found in version:
Git: 4.1-1817~gfc6b8ce
Affected Versions:

Description

Got a crash while trying to configure SAT>IP Server tab: Config -> General -> SAT>IP Server.

Values entered/changed to cause crash:
  • RTSP Port: 9983
  • Subscription Weight: 10
  • Exported DVB-S: 1

Crash log:

#1  0x00007f9a1e93197e in __GI___strdup (s=0x0) at strdup.c:41
        len = <optimized out>
        new = <optimized out>
#2  0x00000000004cb8c6 in satip_server_rtsp_init (bindaddr=0x0, port=9983, 
    descramble=descramble@entry=1, rewrite_pmt=rewrite_pmt@entry=0, 
    muxcnf=muxcnf@entry=0, nat_ip=nat_ip@entry=0x0) at src/satip/rtsp.c:1635
        ops = {start = 0x4c85a0 <rtsp_serve>, stop = 0x0, 
          cancel = 0x446c80 <http_cancel>}
        reg = 0
        rnd = "\"\322\305\062" 
        s = <optimized out>
#3  0x00000000004c7886 in satip_server_save () at src/satip/server.c:756
        descramble = 1
        rewrite_pmt = 0
        muxcnf = 0
        nat_ip = 0x0
#4  satip_server_class_changed (self=<optimized out>) at src/satip/server.c:556
No locals.
#5  0x000000000043b97e in idnode_changedfn (self=0x1633980 <satip_server_conf>)
    at src/idnode.c:1117
        idc = <optimized out>
---Type <return> to continue, or q <return> to quit---
#6  idnode_write0 (self=self@entry=0x1633980 <satip_server_conf>, 
    c=c@entry=0x7f99ec501ac0, optmask=optmask@entry=10, dosave=dosave@entry=1)
    at src/idnode.c:1188
        save = 1
        idc = 0x1133900 <satip_server_class>
#7  0x00000000004939a7 in api_idnode_save_simple (perm=<optimized out>, 
    opaque=0x1633980 <satip_server_conf>, op=<optimized out>, 
    args=<optimized out>, resp=<optimized out>) at src/api/api_idnode.c:498
        err = 0
        msg = 0x7f99ec501ac0
        f = <optimized out>
        in = 0x1633980 <satip_server_conf>
#8  0x00000000004bf1c1 in webui_api_handler (hc=0x7f9978f60a00, 
    remain=0x7f99ec0f3ffa "satips/config/save", opaque=<optimized out>)
    at src/webui/webui_api.c:43
        r = <optimized out>
        ha = 0x0
        args = 0x7f99ec0872a0
        resp = 0x0
#9  0x0000000000447f80 in http_exec (hc=hc@entry=0x7f9978f60a00, hp=0x337f950, 
    remain=0x7f99ec0f3ffa "satips/config/save") at src/http.c:623
        err = <optimized out>
#10 0x0000000000448be9 in http_cmd_post (spill=0x7f9978f60980, 
---Type <return> to continue, or q <return> to quit---
    hc=0x7f9978f60a00) at src/http.c:759
        hp = <optimized out>
        remain = 0x7f99ec0f3ffa "satips/config/save" 
        args = 0x0
        v = <optimized out>
#11 http_process_request (hc=0x7f9978f60a00, spill=0x7f9978f60980)
    at src/http.c:781
No locals.
#12 0x00000000004484d3 in process_request (hc=hc@entry=0x7f9978f60a00, 
    spill=spill@entry=0x7f9978f60980) at src/http.c:868
        v = <optimized out>
        argv = {0x2 <error: Cannot access memory at address 0x2>, 
          0x40 <error: Cannot access memory at address 0x40>}
        n = <optimized out>
        rval = -1
        authbuf = "192.168.1.100", '\000' <repeats 11 times>, "[", '\000' <repeats 23 times>, "n\000\000\000w", '\000' <repeats 11 times>, "|\000\000\000\000\000\000\000\070e\231\354\231\177\000\000\060e\231\354\231\177\000\000\a\vG\000\000\000\000\000\002\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\250\n\366x\231\177\000\000\001\000\000\000\000\000\000\000\200\t\366x\231\177\000\000\001", '\000' <repeats 12 times>
#13 0x0000000000448e5d in http_serve_requests (hc=hc@entry=0x7f9978f60a00)
    at src/http.c:1158
---Type <return> to continue, or q <return> to quit---
        spill = {hq_q = {tqh_first = 0x0, tqh_last = 0x7f9978f60980}, 
          hq_size = 0, hq_maxsize = 2147483647}
        argv = {0x7f99ec996530 "\b\a", 0x7f99ec996538 "\b\a", 
          0x7f99ec0f400d "HTTP/1.1"}
        c = <optimized out>
        cmdline = 0x7f99ec0f3ff0 "POST" 
        hdrline = 0x7f99ec1008d0 "" 
        n = <optimized out>
        r = <optimized out>
#14 0x0000000000448f83 in http_serve (fd=291, opaque=0x7f99d4383228, 
    peer=0x7f99d4383240, self=0x7f99d43832c0) at src/http.c:1202
        hc = {hc_fd_lock = {__data = {__lock = 0, __count = 0, __owner = 0, 
              __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {
                __prev = 0x0, __next = 0x0}}, 
            __size = '\000' <repeats 39 times>, __align = 0}, hc_fd = 291, 
          hc_peer = 0x7f99d4383240, 
          hc_peer_ipstr = 0x7f9978f60830 "192.168.1.100", 
          hc_self = 0x7f99d43832c0, 
          hc_representative = 0x7f9978f60830 "192.168.1.100", 
          hc_paths_mutex = 0x16489e0 <http_paths_mutex>, 
          hc_paths = 0x16489c0 <http_paths>, 
          hc_process = 0x448a90 <http_process_request>, 
          hc_url = 0x7f99ec0f3ff5 "/api/satips/config/save", 
---Type <return> to continue, or q <return> to quit---
          hc_url_orig = 0x7f9978f60850 "/api/satips/config/save", 
          hc_keep_alive = 1, hc_reply = {hq_q = {tqh_first = 0x0, 
              tqh_last = 0x7f9978f60a80}, hq_size = 0, 
            hq_maxsize = 2147483647}, hc_args = {tqh_first = 0x7f99ec5c9840, 
            tqh_last = 0x7f99ec59a950}, hc_req_args = {
            tqh_first = 0x7f99ec49bba0, tqh_last = 0x7f99ec49bbc0}, 
          hc_state = HTTP_CON_WAIT_REQUEST, hc_cmd = HTTP_CMD_POST, 
          hc_version = HTTP_VERSION_1_1, hc_username = 0x0, hc_password = 0x0, 
          hc_access = 0x7f99ec686b20, hc_user_config = 0x0, hc_no_output = 0, 
          hc_logout_cookie = 0, hc_shutdown = 0, hc_cseq = 0, 
          hc_session = 0x0, hc_post_data = 0x7f99ec4af350 "node", 
          hc_post_len = 402}
#15 0x000000000044360d in tcp_server_start (aux=0x7f99d4383200)
    at src/tcp.c:645
        tsl = 0x7f99d4383200
        to = {tv_sec = 30, tv_usec = 0}
        val = 1
        c = 74 'J'
#16 0x000000000043f1f7 in thread_wrapper (p=0x7f99d4018410)
    at src/wrappers.c:159
        ts = 0x7f99d4018410
        set = {__val = {16388, 0 <repeats 15 times>}}
        r = <optimized out>
---Type <return> to continue, or q <return> to quit---
#17 0x00007f9a1f4770a4 in start_thread (arg=0x7f9978f61700)
    at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7f9978f61700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140297136117504, 
                5874508382964176295, 0, 140299950788704, 4294967295, 
                140297136117504, -5857912269066578521, -5858535841819241049}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread" 
#18 0x00007f9a1e99887d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Actions #1

Updated by Jaroslav Kysela over 9 years ago

  • Status changed from New to Fixed

Fixed in v4.1-1851-g71e8b00 .

Actions

Also available in: Atom PDF