It's a pointer error : null pointer
you must trace your function to find
and verify all allocations with MemPtrNew and other
for instance :
CharPtr str;
str = (CharPtr) MemPtrNew(sizeof(char)*10);
ErrFatalDisplayIf(str==NULL,"allocation error"); //for debugging : display my
error message
str[11]='t'; // it's an error
...
[EMAIL PROTECTED] wrote:
> I'm working on an application using GCC and POSE. I'm using
> SysCreateDataBaseList to create a list of application databases and then later
> trying to lock the returned handle in the List Draw Callback Function that I've
> defined. I keep getting a bus error when attempting to lock the handle. What
> the heck does this mean and why is it happening? The handle is not null and
> appears to be the same value as it was immediately following the call to
> SysCreateDataBaseList.
>
> Thanks,
> Craig