[M3devel] another trestle bug..
Olaf Wagner
wagner at elegosoft.com
Thu Aug 14 15:16:38 CEST 2008
Quoting Jay <jay.krell at cornell.edu>:
>
> Sigh..in FormsVBTEdit, control-a to select all, control-c to copy,
> control-c to copy again:
>
>
>
> ***
> *** runtime error:
> *** Thread client error: Attempt to lock mutex already locked by self
> *** file "..\src\thread\WIN32\ThreadWin32.m3", line 155
> ***
This may well be a side-effect of my changes, though I didn't notice
it. You may want to check the old code of the MacModel :-/
If it is, we have to review the mutex use.
Olaf
> Stack trace:
> FP PC Procedure
> --------- --------- -------------------------------
> 0x6a0f1d0 0x57ba8c Die + 0x2d in ..\src\thread\WIN32\ThreadWin32.m3
> 0x6a0f204 0x578d22 LockMutex + 0x13a in ..\src\thread\WIN32\ThreadWin32.m3
> 0x6a0f24c 0xec9f01 LostClipboard + 0x7f in ..\src\winvbt\WinTrestle.m3
> 0x6a0f288 0xec702c WindowProc + 0x8c8 in ..\src\winvbt\WinTrestle.m3
> 0x6a0f2b4 0x7d9472d8
> 0x6a0f32c 0x7d947568
> 0x6a0f388 0x7d947d93
> 0x6a0f3c8 0x7d969cb2
> 0x6a0f43c 0x7d61ea0e
> 0x6a0f46c 0xec4506 Acquire + 0x2f in ..\src\winvbt\WinTrestle.m3
> ......... ......... ... more frames ...
>
> full stack is:
>
>
> ChildEBP RetAddr
> 06a0f144 00575937 ntdll32!DbgBreakPoint
> 06a0f160 0056c42e m3core!RTOS__Crash+0x4c
> 06a0f178 0056a19e m3core!RTProcess__Crash+0x68
> 06a0f190 00569e1d m3core!RTError__EndError+0x37
> 06a0f1a8 0057ba8c m3core!RTError__Msg+0x8d
> 06a0f1d0 00578d22 m3core!ThreadWin32__Die+0x2d
> 06a0f204 00ec9f01 m3core!ThreadWin32__LockMutex+0x13a
> 06a0f24c 00ec702c m3ui!WinTrestle__LostClipboard+0x7f
> 06a0f288 7d9472d8 m3ui!WinTrestle__WindowProc+0x8c8
> 06a0f2b4 7d947568 user32!InternalCallWinProc+0x28
> 06a0f32c 7d947d93 user32!UserCallWinProcCheckWow+0x114
> 06a0f388 7d969cb2 user32!DispatchClientMessage+0xdf
> 06a0f3c8 7d61ea0e user32!__fnINDESTROYCLIPBRD+0x2c
> 06a0f3fc 00ec46bf ntdll32!KiUserCallbackDispatcher+0x2e
> 06a0f43c 00ec4506 m3ui!WinTrestle__Acquire__AcquireClipboard+0xf5
> 06a0f46c 00f327d8 m3ui!WinTrestle__Acquire+0x2f
> 06a0f4bc 00eedf1a m3ui!ETAgent__Acquire+0x21e
> 06a0f4f8 00eedf1a m3ui!VBTClass__AcquireDefault+0x110
> 06a0f534 00eedf1a m3ui!VBTClass__AcquireDefault+0x110
> 06a0f570 00eedf1a m3ui!VBTClass__AcquireDefault+0x110
> 06a0f5ac 00eedf1a m3ui!VBTClass__AcquireDefault+0x110
> 06a0f5e8 00eedf1a m3ui!VBTClass__AcquireDefault+0x110
> 06a0f624 00eedf1a m3ui!VBTClass__AcquireDefault+0x110
> 06a0f660 00f327d8 m3ui!VBTClass__AcquireDefault+0x110
> 06a0f6b0 00e06f96 m3ui!ETAgent__Acquire+0x21e
> 06a0f6e8 00eedf1a m3vbtkit!ReactivityVBT__Acquire+0x46
> 06a0f724 00eedf1a m3ui!VBTClass__AcquireDefault+0x110
> 06a0f760 00eedf1a m3ui!VBTClass__AcquireDefault+0x110
> 06a0f79c 00eedf1a m3ui!VBTClass__AcquireDefault+0x110
> 06a0f7d8 00eedf1a m3ui!VBTClass__AcquireDefault+0x110
> 06a0f814 00eed0e7 m3ui!VBTClass__AcquireDefault+0x110
> 06a0f848 00ee191b m3ui!VBTClass__Acquire+0xe1
> 06a0f874 00e3c80d m3ui!VBT__Acquire+0x56
> 06a0f918 00e3c737 m3vbtkit!TextPortClass__TakeSelection__take+0x7e
> 06a0f944 00e49ace m3vbtkit!TextPortClass__TakeSelection+0xbe
> 06a0f97c 00e49109 m3vbtkit!MacModel__Copy+0x87
> 06a0f9a4 00e3407d m3vbtkit!MacModel__ControlChord+0xd9
> 06a0fa1c 10026730 m3vbtkit!TextPort__Filter+0x243
> 06a0fa58 00405eaa m3formsvbt!FVRuntime__PortFilter+0xc3
> 06a0fb18 00e33e32 formsedit!FormsEditVBT__EPortFilter+0x3ac
> 06a0fb48 00e48c0e m3vbtkit!TextPort__ApplyStandardKeyFilter+0x89
> 06a0fb98 00e33da1 m3vbtkit!MacModel__ApplyMacFilter+0xcf
> 06a0fbf8 00eeae96 m3vbtkit!TextPort__Key+0x1a4
> 06a0fc30 00f33cd5 m3ui!VBTClass__Key+0xa5
> 06a0fc74 00e06f48 m3ui!ETAgent__KeyCode+0x19b
> 06a0fc94 00eeae96 m3vbtkit!ReactivityVBT__Key+0x42
> 06a0fccc 00f33cd5 m3ui!VBTClass__Key+0xa5
> 06a0fd10 00eeae96 m3ui!ETAgent__KeyCode+0x19b
> 06a0fd48 00ec8fbf m3ui!VBTClass__Key+0xa5
> 06a0fd9c 00ec6ef0 m3ui!WinTrestle__VBTKeyPress+0xfd
> 06a0fde0 7d9472d8 m3ui!WinTrestle__WindowProc+0x78c
> 06a0fe0c 7d947568 user32!InternalCallWinProc+0x28
> 06a0fe84 7d94778d user32!UserCallWinProcCheckWow+0x114
> 06a0fefc 7d94ab86 user32!DispatchMessageWorker+0x37b
> 06a0ff0c 00ecbbd9 user32!DispatchMessageA+0xf
> 06a0ff54 0057a69a m3ui!WinTrestle__MessengerApply+0x21f
> 06a0ff8c 0057a433 m3core!ThreadWin32__RunThread+0x1f6
> 06a0ffb8 7d4dfe21 m3core!ThreadWin32__ThreadBase+0x3a
> 06a0ffec 00000000 kernel32!BaseThreadStart+0x34
>
--
Olaf Wagner -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
More information about the M3devel
mailing list