http://bugs.winehq.org/show_bug.cgi?id=7688
Summary: dead code or bug? Win16Lock is not held before calling function add_to_init_list Product: Wine Version: 0.9.1. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-kernel AssignedTo: wine-bugs@winehq.org ReportedBy: tammy000@gmail.com
The comment above function add_to_init_list() says "This routine must only be called with the Win16Lock held."
but in the following call chain, the lock is not acquired.
mmTaskEntryPoint16 -> InitTask16 -> NE_DllProcessAttach -> add_to_init_list
Is mmTaskEntryPoint16 dead? I do not see where it is called from. Or is this a bug?