[Bug 57982] New: 0758:err:virtual:virtual_setup_exception nested exception on signal stack in thread 0758 addr 0x3f0003f4af stack 0x7fedf170
https://bugs.winehq.org/show_bug.cgi?id=57982 Bug ID: 57982 Summary: 0758:err:virtual:virtual_setup_exception nested exception on signal stack in thread 0758 addr 0x3f0003f4af stack 0x7fedf170 Product: Wine Version: 7.0.2 Hardware: aarch64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: liunixfinal(a)gmail.com Distribution: --- Created attachment 78235 --> https://bugs.winehq.org/attachment.cgi?id=78235 debugging logs generated after running the application under Wine My program uses WaitForMultipleObjects to monitor multiple pipes. It runs normally in a Windows environment, but under Wine, after running for some time, WaitForMultipleObjects stops working. When data is written to the pipe, it does not return, and simultaneously, the Wine debug log reports the following error: 0758:err:virtual:virtual_setup_exception nested exception on signal stack in thread 0758 addr 0x3f0003f4af stack 0x7fedf170 After that, it continuously prints the following log: 04b8:err:sync:RtlpWaitForCriticalSection section 0308D388 "?" wait timed out in thread 04b8, blocked by 048c, retrying (60 sec) 01f8:err:sync:RtlpWaitForCriticalSection section 0308D388 "?" wait timed out in thread 01f8, blocked by 048c, retrying (60 sec) and this is my code: while (true) { DWORD dwWait = WaitForMultipleObjects(pPipeThread->chnNum + 1, // number of event objects pPipeThread->hEvents, // array of event objects FALSE, // does not wait for all INFINITE); // waits indefinitely if (dwWait == WAIT_FAILED) { DWORD dwError = GetLastError(); char errorMsg[512]; FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, dwError, 0, errorMsg, sizeof(errorMsg), NULL); cerror("CPipeWrapper WaitForMultipleObjects failed, Error Code: %u, Error Message: %s", dwError, errorMsg); } int i = dwWait - WAIT_OBJECT_0; // determines which pipe if (i < 0 || i > PIPE_NUM_PER_THREAD) { _dout("WaitForMultipleObjects threadidx(%d) chnNum(%d) Index out of range(%d).", pPipeThread->threadIdx, pPipeThread->chnNum, i); continue; } if (i == 0) { if (CPipeMgr::Instance()->IsQuit()) { _dout("PipeReadThread quit threadidx(%d) chnNum(%d)", pPipeThread->threadIdx, pPipeThread->chnNum); return 0; } HandleChnCfgUpdate(pPipeThread); _dout("PipeReadThread config update threadidx(%d) chnNum(%d)", pPipeThread->threadIdx, pPipeThread->chnNum); continue; } --i; unsigned int chnID = pPipeThread->chnIDs[i]; CNamePipe* pPipe = CPipeMgr::Instance()->GetPipe(chnID); int rdLen = pPipe->GetOverlapReadedNum(); int reminderLen = pPipe->GetReminderLen(); if (rdLen > 0) { reminderLen = CMemDataMgr::Instance()->DecodeDrvData(chnID, pPipe->GetReadedBuf(), reminderLen + rdLen); } int readed = 0; pPipe->ReadPipe(reminderLen, readed); } -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57982 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> --- Duplicate. *** This bug has been marked as a duplicate of bug 57981 *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=57982 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing duplicate. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla