ports/133553: POSE port does not work on FreeBSD 7.x

Sergei Mozhaisky sergei.mozhaisky at gmail.com
Thu Apr 9 23:50:04 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list