Direct Connect unix client - big problem on amd64

Wojciech Puchar wojtek at tensor.3miasto.net
Mon Jan 9 14:57:24 PST 2006


i installed dctc-0.84.1 from prebuild .tbz on FreeBSD 6.0/amd64

and (with parameters that i used before on NetBSD/i386 system):

INFO ] ""Direct Connect Text Client v0.84.1|
hubip: dchub.l. hubport: 1411
VAR  ] ""cnx_status|1|
file exists.
creating new sema.
creating.
semid=196610
created 2FD103C3.
DCTC: db_appinit, open /home/tools/dcftp/.dctc/bDB fails: Invalid argument


using google i found this bug common on 64-bit and no solve, so i tried to 
run 32-bit version.

i built statically linked dctc from ports on my home i386 machine (mostly 
doing make in ports and then modifying a bit one makefile)

that's an effect:

INFO ] ""Direct Connect Text Client v0.84.1|
hubip: dchub.l. hubport: 1411
VAR  ] ""cnx_status|1|
file exists.
creating new sema.
creating.
semid=262146
created 30B0214D.
PRGBR] ""init_share|0|Initialize shared file database|
PRGBR] ""init_share|100|Shared file database Initialized|
VAR  ] ""cnx_status|3|
Segmentation fault


last moments are:

  45589 dctc     CALL  flock(0xd,0x8)
  45589 dctc     RET   flock 0
  45589 dctc     CALL  close(0xd)
  45589 dctc     RET   close 0
  45589 dctc     CALL  sigprocmask(0x3,0xffffb020,0x819911c)
  45589 dctc     RET   sigprocmask 0
  45589 dctc     CALL  kse_create(0x819240c,0)
  45589 dctc     RET   kse_create 0
  45589 dctc     CALL  mmap(0xffcfd000,0x101000,0x3,0x400,0xffffffff,0,0,0)
  45589 dctc     RET   mmap -3158016/0xffcfd000
  45589 dctc     CALL  mprotect(0xffcfd000,0x1000,0)
  45589 dctc     RET   mprotect 0
  45589 dctc     CALL  kse_create(0x8192c8c,0x1)
  45589 dctc     RET   kse_create 0
  45589 dctc     RET   fork 0
  45589 dctc     CALL 
__sysctl(0xffffaf68,0x2,0xffffaf70,0xffffaf64,0x816efc8,0x18)
  45589 dctc     RET   __sysctl 0
  45589 dctc     PSIG  SIGSEGV SIG_DFL



what to do to run successfully DC text client under FreeBSD 6.0/amd64

thank you.


More information about the freebsd-questions mailing list