Thanks. This code does look familiar. Just today, a couple of Palm VII-related
Palm OS engineers directed my attention to a problem in a 3rd party library
we're using. The code I found looks very similar to the code you posted. I'll
probably have to modify Poser to recognize the errant function and inhibit error
messages if it looks like that's the one accessing the unallocated chunk.
By the way, are you sure about those memory locations you gave? Since the ROM
starts at 0x10C00000, the memory locations you give imply a ROM larger than 2
Meg. But the palmos35-dr2 ROM you said you're using is less than 2 Meg.
-- Keith Rollin
-- Palm OS Emulator engineer
[EMAIL PROTECTED] (Steven Lawson) on 09/13/2000 08:37:06 AM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] (Steven Lawson)
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (Keith Rollin/US/PALM)
Subject: Re: iNetLib accesses unalloc'd mem with HTTPS?
Obviously something is wrong with my debugging environment. I start
Codewarrior (R6) and run INETLOW with a breakpoint at the ReqSend. I
type in an HTTPS URL and hit the breakpoint. I run from there and get
the "unallocated chunk" error from POSE. At that point I hit the
"debug" button and get an assembler listing in Codewarrior. The
problem is, the stack window looks like junk (I dount it's real, as
ignoring the unallocated chunk access doesn't bomb as I'd expect if
the stack were truely munched). Also, if I try and bring up the
registers window Codewarrior pops up with an exception of its own (I
assume talking to POSE), then the IDE crashes with a Windows exception
The problem should be easy to reproduce, just load INETLOW and give it
an HTTPS URL. I notice someone else just posted the same problem to
this forum too.
For what it's worth (maybe possible to identify the function?) here is
there Codewarrior displays after hitting "Debug" in POSE. The PC is
on the move.b at the start. Sorry I'm unable to get the values of the
registers:
0DDE018: 10D9 move.b (a1)+,(a0)+
10DDE01A: 51C8FFFC dbra d0,*-2 ;
0x10dde018
10DDE01E: 4E75 rts
10DDE020: 206F0004 movea.l 4(a7),a0
10DDE024: 226F0008 movea.l 8(a7),a1
10DDE028: 322F000C move.w 12(a7),d1
10DDE02C: 4240 clr.w d0
10DDE02E: 600E bra.s *+16 ;
0x10dde03e
10DDE030: B109 cmpm.b (a1)+,(a0)+
10DDE032: 670A beq.s *+12 ;
0x10dde03e
10DDE034: 6D04 blt.s *+6 ;
0x10dde03a
10DDE036: 5280 addq.l #1,d0
10DDE038: 4E75 rts
On Tue, 12 Sep 2000 14:28:49 -0700, [EMAIL PROTECTED] wrote:
>
>
>
>Well, if you've got something that I can use to reproduce the problem, I can
>look into it. Or you can. When Poser shows the error dialog, pop into
>PalmDebugger, get a stack crawl, poke around the code causing the problem,
>examine registers, etc.
>
>-- Keith Rollin
>-- Palm OS Emulator engineer
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/