V4CC Crashes
Ernesto Giannotta
ernestogiannotta at tiscalinet.it
Wed Jan 13 16:47:25 CST 2010
Hi Ruslan,
I got problems with V4CC.
With the latest 4.5b3 I get this crash when executing this line (in the examples project, API_Table_CreateDrop Target):
VTable* tblPerson = [mDatabase createTable:@"Person"];
0x00039382 <+0000> push %ebp
0x00039383 <+0001> mov %esp,%ebp
0x00039385 <+0003> push %edi
0x00039386 <+0004> push %esi
0x00039387 <+0005> push %ebx
0x00039388 <+0006> sub $0x3c,%esp
0x0003938b <+0009> movzbl 0xc(%ebp),%eax
0x0003938f <+0013> mov 0x8(%ebp),%edx
0x00039392 <+0016> call 0x39397 <_Z16MakeREALInstanceN3fbl9smart_ptrINS_7I_TableEEEb+21>
0x00039397 <+0021> pop %ebx
0x00039398 <+0022> mov %al,-0x2a(%ebp)
0x0003939b <+0025> xor %eax,%eax
0x0003939d <+0027> mov (%edx),%esi
0x0003939f <+0029> test %esi,%esi
0x000393a1 <+0031> je 0x393a9 <_Z16MakeREALInstanceN3fbl9smart_ptrINS_7I_TableEEEb+39>
0x000393a3 <+0033> mov 0x32d19(%ebx),%eax
0x000393a9 <+0039> xor %edi,%edi
0x000393ab <+0041> test %eax,%eax
0x000393ad <+0043> jne 0x3945a <_Z16MakeREALInstanceN3fbl9smart_ptrINS_7I_TableEEEb+216>
0x000393b3 <+0049> jmp 0x39486 <_Z16MakeREALInstanceN3fbl9smart_ptrINS_7I_TableEEEb+260>
0x000393b8 <+0054> mov 0x2dc6d(%ebx),%edx
0x000393be <+0060> mov %eax,(%esp)
0x000393c1 <+0063> mov %edx,0x4(%esp)
0x000393c5 <+0067> call 0x6c398 <dyld_stub_objc_msgSend>
0x000393ca <+0072> test %eax,%eax
0x000393cc <+0074> mov %eax,%edi
0x000393ce <+0076> je 0x39436 <_Z16MakeREALInstanceN3fbl9smart_ptrINS_7I_TableEEEb+180>
0x000393d0 <+0078> mov 0x2dc69(%ebx),%eax
0x000393d6 <+0084> mov %edi,(%esp)
0x000393d9 <+0087> mov %eax,0x4(%esp)
0x000393dd <+0091> call 0x6c398 <dyld_stub_objc_msgSend>
0x000393e2 <+0096> mov %eax,%esi
0x000393e4 <+0098> movzbl -0x2a(%ebp),%eax
0x000393e8 <+0102> mov %al,0x4(%esi) <---- Program received signal: “EXC_BAD_ACCESS”
0x000393eb <+0105> mov 0x8(%ebp),%eax
0x000393ee <+0108> mov (%eax),%edx
0x000393f0 <+0110> test %edx,%edx
0x000393f2 <+0112> mov %edx,-0x1c(%ebp)
0x000393f5 <+0115> je 0x393ff <_Z16MakeREALInstanceN3fbl9smart_ptrINS_7I_TableEEEb+125>
0x000393f7 <+0117> mov (%edx),%eax
0x000393f9 <+0119> mov %edx,(%esp)
0x000393fc <+0122> call *0x8(%eax)
0x000393ff <+0125> lea -0x1c(%ebp),%eax
0x00039402 <+0128> mov %eax,0x8(%esp)
0x00039406 <+0132> mov %esi,0x4(%esp)
0x0003940a <+0136> mov %edi,(%esp)
0x0003940d <+0139> call 0x38634 <_Z17Table_SetInstanceP6VTableP9TableDataN3fbl9smart_ptrINS3_7I_TableEEE>
0x00039412 <+0144> mov -0x1c(%ebp),%edx
0x00039415 <+0147> test %edx,%edx
0x00039417 <+0149> jne 0x3942e <_Z16MakeREALInstanceN3fbl9smart_ptrINS_7I_TableEEEb+172>
0x00039419 <+0151> jmp 0x39436 <_Z16MakeREALInstanceN3fbl9smart_ptrINS_7I_TableEEEb+180>
0x0003941b <+0153> mov -0x1c(%ebp),%edx
0x0003941e <+0156> mov %eax,%esi
0x00039420 <+0158> test %edx,%edx
0x00039422 <+0160> je 0x39446 <_Z16MakeREALInstanceN3fbl9smart_ptrINS_7I_TableEEEb+196>
0x00039424 <+0162> mov (%edx),%eax
0x00039426 <+0164> mov %edx,(%esp)
0x00039429 <+0167> call *0xc(%eax)
0x0003942c <+0170> jmp 0x39446 <_Z16MakeREALInstanceN3fbl9smart_ptrINS_7I_TableEEEb+196>
0x0003942e <+0172> mov (%edx),%eax
0x00039430 <+0174> mov %edx,(%esp)
0x00039433 <+0177> call *0xc(%eax)
0x00039436 <+0180> mov 0x32d65(%ebx),%eax
0x0003943c <+0186> movzbl -0x29(%ebp),%edx
0x00039440 <+0190> mov %dl,(%eax)
0x00039442 <+0192> jmp 0x39486 <_Z16MakeREALInstanceN3fbl9smart_ptrINS_7I_TableEEEb+260>
0x00039444 <+0194> mov %eax,%esi
0x00039446 <+0196> mov 0x32d65(%ebx),%eax
0x0003944c <+0202> movzbl -0x29(%ebp),%edx
0x00039450 <+0206> mov %dl,(%eax)
0x00039452 <+0208> mov %esi,(%esp)
0x00039455 <+0211> call 0x6c168 <dyld_stub__Unwind_Resume>
0x0003945a <+0216> mov 0x32d65(%ebx),%eax
0x00039460 <+0222> movzbl (%eax),%edx
0x00039463 <+0225> movb $0x0,(%eax)
0x00039466 <+0228> mov 0x2dce1(%ebx),%eax
0x0003946c <+0234> mov %dl,-0x29(%ebp)
0x0003946f <+0237> mov %eax,0x4(%esp)
0x00039473 <+0241> mov 0x2dff1(%ebx),%eax
0x00039479 <+0247> mov %eax,(%esp)
0x0003947c <+0250> call 0x6c398 <dyld_stub_objc_msgSend>
0x00039481 <+0255> jmp 0x393b8 <_Z16MakeREALInstanceN3fbl9smart_ptrINS_7I_TableEEEb+54>
0x00039486 <+0260> add $0x3c,%esp
0x00039489 <+0263> mov %edi,%eax
0x0003948b <+0265> pop %ebx
0x0003948c <+0266> pop %esi
0x0003948d <+0267> pop %edi
0x0003948e <+0268> leave
0x0003948f <+0269> ret
If I try to install the 4.3 official release I get a fatal dylib error...
Where am I wrong?
Cool Runnings,
Erne.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macserve.net/pipermail/valentina/attachments/20100113/ac4eeb1c/attachment.html
More information about the Valentina
mailing list