From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 9 23:50:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B7F11065672 for ; Thu, 9 Apr 2009 23:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 163358FC1F for ; Thu, 9 Apr 2009 23:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n39No3iQ072818 for ; Thu, 9 Apr 2009 23:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n39No3np072817; Thu, 9 Apr 2009 23:50:03 GMT (envelope-from gnats) Resent-Date: Thu, 9 Apr 2009 23:50:03 GMT Resent-Message-Id: <200904092350.n39No3np072817@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergei Mozhaisky Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A53EE106567D for ; Thu, 9 Apr 2009 23:40:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 92CDD8FC1D for ; Thu, 9 Apr 2009 23:40:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n39NeADm018388 for ; Thu, 9 Apr 2009 23:40:10 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n39NeAMD018387; Thu, 9 Apr 2009 23:40:10 GMT (envelope-from nobody) Message-Id: <200904092340.n39NeAMD018387@www.freebsd.org> Date: Thu, 9 Apr 2009 23:40:10 GMT From: Sergei Mozhaisky To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/133553: POSE port does not work on FreeBSD 7.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2009 23:50:04 -0000 >Number: 133553 >Category: ports >Synopsis: POSE port does not work on FreeBSD 7.x >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 09 23:50:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sergei Mozhaisky >Release: FreeBSD 7.1-RELEASE >Organization: >Environment: FreeBSD amateria 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Tue Feb 24 19:00:53 EET 2009 root@amateria:/usr/obj/usr/src/sys/AMATERIA i386 >Description: POSE palm emulator, installed from palm/pose port on FreeBSD 7.x, does not run correctly. When adding ROM image and run, following error occurs: Hardware exception #3 occurred while the emulator was calling the Palm OS function "DlkDispatchRequest". The emulator is now in an unstable state and will reset. After emulator 'soft reset' this error message appears again, so emulator is totally unusable. >How-To-Repeat: 1. Install POSE 2. Create new configuration, add Palm ROM image. 3. Try to run newly created configuration. >Fix: Patch was found here: http://www.opensubscriber.com/message/emulator-forum@news.palmos.com/7847249.html I've modified it so it applies correctly when port builds. Patch attached with submission follows: --- ../SrcShared/Miscellaneous.cpp.orig 2009-04-10 01:19:49.000000000 +0300 +++ ../SrcShared/Miscellaneous.cpp 2009-04-10 01:20:31.000000000 +0300 @@ -1370,7 +1370,7 @@ char buffer[ sizeof (DlpReqHeaderType) + sizeof (DlpTinyArgWrapperType) + sizeof (DlpWriteUserInfoReqHdrType) + - dlpMaxUserNameSize]; + dlpMaxUserNameSize] __attribute__((__aligned__(2))); // Get handy pointers to all of the above. DlpReqHeaderType* reqHdr = (DlpReqHeaderType*) buffer; >Release-Note: >Audit-Trail: >Unformatted: