[M3devel] mentor/win32

Tony Hosking hosking at cs.purdue.edu
Sat Oct 24 19:15:36 CEST 2009


This is only on Windows.

On 24 Oct 2009, at 10:53, Daniel Alejandro Benavides D. wrote:

> Hi:
> Does it show a runtime error message. can you get one? in which  
> module is nil dereferencing? could you compare what is the  
> difference when the system uses the gcc backend?
> Thanks in advance.
> --- El sáb, 24/10/09, Jay K <jay.krell at cornell.edu> wrote:
>
> De: Jay K <jay.krell at cornell.edu>
> Asunto: [M3devel] mentor/win32
> Para: "m3devel" <m3devel at elegosoft.com>
> Fecha: sábado, 24 octubre, 2009 9:39
>
> Well mentor at least crashes consistently, in head.
>
> 0:012> .lastevent
> Last event: efc.1240: Access violation - code c0000005 (first chance)
>   debugger time: Sat Oct 24 07:38:32.609 2009 (GMT-7)
> 0:012> u . l1
> m3vbtkit!ScrollerVBTClass__GetAttributes+0x179 [..\src\lego 
> \WIN32\ScrollerVBTCla
> ss.m3 @ 167]:
> 01181634 d94000          fld     dword ptr [eax]
> 0:012> r eax
> eax=0000000c
> 0:012> k
> ChildEBP RetAddr
> 0318f720 011b94e8 m3vbtkit!ScrollerVBTClass__GetAttributes+0x179 [.. 
> \src\lego\WI
> N32\ScrollerVBTClass.m3 @ 167]
> 0318f7f8 011b754e m3vbtkit!ViewportVBT__AddView+0x101e [..\src\lego 
> \ViewportVBT.
> m3 @ 409]
> 0318f844 01124fc7 m3vbtkit!ViewportVBT__Init+0x30e [..\src\lego 
> \ViewportVBT.m3 @
>  131]
> 0318f964 011134b1 m3formsvbt!FormsVBT__pViewport+0x512 [..\src 
> \FormsVBT.m3 @ 223
> 2]
> 0318f9c4 0113107a m3formsvbt!FormsVBT__Item+0x48b [..\src 
> \FormsVBT.m3 @ 250]
> 0318f9f0 01117520 m3formsvbt!FormsVBT__OneChild+0xf8 [..\src 
> \FormsVBT.m3 @ 3642]
> 0318faf8 011134b1 m3formsvbt!FormsVBT__pShape+0x19c [..\src 
> \FormsVBT.m3 @ 948]
> 0318fb58 0113107a m3formsvbt!FormsVBT__Item+0x48b [..\src 
> \FormsVBT.m3 @ 250]
> 0318fb84 011157d5 m3formsvbt!FormsVBT__OneChild+0xf8 [..\src 
> \FormsVBT.m3 @ 3642]
> 0318fc80 011134b1 m3formsvbt!FormsVBT__pBorder+0x1af [..\src 
> \FormsVBT.m3 @ 782]
> 0318fce0 011313aa m3formsvbt!FormsVBT__Item+0x48b [..\src 
> \FormsVBT.m3 @ 250]
> 0318fd30 0111c3d6 m3formsvbt!FormsVBT__AddChildren+0x2d4 [..\src 
> \FormsVBT.m3 @ 3
> 671]
> 0318fe14 0111c0c8 m3formsvbt!FormsVBT__pHVBox+0x303 [..\src 
> \FormsVBT.m3 @ 1372]
> 0318fe40 011134b1 m3formsvbt!FormsVBT__pVBox+0x22 [..\src 
> \FormsVBT.m3 @ 1353]
> 0318fea0 01111dab m3formsvbt!FormsVBT__Item+0x48b [..\src 
> \FormsVBT.m3 @ 250]
> 0318ff4c 007bac76 m3formsvbt!FormsVBT__Apply+0xa3 [..\src 
> \FormsVBT.m3 @ 84]
> 0318ff8c 007baa96 m3core!ThreadWin32__RunThread+0x195 [..\src\thread 
> \WIN32\Threa
> dWin32.m3 @ 524]
> 0318ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread 
> \WIN32\Threa
> dWin32.m3 @ 504]
> 0318ffec 00000000 kernel32!BaseThreadStart+0x37
> 0:012>
>
>
> Should be easy to figure out given the consistency.
> It is a null deref, offset.
>
>  - Jay
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20091024/5fb6f5f6/attachment-0002.html>


More information about the M3devel mailing list