Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Segmentation issues and CRASH after hotsync.

1 view
Skip to first unread message

Nik

unread,
Aug 16, 2006, 3:00:17 PM8/16/06
to
I am running into some segmentation issues while building our
Application. Things worked fine till I added some new code (.cpp/.h)
into the project. This causes the " Segment greater then 64K"
linker error which I have seen many times before. I moved files around
till the error went away and the project was building correctly. What I

see now is that the application works fine till I do a hotsync. Then
the device resets (on the emulator as
well as the device). The emulator throws up a message which says "
"MyApp" is attempting to change the emulated program counter to
0x80001CDC. This address is invalid because its neither ROM nor
RAM....."
I have tried quite a few things to fix this but to no avail. Any
help will be appreciated.


Enviroment Info:
********************
CodeWarrior 8


Project Settings:
********************
Model: Smart
Struct Allignment: 64K
Optimizations: Level 1
Use 4byte ints: TRUE

Baxter

unread,
Aug 16, 2006, 9:56:39 PM8/16/06
to
Could be any number of things.
- sounds a lot like a buffer overflow
- I had something like this when my app was calling a Form with the wrong
ID -- the ID I was using was not a Form, it was a different resource. Most
devices ignored it, a Treo reset every time.

--
---------------------------------------------------------------------
DataGet® & PocketLog® www.dataget.com
Data Collectors www.baxcode.com
--------------------------------------------------------------------

"Nik" <nikhil...@gmail.com> wrote in message
news:1155754816.7...@b28g2000cwb.googlegroups.com...

0 new messages