On 2021-01-13 10:29:17 +0100, Vincent Lefevre wrote: > However, if I run "strace -f -o str.out aptitude", I don't always > get a segmentation fault. So there may be another reason.
When it crashes, this seems to be at the same place: [...] 2237416 read(3, "ym_19981025-8_amd64.deb\nSize: 11"..., 32324) = 32324 2237416 read(3, "ds: libcolorhug2 (= 1.4.5-3)\nDes"..., 32604) = 32604 2237416 read(3, "62e8f4b0 baeda553779dac49b00a6b2"..., 32336) = 32336 2237416 read(3, "83243673985ebc90635ba4337487ab 9"..., 17767) = 17767 2237416 read(3, "256: 588bb0e2a387be5494af07d9909"..., 32237) = 32237 2237416 read(3, "5688ba1f31dcc90cda9499 14b2ffe0c"..., 32391) = 32391 2237416 read(3, "2ecd4ea9d8b9d23afa9d5b67d7b8f2a3"..., 32481) = 32481 2237416 read(3, "fbef99d590e1cac8f0801e2fbcd2835e"..., 32449) = 32449 2237416 mremap(0x7fc6dc600000, 60817408, 61865984, MREMAP_MAYMOVE) = 0x7fc6d4500000 2237416 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fc6dffef750} --- [...] [...] 2237777 read(3, "ym_19981025-8_amd64.deb\nSize: 11"..., 32324) = 32324 2237777 read(3, "ds: libcolorhug2 (= 1.4.5-3)\nDes"..., 32604) = 32604 2237777 read(3, "62e8f4b0 baeda553779dac49b00a6b2"..., 32336) = 32336 2237777 read(3, "83243673985ebc90635ba4337487ab 9"..., 17767) = 17767 2237777 read(3, "256: 588bb0e2a387be5494af07d9909"..., 32237) = 32237 2237777 read(3, "5688ba1f31dcc90cda9499 14b2ffe0c"..., 32391) = 32391 2237777 read(3, "2ecd4ea9d8b9d23afa9d5b67d7b8f2a3"..., 32481) = 32481 2237777 read(3, "fbef99d590e1cac8f0801e2fbcd2835e"..., 32449) = 32449 2237777 mremap(0x7fad28600000, 60817408, 61865984, MREMAP_MAYMOVE) = 0x7fad20500000 2237777 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fad2bfef750} --- [...] [...] 2238354 read(3, "ym_19981025-8_amd64.deb\nSize: 11"..., 32324) = 32324 2238354 read(3, "ds: libcolorhug2 (= 1.4.5-3)\nDes"..., 32604) = 32604 2238354 read(3, "62e8f4b0 baeda553779dac49b00a6b2"..., 32336) = 32336 2238354 read(3, "83243673985ebc90635ba4337487ab 9"..., 17767) = 17767 2238354 read(3, "256: 588bb0e2a387be5494af07d9909"..., 32237) = 32237 2238354 read(3, "5688ba1f31dcc90cda9499 14b2ffe0c"..., 32391) = 32391 2238354 read(3, "2ecd4ea9d8b9d23afa9d5b67d7b8f2a3"..., 32481) = 32481 2238354 read(3, "fbef99d590e1cac8f0801e2fbcd2835e"..., 32449) = 32449 2238354 mremap(0x7f9754600000, 60817408, 61865984, MREMAP_MAYMOVE) = 0x7f974c500000 2238354 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7f9757fef750} --- [...] And when it doesn't: [...] 2237967 read(3, "ym_19981025-8_amd64.deb\nSize: 11"..., 32324) = 32324 2237967 read(3, "ds: libcolorhug2 (= 1.4.5-3)\nDes"..., 32604) = 32604 2237967 read(3, "62e8f4b0 baeda553779dac49b00a6b2"..., 32336) = 32336 2237967 read(3, "83243673985ebc90635ba4337487ab 9"..., 17767) = 17767 2237967 read(3, "256: 588bb0e2a387be5494af07d9909"..., 32237) = 32237 2237967 read(3, "5688ba1f31dcc90cda9499 14b2ffe0c"..., 32391) = 32391 2237967 read(3, "2ecd4ea9d8b9d23afa9d5b67d7b8f2a3"..., 32481) = 32481 2237967 read(3, "fbef99d590e1cac8f0801e2fbcd2835e"..., 32449) = 32449 2237967 mremap(0x7ff909d00000, 60817408, 61865984, MREMAP_MAYMOVE) = 0x7ff909d00000 2237967 read(3, "b\n\nPackage: cue2toc-dbgsym\nSourc"..., 32156) = 32156 2237967 read(3, "fc5e9475f8ea1996ad1d1\nDescriptio"..., 32468) = 32468 2237967 read(3, "noit <calcu...@rezozer.net>\nArch"..., 32635) = 32635 2237967 read(3, "446f87a121ed255bd081 e3830a9a187"..., 26866) = 26866 [...] -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)