From owner-freebsd-questions@FreeBSD.ORG Mon Jan 9 22:57:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DED716A41F for ; Mon, 9 Jan 2006 22:57:24 +0000 (GMT) (envelope-from wojtek@tensor.3miasto.net) Received: from chylonia.3miasto.net (chylonia.3miasto.net [213.192.74.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD3BD43D46 for ; Mon, 9 Jan 2006 22:57:21 +0000 (GMT) (envelope-from wojtek@tensor.3miasto.net) Received: from chylonia.3miasto.net (localhost [127.0.0.1]) by chylonia.3miasto.net (8.13.4/8.13.4) with ESMTP id k09MvFb7013024 for ; Mon, 9 Jan 2006 23:57:15 +0100 (CET) (envelope-from wojtek@tensor.3miasto.net) Received: from localhost (wojtek@localhost) by chylonia.3miasto.net (8.13.4/8.13.4/Submit) with ESMTP id k09MvE4r013021 for ; Mon, 9 Jan 2006 23:57:14 +0100 (CET) (envelope-from wojtek@tensor.3miasto.net) X-Authentication-Warning: chylonia.3miasto.net: wojtek owned process doing -bs Date: Mon, 9 Jan 2006 23:57:14 +0100 (CET) From: Wojciech Puchar X-X-Sender: wojtek@chylonia.3miasto.net To: freebsd-questions@freebsd.org Message-ID: <20060109232517.Q88554@chylonia.3miasto.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Direct Connect unix client - big problem on amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2006 22:57:24 -0000 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.