Re: Memory Manager Error

2008-11-26 Thread Rnieves
I traced it back and found where it was being allocated. That segment of code where it was allocated did no point it to NULL in case it didnt need to be allocated. Long story short it was trying to free a pointer that had "something" but its location was unknown so not even a precheck like if(

Re: Memory Manager Error

2008-11-26 Thread reeder.29
Do you know the function allocated the char* on the heap, and that it expects your code to free it? Doug Reeder sent from my Palm OS Treo 650 -Original Message- From: "Rnieves" <[EMAIL PROTECTED]> Subj: Memory Manager Error Date: Tue Nov 25, 2008 4:20 pm Size: 366

Memory Manager Error

2008-11-25 Thread Rnieves
I acquire a Char * from a function and then at the end of my application I free the pointer by doing a MemPtrFree(p). I then proceed to point p=NULL; and this causes an error "MemoryMgr.c, Line:3760, Invalid chunk ptr" Any ideas? -- For information on using the ACCESS Developer Forums, or to uns

Re: Memory Manager Error

2003-11-19 Thread Pascal LEVY
> Thanks for the clues . I will try to find out if there's anything wrong with > our code again .. But exactly what are the differences between the memory > managers of 4.1 & 5.0? I mean are they doing some extra checks in 5.0? I have no idea. But I'm not sure this is the point: from the programme

Re: Memory Manager Error

2003-11-19 Thread Dhanashri
ns it may not be interfering with the memory management information . Anyways , thanks again & regards , Dhanashri . - Original Message - From: "Pascal LEVY" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2

Re: Memory Manager Error

2003-11-19 Thread Pascal LEVY
> This is quite similar to what we are facing in our application ported to OS > 5.0 . Please anybody from the Palm OS developers have any idea what's > happening behind the scenes ?? My guess is that your application trashes the heap. You probably overwrite some memory management information, whi

Re: Memory Manager Error

2003-11-19 Thread Dhanashri
should be done .. Thanks , Dhanashri . - Original Message - From: "Jake Wobbrock" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 12:26 PM Subject: Re: Memory Manager Error &g

Re: Memory Manager Error

2003-11-19 Thread Jake Wobbrock
From: "Dhanashri" <[EMAIL PROTECTED]> > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Thursday, November 13, 2003 9:34 PM > Subject: Re: Memory Manager Error > > > > Hi Anders , > > I removed all the MemMoves with my own MyMemCopy

Re: Memory Manager Error

2003-11-13 Thread Dhanashri
Hello All , Please someone reply .. -Dhanashri / - Original Message - From: "Dhanashri" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 9:34 PM Subject: Re: Memory Manager Error > Hi Anders , >

Re: Memory Manager Error

2003-11-13 Thread Dhanashri
;[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 8:49 PM Subject: Re: Memory Manager Error > Hi Anders , > Also 1 thing is we wanted to know .. the same code works on Palm OS 4.1 on > Samsung i500 device . But it won't work on OS 5.0 . Why this is so ? Does OS > 5.0 treat mem

Re: Memory Manager Error

2003-11-13 Thread Dhanashri
;Dhanashri" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 8:08 PM Subject: Re: Memory Manager Error > Hi Anders , > Can I see the memory map in Codewarrior ? For example , in Archimedes > compiler for 8051 , we

Re: Memory Manager Error

2003-11-13 Thread Dhanashri
shri . - Original Message - From: "Anders Rahm-Nilzon" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 7:57 PM Subject: Re: Memory Manager Error > I think that it checks if the addres

Re: Memory Manager Error

2003-11-13 Thread Anders Rahm-Nilzon
I think that it checks if the address are valid and inside the perimiter of the dynamic heap. I'll hope you solve this problem. Good Luck !!! \Anders R-N -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Memory Manager Error

2003-11-13 Thread Dhanashri
-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 5:52 PM Subject: Re: Memory Manager Error > Hi Dhanashri, > > I don't think that there should be any limitation, but you have to make sure > that if you have defined a buff

Re: Memory Manager Error

2003-11-13 Thread Anders Rahm-Nilzon
Hi Dhanashri, I don't think that there should be any limitation, but you have to make sure that if you have defined a buffer that can hold 32k and you just have 22k in i you shouldn't try to move 32k. DmWrite should you use when you don't have your buffers in the dynamic heap and I think that MemM

Re: Memory Manager Error

2003-11-13 Thread Dhanashri
alm os 5.0 applications & their possible causes ? > thanks & best regards , > Dhanashri . > > > - Original Message - > From: "Anders Rahm-Nilzon" <[EMAIL PROTECTED]> > Newsgroups: palm-dev-forum > To: "Palm Developer Forum" <[EMAIL PROTECTE

Re: Memory Manager Error

2003-11-12 Thread Dhanashri
ssage - From: "Anders Rahm-Nilzon" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, November 12, 2003 8:22 PM Subject: Re: Memory Manager Error > Hi Dhanashri, > Use the debugger to see if you

Re: Memory Manager Error

2003-11-12 Thread Anders Rahm-Nilzon
Make sure that you don't trying to move more bytes then the buffer holds. You have to be sure that you move the right size from the source buffer. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Memory Manager Error

2003-11-12 Thread Anders Rahm-Nilzon
Hi Dhanashri, Use the debugger to see if you get any data in your local buffer and if you get the right address before you use the function MemMove. I don't see why MemMove shouldn't work either so check the values in your buffer and the pointer you use for each buffer. \Anders R-N -- For info

Re: Memory Manager Error

2003-11-12 Thread Dhanashri
November 12, 2003 6:11 PM Subject: Re: Memory Manager Error > If the pointer to the chunk have an NULL address you get that error message, > but how do you use MemMove without create a pointer or a chunk? > > "Marianne" <[EMAIL PROTECTED]> wrote in message > news:[EMAI

Re: Memory Manager Error

2003-11-12 Thread Anders Rahm-Nilzon
ctions .We have used MemMove.. > Is this causing the problem > > Marianne > > > - Original Message - > From: "Anders Rahm-Nilzon" <[EMAIL PROTECTED]> > Newsgroups: palm-dev-forum > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent

Re: Memory Manager Error

2003-11-12 Thread Marianne
Sent: Tuesday, November 11, 2003 1:55 PM Subject: Re: Memory Manager Error > It sounds like you get a pointer that has a NULL-address. Do you use any > memory allocation function eg. MemPtrNew, MemHandleNew or MemGluePtrNew ? > > "Marianne" <[EMAIL PROTECTED]>

Re: Memory Manager Error

2003-11-11 Thread Anders Rahm-Nilzon
It sounds like you get a pointer that has a NULL-address. Do you use any memory allocation function eg. MemPtrNew, MemHandleNew or MemGluePtrNew ? "Marianne" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Hello, > > I have written an application and when i run it i get the foll

Re: Memory Manager Error

2003-11-10 Thread Marianne
... " MemoryMgr.c , Line:3675, Invalid chunk ptr RESET " Marianne - Original Message - From: "Chris Apers" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, November 10, 2003 8:00 PM Subject: Re: Mem

Re: Memory Manager Error

2003-11-10 Thread Chris Apers
Did you try to debug your app ? this is the easier way to find out why/where this occured. > > > We don't explicitly create any chunk.. We just get the error, we have no > idea how this error comes > So we wanted to know what generates the error.Please guide us... > > Marianne > > > -- For

Re: Memory Manager Error

2003-11-10 Thread Marianne
m-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, November 10, 2003 7:12 PM Subject: Re: Memory Manager Error > How do you create the chunk? > > "Marianne" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > >

Re: Memory Manager Error

2003-11-10 Thread Anders Rahm-Nilzon
How do you create the chunk? "Marianne" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Hello, > > I have written an application and when i run it i get the following error: > > In which conditions do we get this error in Palm OS 5.0 : > MemoryMgr.c , Line:3675, > Inv

Memory Manager Error

2003-11-10 Thread Marianne
Hello, I have written an application and when i run it i get the following error: In which conditions do we get this error in Palm OS 5.0 : MemoryMgr.c , Line:3675, Invalid chunk ptr After this the PDA RESETs .Can anyone help me out... Thanks in advance Marianne -- For inform

Re: Memory manager error

2001-09-14 Thread Aaron Peter
Hi, As u were told earlier chang ur pointer type(ID) to arrays.or integer. -Peter -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Memory manager error

2001-09-14 Thread Saraswathy
- Original Message - From: "Aaron Peter" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, September 14, 2001 12:54 PM Subject: Re: Memory manager error > > Hi, > > > > MemHand

Re: Memory manager error

2001-09-13 Thread Saraswathy
Thank you. I will try and get back... Veena - Original Message - From: "Keith Rollin" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, September 14, 2001 12:43 PM Subject: Re: Memory manager error > At 12:29 PM +0530

Re: Memory manager error

2001-09-13 Thread Aaron Peter
hey are correct.Is > there any other way like a message box , or something other than that which > i can use instead of an alert. > > Regards, > Veena > - Original Message - > From: "Keith Rollin" <[EMAIL PROTECTED]> > To: "Palm Developer Forum&

Re: Memory manager error

2001-09-13 Thread Keith Rollin
At 12:29 PM +0530 9/6/01, Saraswathy wrote: >while using the debugger , it gives the error where i set my frmCustomAlert >to notify the values..If i remove it generally there is no error. But then i >am not able to find out the values being read and if they are correct.Is >there any other way like

Re: Memory manager error

2001-09-13 Thread Saraswathy
that which i can use instead of an alert. Regards, Veena - Original Message - From: "Keith Rollin" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, September 14, 2001 12:17 PM Subject: Re: Memory manager error > Please use

Re: Memory manager error

2001-09-13 Thread Saraswathy
;(((myrec *)0)->test)) //offsetrec=offsetrec + sizeof(myrec); MemHandleUnlock(q); DmReleaseRecord(dbref,at,true); // at=at+1; DmCloseDatabase(dbref); break; - Original Message - From: "Aaron Peter" <[EMAIL PROTECTED]> To: "P

Re: Memory manager error

2001-09-13 Thread Keith Rollin
>> >> - Original Message - >> From: "Aaron Peter" <[EMAIL PROTECTED]> >> To: "Palm Developer Forum" <[EMAIL PROTECTED]> >> Sent: Friday, September 14, 2001 11:11 AM >> Subject: Re: Memory manager error >&g

Re: Memory manager error

2001-09-13 Thread Aaron Peter
per Forum" <[EMAIL PROTECTED]> > Sent: Friday, September 14, 2001 11:11 AM > Subject: Re: Memory manager error > > > Hi, > > Maybe ur using some pointers to store values. So when u come next > time ur values maybe lost ! > > > > -Peter > > &

Re: Memory manager error

2001-09-13 Thread Saraswathy
hi, What do i do..That doesnt seem to be the problem..and if it is..what do i do. -Veena - Original Message - From: "Aaron Peter" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, September 14, 2001 11:11 AM Subject:

Re: Memory manager error

2001-09-13 Thread Aaron Peter
Hi, Maybe ur using some pointers to store values. So when u come next time ur values maybe lost ! -Peter Saraswathy wrote: > Hi, > > While running the program on the emulator i get an error > > The first time I run the application on the emulator its runs fine, but the > second time I en

Memory manager error

2001-09-13 Thread Saraswathy
Hi, While running the program on the emulator i get an error The first time I run the application on the emulator its runs fine, but the second time I encounter this error. Given Below "Starter 1.0 has just read directly from memory manager data structures" Kindly help Regards, Saraswathy -