Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
Re: rustic 0.11.3: coredump on backup
To:
bket@openbsd.org, ports@openbsd.org
Date:
Tue, 09 Jun 2026 00:33:23 +0200

Download raw body.

Thread
On Tue, 09 Jun 2026 00:27:51 +0200,
Stuart Henderson <stu@spacehopper.org> wrote:
> 
> are there any clues from ktrace about what the code is doing at the time?
> 

I've tried a few times, each trace ends like that:

 79264 rustic   RET   connect -1 errno 36 Operation now in progress
 79264 rustic   CALL  kevent(6,0xb92dd364b48,2,0xb92dd364b48,2,0)
 79264 rustic   STRU  struct kevent [2] { ident=10, filter=EVFILT_WRITE, flags=0x61<EV_ADD|EV_CLEAR|EV_RECEIPT>, fflags=0<>, data=0, udata=0xb9257c11180 } { ident=10, filter=EVFILT_READ, flags=0x61<EV_ADD|EV_CLEAR|EV_RECEIPT>, fflags=0<>, data=0, udata=0xb9257c11180 }
 79264 rustic   RET   kevent 2
 79264 rustic   CALL  write(5,0xb8fdb4d2fa0,0x1)
 79264 rustic   GIO   fd 5 wrote 1 bytes
       "\^A"
 79264 rustic   RET   write 1
 79264 rustic   STRU  struct kevent { ident=4, filter=EVFILT_READ, flags=0x61<EV_ADD|EV_CLEAR|EV_RECEIPT>, fflags=0<>, data=2, udata=0x0 }
 79264 rustic   RET   kevent 1
 79264 rustic   CALL  kevent(3,0,0,0xb9240bfc000,1024,0xb92ac00cda8)
 79264 rustic   CALL  futex(0xb924434e238,0x1<FUTEX_WAIT>,1,0,0)
 79264 rustic   STRU  struct timespec { 0.248000000 }
 79264 rustic   STRU  struct kevent { ident=10, filter=EVFILT_WRITE, flags=0x61<EV_ADD|EV_CLEAR|EV_RECEIPT>, fflags=0<>, data=17376, udata=0xb9257c11180 }
 79264 rustic   RET   kevent 1
 79264 rustic   CALL  getsockopt(10,SOL_SOCKET,SO_ERROR,0xb92abfffabc,0xb92abfffab8)
 79264 rustic   RET   getsockopt 0
 79264 rustic   CALL  setsockopt(10,6<tcp>,1,0xb92abfffe7c,4)
 79264 rustic   RET   setsockopt 0
 79264 rustic   CALL  mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
 79264 rustic   RET   mmap 12724307324928/0xb929bd17000
 79264 rustic   CALL  minherit(0xb929bd17000,0x1000,MAP_INHERIT_ZERO)
 79264 rustic   RET   minherit 0
 79264 rustic   CALL  mmap(0,0x3000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
 79264 rustic   RET   mmap 12725011742720/0xb92c5ce0000
 79264 rustic   CALL  mmap(0,0x21000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
 79264 rustic   RET   mmap 12721775472640/0xb9204e87000
 79264 rustic   CALL  getentropy(0xb92abffea50,48)
 79264 rustic   RET   getentropy 0
 79264 rustic   PSIG  SIGSEGV caught handler=0xb8fdd58f440 mask=0<> code=SEGV_ACCERR addr=0xb8fdd15906f trapno=6
 79264 rustic   CALL  sigaction(SIGSEGV,0xb9222e79ae0,0)
 79264 rustic   STRU  struct sigaction { handler=SIG_DFL, mask=0<>, flags=0<> }
 79264 rustic   RET   sigaction 0
 79264 rustic   CALL  sigreturn(0xb9222e79b40)
 79264 rustic   RET   sigreturn JUSTRETURN
 79264 rustic   PSIG  SIGSEGV SIG_DFL code=SEGV_ACCERR addr=0xb8fdd15906f trapno=6
 79264 rustic   NAMI  "rustic.core"


-- 
wbr, Kirill