pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lang/mono or futex problem



Hi!

I've just tried updating the .net program 'torrentzip'
(archivers/torrentzip) to the latest version. The current pkgsrc
version can be run by calling 'mono' on it (the package installs a
wrapper), but the updated version is a Linux binary.

(I can't start the new version using mono, because I then get
"Cannot open assembly '/usr/pkg/bin/torrentzip': File does not contain a valid CIL image.")

So I packaged it using Linux emulation, but when I try to start it, I get:

Failed to create CoreCLR, HRESULT: 0x8007054F

I tried ktrace'ing it. The last failure before that error is

  1591   1591 torrentzip CALL  mmap(0x7f7f7c3dc000,0x71bf0000,PROT_NONE,0x22<PRIVATE,RENAME,FILE,ALIGN=NONE>,0xffffffff,0)
  1591   1591 torrentzip RET   mmap 140185521995776/0x7f7f7c3dc000
  1591   1591 torrentzip CALL  time(0)
  1591   1591 torrentzip RET   time 1627813234/0x61067572
  1591   1591 torrentzip CALL  mmap(0,0x401000,PROT_READ|PROT_WRITE,0x20022<PRIVATE,RENAME,FILE,ALIGN=NONE>,0xffffffff,0)
  1591   1591 torrentzip RET   mmap 140187558227968/0x7f7ff59c3000
  1591   1591 torrentzip CALL  mprotect(0x7f7ff59c3000,0x1000,PROT_NONE)
  1591   1591 torrentzip RET   mprotect 0
  1591   1591 torrentzip CALL  clone(0x3d0f00,0x7f7ff5dc2fb0,0x7f7ff5dc39d0,0x7f7ff5dc39d0,0x7f7ff5dc3700)
  1591   1591 torrentzip RET   clone 6073/0x17b9
  1591   1591 torrentzip CALL  futex(0x45e4f4,FUTEX_WAIT_PRIVATE,1,0,0x45e400,0)
  1591   6073 torrentzip RET   open 0
  1591   6073 torrentzip CALL  __futex_set_robust_list(0x7f7ff5dc39e0,0x18)
  1591   6073 torrentzip RET   __futex_set_robust_list 0
  1591   6073 torrentzip CALL  sched_getaffinity(0x637,0x80,0x7f7ff5dc2e70)
  1591   6073 torrentzip RET   sched_getaffinity 8
  1591   6073 torrentzip CALL  sched_getaffinity(0x637,0x80,0x7f7ff5dc2da0)
  1591   6073 torrentzip RET   sched_getaffinity 8
  1591   6073 torrentzip CALL  sched_setaffinity(0,0x80,0x7f7ff5dc2e70)
  1591   6073 torrentzip RET   sched_setaffinity -1 errno -1 Operation not permitted
  1591   6073 torrentzip CALL  futex(0x45e4f4,FUTEX_WAKE_OP_PRIVATE,1,1,0x45e4f0,0x4000001)
  1591   6073 torrentzip RET   futex 1
  1591   1591 torrentzip RET   futex 0
  1591   6073 torrentzip CALL  madvise(0x7f7ff59c3000,0x3fb000,4)
  1591   1591 torrentzip CALL  futex(0x45e4c8,FUTEX_WAKE_PRIVATE,1,0,0,1)
  1591   6073 torrentzip RET   madvise 0
  1591   1591 torrentzip RET   futex 0
  1591   6073 torrentzip CALL  exit(0)
  1591   1591 torrentzip CALL  write(2,0x448c00,0x2d)
  1591   1591 torrentzip GIO   fd 2 wrote 45 bytes
       "Failed to create CoreCLR, HRESULT: 0x8007054F"
  1591   1591 torrentzip RET   write 45/0x2d

But i'm not sure if that means there is a problem with futex() or if
that is already in the error handling.

Web searches for that error didn't help me.

Any ideas?

The package is in wip/torrentzip if anyone wants to give it a try.
 Thomas



Home | Main Index | Thread Index | Old Index