$ apport-retrace --rebuild-package-info --stdout /var/crash/_usr_bin_freshclam.0.crash dpkg-source: info: extracting clamav in clamav-0.99.2+dfsg dpkg-source: info: unpacking clamav_0.99.2+dfsg.orig.tar.xz dpkg-source: info: unpacking clamav_0.99.2+dfsg-6ubuntu2.debian.tar.xz dpkg-source: info: applying Change-paths-in-sample-conf-file-to-match-Debian.patch dpkg-source: info: applying add-support-for-system-tomsfastmath.patch dpkg-source: info: applying Allow-M-suffix-for-PCREMaxFileSize.patch dpkg-source: info: applying clamav_add_private_fts_implementation.patch dpkg-source: info: applying fix-ssize_t-size_t-off_t-printf-modifier.patch dpkg-source: info: applying libclamav-use-libmspack.patch dpkg-source: info: applying drop-AllowSupplementaryGroups-option-and-make-it-def.patch dpkg-source: info: applying make_it_compile_against_openssl_1_1_0.patch dpkg-source: info: applying clamd_dont_depend_on_clamav_demon_socket.patch dpkg-source: info: applying Add-support-for-LLVM-3.7.patch dpkg-source: info: applying Add-support-for-LLVM-3.8.patch dpkg-source: info: applying Add-support-for-LLVM-3.9.patch dpkg-source: info: applying bb11549-fix-temp-file-cleanup-issue.patch dpkg-source: info: applying Fix_detection_of_libcurl.patch dpkg-source: info: applying zlib-check.patch dpkg-source: info: applying CVE-2017-6418.patch dpkg-source: info: applying CVE-2017-6420.patch dpkg-source: info: applying CVE-2017-6420-2.patch dpkg-source: info: applying fix_newer_zlib.patch W: Download is performed unsandboxed as root as file 'clamav_0.99.2+dfsg-6ubuntu2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) --- stack trace --- #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 set = {__val = {0, 140724554210744, 255805727744, 140340496048332, 4222451712, 255805727744, 255805728045, 255805727744, 255805727744, 255805728077, 255805728444, 255805727744, 255805728444, 0, 0, 0}} pid = tid = #1 0x00007fa3916613aa in __GI_abort () at abort.c:89 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x7ffcfd109df0, sa_sigaction = 0x7ffcfd109df0}, sa_mask = {__val = {140340514707159, 140724554210496, 4, 124554051584, 140340516839424, 140340459757736, 1902, 140340461669824, 140340507802021, 255804518064, 140340496108892, 140340497201728, 140340497187496, 8248747816212522344, 140340497187496, 140340459757736}}, sa_flags = -1834524672, sa_restorer = 0x7fa38f4060a8} sigs = {__val = {32, 0 }} #2 0x00007fa391657b77 in __assert_fail_base (fmt=, assertion=assertion@entry=0x7fa38f4060a8 "Ty == cast(C->getType()->getScalarType())->getContainedType(0u)", file=file@entry=0x7fa38f403df0 "/build/llvm-toolchain-3.9-hPFDdS/llvm-toolchain-3.9-3.9.1/lib/IR/Constants.cpp", line=line@entry=1902, function=function@entry=0x7fa38f5d8dc0 "static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, llvm::Type*)") at assert.c:92 str = 0x3b8f35a6d0 "freshclam: /build/llvm-toolchain-3.9-hPFDdS/llvm-toolchain-3.9-3.9.1/lib/IR/Constants.cpp:1902: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef"... total = 4096 #3 0x00007fa391657c22 in __GI___assert_fail (assertion=0x7fa38f4060a8 "Ty == cast(C->getType()->getScalarType())->getContainedType(0u)", file=0x7fa38f403df0 "/build/llvm-toolchain-3.9-hPFDdS/llvm-toolchain-3.9-3.9.1/lib/IR/Constants.cpp", line=1902, function=0x7fa38f5d8dc0 "static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, llvm::Type*)") at assert.c:101 No locals. #4 0x00007fa38dac5de9 in llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, llvm::Type*) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.9.so.1 No symbol table info available. warning: Could not find DWO CU .libs/libclamavcxx_la-bytecode2llvm.dwo(0x4d31cbd7f1396a62) referenced by CU at offset 0x254d1c [in module /usr/lib/debug/.build-id/2d/c17be0014c8b0110c586cb5ddadac75273a0b3.debug] #5 0x00007fa3921668b8 in (anonymous namespace)::LLVMCodegen::buildConstant(llvm::Type*, unsigned long*, unsigned int&) () at /usr/lib/llvm-3.9/include/llvm/IR/Constants.h:1111 No locals. #6 0x00007fa39216d872 in cli_bytecode_prepare_jit () at bytecode2llvm.cpp:1410 No locals. #7 0x00007fa39211b09a in cli_bytecode_prepare2 (engine=engine@entry=0x3b8f1e4fe0, bcs=bcs@entry=0x3b8f1e5128, dconfmask=7) at bytecode.c:2684 i = interp = 0 jitok = 0 jitcount = 0 rc = ctx = 0x3b8f32be40 #8 0x0000003b8d98b3a6 in test_database (newfile=newfile@entry=0x3b8f1e4f70 "/var/lib/clamav/clamav-3f4648873bc86d5dd8144c500b9db5a7.tmp/clamav-8301c72036b0213e82b2edd9c530d433.cvd", newdb=newdb@entry=0x7ffcfd10c760 "bytecode.cvd", bytecode=bytecode@entry=1) at manager.c:1489 engine = 0x3b8f1e4fe0 newsigs = 74 ret = 0 #9 0x0000003b8d98b74c in test_database_wrap (file=file@entry=0x3b8f1e4f70 "/var/lib/clamav/clamav-3f4648873bc86d5dd8144c500b9db5a7.tmp/clamav-8301c72036b0213e82b2edd9c530d433.cvd", newdb=newdb@entry=0x7ffcfd10c760 "bytecode.cvd", bytecode=1) at manager.c:1530 firstline = "ClamAV-VDB:15 Sep 2017 12-38 -0400:312:74:63:2966ccc7dc912b4deb0de1f9a9e10bd3:z5xFuL7NAzqwooGzhz55E+MRE0xDrOHAfy1EfmT/qRn8xoMglbgw7IvMPHyus/4OAFWqBnfEB69xI2v4iXlWyQ4DIFiRhhf6xw+YB3QTbM+WJBWDiQ6lbIVx6Y"... lastline = "05493496", '\000' , "\a\000\000\000\000\000\000\000h\000\000\000\000\000\000\000p\301\020\375\374\177\000\000o\301\020\375\374\177", '\000' , "\221>\357\002\003\200\377\377\001\000\000\000\000\000\000\000\a\000\000\000\061", '\000' , "[\000\000\000n", '\000' , "w\000\000\000|", '\000' , "\340M\036\217;\000\000\000pO\036\217;\000\000\000"... pipefd = {4, 5} pid = 0 status = 0 ret = f = #10 0x0000003b8d98f220 in updatedb (dbname=, dbname@entry=0x3b8d99aad9 "bytecode", hostname=hostname@entry=0x3b8f1dd750 "db.local.clamav.net", ip=ip@entry=0x7ffcfd10cb60 "62.245.181.53", signo=signo@entry=0x7ffcfd10ca88, opts=opts@entry=0x3b8f1ddf00, dnsreply=dnsreply@entry=0x3b8f1e4600 "0.99.2:58:23853:1505825087:1:63:46435:312", localip=0x0, outdated=0, mdat=0x7ffcfd10caa0, logerr=0, extra=0, attempt=2) at manager.c:2179 current = 0x3b8f1e4de0 remote = opt = nodb = currver = newver = port = 0 i = j = ret = ims = -1 iscld = field = pt = cvdfile = "bytecode.cvd", '\000' cldfile = "bytecode.cld\000\000\000\000\240\303\020\375\374\177\000\000\220\307\020\375\374\177\000" localname = "bytecode.cld\000\177\000\000|\303\020\375\374\177\000\000\000\000\000\000\000\000\000" tmpdir = newfile = 0x3b8f1e4f70 "/var/lib/clamav/clamav-3f4648873bc86d5dd8144c500b9db5a7.tmp/clamav-8301c72036b0213e82b2edd9c530d433.cvd" newfile2 = 0x3b8f1e4f70 "/var/lib/clamav/clamav-3f4648873bc86d5dd8144c500b9db5a7.tmp/clamav-8301c72036b0213e82b2edd9c530d433.cvd" newdb = "bytecode.cvd\000\177\000\000\001\200\255\373\377\377\377\377\300\271\236\221\243\177\000" extradbinfo = "\320\303\020\375\374\177\000\000\220\307\020\375\374\177\000\000\330\303\020\375\374\177\000\000n\000\000\000^\000\000\000\020\000\000\000\000\000\000\000\304\355\004", '\000' , "\004\000\000\000\001\000\001\000\002\000\000\065\n\000\004\001", '\000' , "\300\304\020\375\020", '\000' , "p\304\020\375\374\177\000\000\340\304\020\375\374\177\000\000\354\304\020\375\374\177\000\000\000\000\000\000\000\000\000\000\350\377\377\377\374\177\000\000\000\000\000\000\374\177\000\000\000\000\000\000\060\000\000\000\260\304\020\375\374\177\000\000\000\000\000\000\000\000\000\000h\r\000\000\000\000\000\000\020\000\000\000\060\000\000\000\340\311\020\375\374\177\000\000"... extradnsreply = squery = "daily.23852.82.1.0.3EF5B535.ping.clamav.net\000\000\000\000\000\020\000\000\000\000\000\000\000\200ڞ\221\243\177\000\000\000\000\000\000\000\000\000\000\064]\301\221\243\177\000\000\000\002", '\000' , "\251\232\001\000\000\001\000\000\000\000\000\000\acurrent\003cvd\006clamav\003net\000\000\020\000\001 19 13:05:20 2017\n\000\000\000\000\000\000\377\001\000\000\000\000\000\000\346"... proxy = user = 0x0 pass = 0x0 uas = 0x0 flevel = 82 remote_flevel = can_whitelist = 0 mirror_stats = 1 ctimeout = 30 rtimeout = 30 #11 0x0000003b8d990ded in downloadmanager (opts=, hostname=0x3b8f1dd750 "db.local.clamav.net", attempt=2) at manager.c:2737 currtime = 1505826320 ret = custret = updated = 1 outdated = 0 signo = 6309303 logerr = ttl = 1634 ipaddr = "62.245.181.53", '\000' dnsreply = 0x3b8f1e4600 "0.99.2:58:23853:1505825087:1:63:46435:312" pt = localip = 0x0 newver = 0x3b8f1e2040 "0.99.2" opt = mdat = {active = 1 '\001', num = 2, currip = {901117246, 0, 0, 0}, af = 2, dbflevel = 0, mirtab = 0x3b8f1e2060} dnsdbinfo = #12 0x0000003b8d98a9be in download (opts=0x3b8f1ddf00, cfgfile=0x3b8f1ddfe0 "/etc/clamav/freshclam.conf") at freshclam.c:229 ret = 0 try = maxattempts = 5 opt = 0x3b8f1def60 #13 0x0000003b8d984042 in main (argc=, argv=) at freshclam.c:693 bigsleep = 3600 checks = now = 1 wakeup = 140340516794368 ret = 52 retcl = cfgfile = 0x3b8f1ddfe0 "/etc/clamav/freshclam.conf" arg = 0x0 pt = opts = 0x3b8f1ddf00 opt = sigact = {__sigaction_handler = {sa_handler = 0x3b8d98aa60 , sa_sigaction = 0x3b8d98aa60 }, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer = 0x0} oldact = {__sigaction_handler = {sa_handler = 0x7ffcfd10d200, sa_sigaction = 0x7ffcfd10d200}, sa_mask = {__val = {140724554224127, 0, 0, 0, 18446603349155327489, 0, 206158430211, 0, 0, 472446402651, 0, 0, 532575944823, 0, 0, 0}}, sa_flags = 0, sa_restorer = 0x1} dbowner = user = statbuf = {st_dev = 140724554223824, st_ino = 140724554223823, st_nlink = 0, st_mode = 2460398424, st_uid = 32675, st_gid = 4245737664, __pad0 = 32764, st_rdev = 4344196913, st_size = 140340516794368, st_blksize = 140724554223792, st_blocks = 140340426879936, st_atim = {tv_sec = 2667321352, tv_nsec = 4294967295}, st_mtim = {tv_sec = 0, tv_nsec = 140340499519376}, st_ctim = {tv_sec = 140340516853920, tv_nsec = 496}, __glibc_reserved = {140340496109702, 140340461050973, 140340499487488}} mdat = {active = 0 '\000', num = 32764, currip = {4245737983, 32764, 0, 0}, af = 0, dbflevel = 0, mirtab = 0x0} j = --- source code stack trace --- #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 [Error: raise.c was not found in source tree] #1 0x00007fa3916613aa in __GI_abort () at abort.c:89 [Error: abort.c was not found in source tree] #2 0x00007fa391657b77 in __assert_fail_base (fmt=, assertion=assertion@entry=0x7fa38f4060a8 "Ty == cast(C->getType()->getScalarType())->getContainedType(0u)", file=file@entry=0x7fa38f403df0 "/build/llvm-toolchain-3.9-hPFDdS/llvm-toolchain-3.9-3.9.1/lib/IR/Constants.cpp", line=line@entry=1902, function=function@entry=0x7fa38f5d8dc0 "static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, llvm::Type*)") at assert.c:92 [Error: assert.c was not found in source tree] #3 0x00007fa391657c22 in __GI___assert_fail (assertion=0x7fa38f4060a8 "Ty == cast(C->getType()->getScalarType())->getContainedType(0u)", file=0x7fa38f403df0 "/build/llvm-toolchain-3.9-hPFDdS/llvm-toolchain-3.9-3.9.1/lib/IR/Constants.cpp", line=1902, function=0x7fa38f5d8dc0 "static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, llvm::Type*)") at assert.c:101 [Error: assert.c was not found in source tree] #4 0x00007fa38dac5de9 in llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, llvm::Type*) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.9.so.1 #5 0x00007fa3921668b8 in (anonymous namespace)::LLVMCodegen::buildConstant(llvm::Type*, unsigned long*, unsigned int&) () at /usr/lib/llvm-3.9/include/llvm/IR/Constants.h:1111 [Error: Constants.h was not found in source tree] #6 0x00007fa39216d872 in cli_bytecode_prepare_jit () at bytecode2llvm.cpp:1410 1405: } 1406: Function **Functions = new Function*[bc->num_func]; 1407: for (unsigned j=0;jnum_func;j++) { 1408: // Create LLVM IR Function 1409: const struct cli_bc_func *func = &bc->funcs[j]; 1410: std::vector argTypes; 1411: argTypes.push_back(HiddenCtx); 1412: for (unsigned a=0;anumArgs;a++) { 1413: argTypes.push_back(mapType(func->types[a])); 1414: } 1415: constType *RetTy = mapType(func->returnType); #7 0x00007fa39211b09a in cli_bytecode_prepare2 (engine=engine@entry=0x3b8f1e4fe0, bcs=bcs@entry=0x3b8f1e5128, dconfmask=7) at bytecode.c:2684 2679: 2680: 2681: if (engine->bytecode_mode != CL_BYTECODE_MODE_INTERPRETER && 2682: engine->bytecode_mode != CL_BYTECODE_MODE_OFF) { 2683: selfcheck(1, bcs->engine); 2684: rc = cli_bytecode_prepare_jit(bcs); 2685: if (rc == CL_SUCCESS) { 2686: jitok = 1; 2687: cli_dbgmsg("Bytecode: %u bytecode prepared with JIT\n", bcs->count); 2688: if (engine->bytecode_mode != CL_BYTECODE_MODE_TEST) 2689: return CL_SUCCESS; #8 0x0000003b8d98b3a6 in test_database (newfile=newfile@entry=0x3b8f1e4f70 "/var/lib/clamav/clamav-3f4648873bc86d5dd8144c500b9db5a7.tmp/clamav-8301c72036b0213e82b2edd9c530d433.cvd", newdb=newdb@entry=0x7ffcfd10c760 "bytecode.cvd", bytecode=bytecode@entry=1) at manager.c:1489 #9 0x0000003b8d98b74c in test_database_wrap (file=file@entry=0x3b8f1e4f70 "/var/lib/clamav/clamav-3f4648873bc86d5dd8144c500b9db5a7.tmp/clamav-8301c72036b0213e82b2edd9c530d433.cvd", newdb=newdb@entry=0x7ffcfd10c760 "bytecode.cvd", bytecode=1) at manager.c:1530 #10 0x0000003b8d98f220 in updatedb (dbname=, dbname@entry=0x3b8d99aad9 "bytecode", hostname=hostname@entry=0x3b8f1dd750 "db.local.clamav.net", ip=ip@entry=0x7ffcfd10cb60 "62.245.181.53", signo=signo@entry=0x7ffcfd10ca88, opts=opts@entry=0x3b8f1ddf00, dnsreply=dnsreply@entry=0x3b8f1e4600 "0.99.2:58:23853:1505825087:1:63:46435:312", localip=0x0, outdated=0, mdat=0x7ffcfd10caa0, logerr=0, extra=0, attempt=2) at manager.c:2179 #11 0x0000003b8d990ded in downloadmanager (opts=, hostname=0x3b8f1dd750 "db.local.clamav.net", attempt=2) at manager.c:2737 #12 0x0000003b8d98a9be in download (opts=0x3b8f1ddf00, cfgfile=0x3b8f1ddfe0 "/etc/clamav/freshclam.conf") at freshclam.c:229 224: } 225: else 226: { 227: while (opt) 228: { 229: ret = downloadmanager (opts, opt->strarg, try); 230: #ifndef _WIN32 231: alarm (0); 232: #endif 233: if (ret == FCE_CONNECTION || ret == FCE_BADCVD 234: || ret == FCE_FAILEDGET || ret == FCE_MIRRORNOTSYNC) #13 0x0000003b8d984042 in main (argc=, argv=) at freshclam.c:693 688: TARGET_ARCH_TYPE ", CPU: " TARGET_CPU_TYPE ")\n", 689: get_version ()); 690: 691: while (!terminate) 692: { 693: ret = download (opts, cfgfile); 694: 695: if (ret > 1) 696: { 697: if ((opt = optget (opts, "OnErrorExecute"))->enabled) 698: arg = opt->strarg;