Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xa95f4b40 (LWP 21540)] 0xb66c0ce8 in __strcmp_ssse3 () from /usr/lib/libc.so.6 (gdb) bt #0 0xb66c0ce8 in __strcmp_ssse3 () from /usr/lib/libc.so.6 #1 0x080abf04 in _dvr_duplicate_event (de=de@entry=0x836f968) at src/dvr/dvr_db.c:724 #2 0x080abf6c in dvr_entry_class_duplicate_get (o=0x836f968) at src/dvr/dvr_db.c:1860 #3 0x08057348 in prop_read_value (obj=obj@entry=0x836f968, p=p@entry=0x812dd28 <__compound_literal.0+2280>, m=m@entry=0x8362048, name=0x812d2d6 "duplicate", optmask=0) at src/prop.c:267 #4 0x08058163 in prop_read_values (obj=0x836f968, pl=0x812dd28 <__compound_literal.0+2280>, m=0x8362048, list=0x0, optmask=0) at src/prop.c:345 #5 0x08054fc2 in idnode_read0 (self=0x836f968, c=0x8362048, list=0x0, optmask=0) at src/idnode.c:1110 #6 0x0809bf0d in api_idnode_grid (perm=0x82f9eb0, opaque=0x809fe80 , op=0x0, args=0x82ad478, resp=0xa95f3aec) at src/api/api_idnode.c:148 #7 0x0809acca in api_exec (perm=0x82f9eb0, subsystem=0x81e2d12 "dvr/entry/grid_upcoming", args=0x82ad478, resp=0xa95f3aec) at src/api.c:97 #8 0x080bc07b in webui_api_handler (hc=0xa95f3d0c, remain=0x81e2d12 "dvr/entry/grid_upcoming", opaque=0x0) at src/webui/webui_api.c:43 #9 0x080603bd in http_exec (hc=hc@entry=0xa95f3d0c, hp=0x81eafe0, remain=0x81e2d12 "dvr/entry/grid_upcoming") at src/http.c:564 #10 0x08060e24 in http_cmd_post (spill=0xa95f3cc0, hc=0xa95f3d0c) at src/http.c:694 #11 http_process_request (hc=0xa95f3d0c, spill=0xa95f3cc0) at src/http.c:714 #12 0x080607b5 in process_request (hc=hc@entry=0xa95f3d0c, spill=spill@entry=0xa95f3cc0) at src/http.c:800 #13 0x08061011 in http_serve_requests (hc=0xa95f3d0c) at src/http.c:1078 #14 0x080610f4 in http_serve (fd=27, opaque=0xaee00538, peer=0xaee00544, self=0xaee005c4) at src/http.c:1121 #15 0x0805c440 in tcp_server_start (aux=0xaee00520) at src/tcp.c:542 #16 0x080593b6 in thread_wrapper (p=0xaee00668) at src/wrappers.c:149 #17 0xb679f1c3 in start_thread () from /usr/lib/libpthread.so.0 #18 0xb6673e8e in clone () from /usr/lib/libc.so.6 (gdb) bt full #0 0xb66c0ce8 in __strcmp_ssse3 () from /usr/lib/libc.so.6 No symbol table info available. #1 0x080abf04 in _dvr_duplicate_event (de=de@entry=0x836f968) at src/dvr/dvr_db.c:724 record = 1 de_start = {tm_sec = 0, tm_min = 5, tm_hour = 0, tm_mday = 7, tm_mon = 7, tm_year = 115, tm_wday = 5, tm_yday = 218, tm_isdst = 1, tm_gmtoff = 7200, tm_zone = 0x81cfa80 "CEST"} de2 = 0x8373dc0 #2 0x080abf6c in dvr_entry_class_duplicate_get (o=0x836f968) at src/dvr/dvr_db.c:1860 null = 0 de = 0x836f968 #3 0x08057348 in prop_read_value (obj=obj@entry=0x836f968, p=p@entry=0x812dd28 <__compound_literal.0+2280>, m=m@entry=0x8362048, name=0x812d2d6 "duplicate", optmask=0) at src/prop.c:267 s = val = 0x836f968 u32 = buf = "\020\000\000\000\070\000\000\000\260\347s\266(\000\000\000\020\000\000\000\070\000\000" __PRETTY_FUNCTION__ = "prop_read_value" #4 0x08058163 in prop_read_values (obj=0x836f968, pl=0x812dd28 <__compound_literal.0+2280>, m=0x8362048, list=0x0, optmask=0) at src/prop.c:345 No locals. #5 0x08054fc2 in idnode_read0 (self=0x836f968, c=0x8362048, list=0x0, optmask=0) at src/idnode.c:1110 idc = 0x812d400 #6 0x0809bf0d in api_idnode_grid (perm=0x82f9eb0, opaque=0x809fe80 , op=0x0, args=0x82ad478, resp=0xa95f3aec) at src/api/api_idnode.c:148 i = 1 list = 0x8362030 e = 0x8362048 flist = 0x0 conf = {start = 0, limit = 49, filter = {lh_first = 0x0}, sort = {key = 0x8350740 "start_real", dir = IS_ASC}} in = 0x836f968 ins = {is_array = 0x8361e98, is_alloc = 100, is_count = 6, is_sorted = 0 '\000'} cb = 0x809fe80 #7 0x0809acca in api_exec (perm=0x82f9eb0, subsystem=0x81e2d12 "dvr/entry/grid_upcoming", args=0x82ad478, resp=0xa95f3aec) at src/api.c:97 ah = 0x81dea70 skel = {hook = , link = {left = , right = , parent = , color = }} op = #8 0x080bc07b in webui_api_handler (hc=0xa95f3d0c, remain=0x81e2d12 "dvr/entry/grid_upcoming", opaque=0x0) at src/webui/webui_api.c:43 r = ha = 0x0 args = 0x82ad478 resp = 0x0 #9 0x080603bd in http_exec (hc=hc@entry=0xa95f3d0c, hp=0x81eafe0, remain=0x81e2d12 "dvr/entry/grid_upcoming") at src/http.c:564 err = #10 0x08060e24 in http_cmd_post (spill=0xa95f3cc0, hc=0xa95f3d0c) at src/http.c:694 hp = remain = 0x81e2d12 "dvr/entry/grid_upcoming" args = 0x0 v = #11 http_process_request (hc=0xa95f3d0c, spill=0xa95f3cc0) at src/http.c:714 No locals. #12 0x080607b5 in process_request (hc=hc@entry=0xa95f3d0c, spill=spill@entry=0xa95f3cc0) at src/http.c:800 v = argv = {0xb673e000 "\220-\033", 0xb66e9357 "malloc(): memory corruption"} n = rval = -1 authbuf = "192.168.0.2\000\000\000\000\000\000\000\070\000\000\000\000\340s\266[\000\000\000\002\000\000\000\002\000\000\000\000\000\000\000w\000\000\000\000\000\000\000|\000\000\000\000\000\000\000\065Gk\266\001\000\000\000\034!\b\b\330\352'\b\252\376\067\b\001\000\000\000\337\336_\266\000\340s\266\000\347s\266\330\352'\b\001\000\000\000\200\347s\266\033\000\000\000\264<_\251\001\000\000\000\300<_\251\330\352'\b\264<_\251\004\312\005\b\300<_\251\001\000\000\000\001\000\000\000H\322*\b" #13 0x08061011 in http_serve_requests (hc=0xa95f3d0c) at src/http.c:1078 spill = {hq_q = {tqh_first = 0x0, tqh_last = 0xa95f3cc0}, hq_size = 0, hq_maxsize = 2147483647} argv = {0x82ad248 "sort", 0x82ad257 "", 0x81e2d2a "HTTP/1.1"} c = cmdline = 0x81e2d08 "POST" hdrline = 0x827ead8 "" n = r = 0 #14 0x080610f4 in http_serve (fd=27, opaque=0xaee00538, peer=0xaee00544, self=0xaee005c4) at src/http.c:1121 hc = {hc_fd = 27, hc_peer = 0xaee00544, hc_peer_ipstr = 0xa95f3b70 "192.168.0.2", hc_self = 0xaee005c4, hc_representative = 0xa95f3b70 "192.168.0.2", hc_paths = 0x81aa688 , hc_process = 0x8060cf0 , hc_url = 0x81e2d0d "/api/dvr/entry/grid_upcoming", hc_url_orig = 0xa95f3b90 "/api/dvr/entry/grid_upcoming", hc_keep_alive = 1, hc_reply = {hq_q = {tqh_first = 0x0, tqh_last = 0xa95f3d34}, hq_size = 0, hq_maxsize = 2147483647}, hc_args = {tqh_first = 0x81ea820, tqh_last = 0x8291950}, hc_req_args = {tqh_first = 0x81f70f8, tqh_last = 0x8260120}, 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 = 0x82f9eb0, hc_user_config = 0x0, hc_no_output = 0, hc_logout_cookie = 0, hc_shutdown = 0, hc_cseq = 0, hc_session = 0x0, hc_post_data = 0x82ad248 "sort", hc_post_len = 23} #15 0x0805c440 in tcp_server_start (aux=0xaee00520) at src/tcp.c:542 tsl = 0xaee00520 to = {tv_sec = 30, tv_usec = 0} val = 1 c = 74 'J' #16 0x080593b6 in thread_wrapper (p=0xaee00668) at src/wrappers.c:149 ts = 0xaee00668 set = {__val = {16388, 0 }} r = #17 0xb679f1c3 in start_thread () from /usr/lib/libpthread.so.0 In frame 1: (gdb) p *de $2 = {de_id = {in_uuid = "*+5\f`@xE\322ƀ\376\223\215\274", , in_link = {left = 0x836fdd0, right = 0x81f85b0, parent = 0x81f2a18, color = 0}, in_domain_link = {left = 0x8374220, right = 0x0, parent = 0x836fdd0, color = 1}, in_domain = 0x834c9f4, in_class = 0x812d400 }, de_refcnt = 1, de_global_link = {le_next = 0x836f520, le_prev = 0x836fe0c}, de_channel = 0x81f9060, de_channel_link = {le_next = 0x836f520, le_prev = 0x8370060}, de_channel_name = 0x81f7120 "SVT2 HD Väst", de_timer = {gti_link = {le_next = 0x8371fa4, le_prev = 0x836f574}, gti_callback = 0x80af480 , gti_opaque = 0x836f968, gti_expire = {tv_sec = 1438898670, tv_nsec = 0}}, de_config = 0x81f49b8, de_config_link = {le_next = 0x836f520, le_prev = 0x836fe40}, de_start = 1438898700, de_stop = 1438900500, de_start_extra = 0, de_stop_extra = 0, de_owner = 0x0, de_creator = 0x836fcc8 "Auto recording by: 192.168.0.2", de_comment = 0x0, de_filename = 0x0, de_directory = 0x0, de_title = 0x836fa98, de_subtitle = 0x0, de_desc = 0x836fac0, de_content_type = 0, de_dvb_eid = 0, de_pri = 2, de_dont_reschedule = 0, de_mc = -1, de_retention = 0, de_bcast = 0x8336798, de_episode = 0x836fdb0 "Season 2015.Episode 4/10", de_sched_state = DVR_SCHEDULED, de_rec_state = DVR_RS_PENDING, de_errors = 0, de_data_errors = 0, de_last_error = 0, de_autorec_link = {le_next = 0x836f520, le_prev = 0x83707cc}, de_autorec = 0x835afb0, de_timerec = 0x0, de_thread = 0, de_s = 0x0, de_chain = 0x0, de_inotify_link = {le_next = 0x0, le_prev = 0x0}, de_last_notify = 0} (gdb) p *de2 $3 = {de_id = {in_uuid = "\376}\032\352\360\326\\t\250\246\373\257\212{\310", , in_link = {left = 0x0, right = 0x0, parent = 0x81f03a8, color = 0}, in_domain_link = {left = 0x0, right = 0x0, parent = 0x8372b10, color = 0}, in_domain = 0x834c9f4, in_class = 0x812d400 }, de_refcnt = 1, de_global_link = {le_next = 0x8373988, le_prev = 0x837425c}, de_channel = 0x81f9060, de_channel_link = {le_next = 0x8373638, le_prev = 0x83749f8}, de_channel_name = 0x8373f18 "SVT2 HD Väst", de_timer = {gti_link = {le_next = 0x8372f4c, le_prev = 0x8373244}, gti_callback = 0x80add20 , gti_opaque = 0x8373dc0, gti_expire = {tv_sec = 1440105300, tv_nsec = 0}}, de_config = 0x81f49b8, de_config_link = {le_next = 0x8373988, le_prev = 0x8374290}, de_start = 1437425100, de_stop = 1437426900, de_start_extra = 0, de_stop_extra = 0, de_owner = 0x0, de_creator = 0x8374188 "Auto recording by: 192.168.0.2", de_comment = 0x0, de_filename = 0x83741b0 "/home/johanr/Downloads/Kobra.2015-07-20.22-45.mkv", de_directory = 0x0, de_title = 0x8373f30, de_subtitle = 0x8373f78, de_desc = 0x8374080, de_content_type = 7, de_dvb_eid = 64154, de_pri = 2, de_dont_reschedule = 0, de_mc = -1, de_retention = 0, de_bcast = 0x0, de_episode = 0x0, de_sched_state = DVR_COMPLETED, de_rec_state = DVR_RS_PENDING, de_errors = 0, de_data_errors = 0, de_last_error = 0, de_autorec_link = {le_next = 0x8372368, le_prev = 0x835b068}, de_autorec = 0x835afb0, de_timerec = 0x0, de_thread = 0, de_s = 0x0, de_chain = 0x0, de_inotify_link = {le_next = 0x8373988, le_prev = 0x8374318}, de_last_notify = 0}