Can't create method

jda jda at his.com
Sun Jan 18 17:05:35 CST 2004


>
>
>Frankly saying no ideas.
>
>So you have had some project.
>You already have in this project some BaseObject methods, yes?
>
>Now you add one more.
>
>Create fresh db.
>
>Add some record and crash?
>

It is very strange.

The method actually works, returning the correct values when I run 
the app. But once I have used it to sort the data, I can't update the 
database without a crash. I can't even open the database again. But 
when I do a diagnose, the database is all right!

Here is the relevant part of the crash record when I try to update a 
field after sorting with the new method:

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x0000000c

Thread 0 Crashed:
0   Plugin                        	0x0061526c 0x4d5000 + 0x14026c
1   Plugin                        	0x0061589c 0x4d5000 + 0x14089c
2   Plugin                        	0x00615e68 0x4d5000 + 0x140e68
3   Plugin                        	0x006160e0 0x4d5000 + 0x1410e0
4   Plugin                        	0x006144d0 0x4d5000 + 0x13f4d0
5   Plugin                        	0x00614530 0x4d5000 + 0x13f530
6   Plugin                        	0x0051a954 
ClearOldValue__13FBL_BaseFieldFv + 0x24
7   Plugin                        	0x0054c2ac 
ClearOldValues__16FBL_IndexedTableFv + 0x8c
8   Plugin                        	0x0054b72c 
UpdateRecord__16FBL_IndexedTableFb + 0x19c
9   Plugin                        	0x005621e8 
UpdateRecord__14OBL_BaseObjectFv + 0x88
10  Plugin                        	0x0060454c 
Update__24OBL_CursorTable_IndirectFv + 0x13c
11  Plugin                        	0x0058195c 
Update__10OBL_CursorFv + 0x4c
12  Plugin                        	0x00582f10 
Update__10VDK_CursorFv + 0x30
13  Plugin                        	0x004ec92c 
Cursor_UpdateRecord__FP16REALobjectStruct + 0x6c


Jon


More information about the Valentina mailing list