[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Winelib stack overflow
From:       Stefan_Dösinger <stefandoesinger () gmail ! com>
Date:       2022-10-12 7:41:00
Message-ID: FB140B4C-1546-4F62-A485-C95B34EA000C () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/alternative)]


> Am 12.10.2022 um 09:28 schrieb David Kahurani <k.kahurani@gmail.com>:
> 
> > 0110:err:virtual:virtual_setup_exception stack overflow 2128 bytes in thread 0110 \
> > addr 0x17008c804 stack 0x207b0 (0x20000-0x21000-0x120000)
> 
> I see this error every once in a while and most of the time it doesn't
> seem to affect the working of the program. Does it affect the working
> of your program in this particular case?
> 
> > 
> > If I remove the "std::unordered_map<int, std::string> y" from the custom lib it \
> > runs normally. 
> > I suspect that wine uses too much of the stack to construct the object, but it's \
> > just a wild guess.

The most likely cause here is that something causes an invalid memory access, and the \
exception handler causes an invalid memory access, then another and another until the \
stack is full.

Try to run your test program in a debugger to catch the first chance exception. My \
guess is that we have some bug in our unordered_map implementation.


[Attachment #7 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: \
space; line-break: after-white-space;" class=""><br class=""><div><br \
class=""><blockquote type="cite" class=""><div class="">Am 12.10.2022 um 09:28 \
schrieb David Kahurani &lt;<a href="mailto:k.kahurani@gmail.com" \
class="">k.kahurani@gmail.com</a>&gt;:</div><br \
class="Apple-interchange-newline"><div class=""><div class="Singleton"><blockquote \
type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: \
auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; text-decoration: none;" \
class="">0110:err:virtual:virtual_setup_exception stack overflow 2128 bytes in thread \
0110 addr 0x17008c804 stack 0x207b0 (0x20000-0x21000-0x120000)<br \
class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; \
font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: \
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; \
font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline \
!important;" class="">I see this error every once in a while and most of the time it \
doesn't</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; \
font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: \
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; \
font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline \
!important;" class="">seem to affect the working of the program. Does it affect the \
working</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; \
font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: \
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; \
font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline \
!important;" class="">of your program in this particular case?</span><br \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: \
12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><blockquote type="cite" style="font-family: \
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; \
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; \
text-indent: 0px; text-transform: none; white-space: normal; widows: auto; \
word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><br class="">If I remove the \
"std::unordered_map&lt;int, std::string&gt; y" from the custom lib it runs \
normally.<br class=""><br class="">I suspect that wine uses too much of the stack to \
construct the object, but it's just a wild guess.<br \
class=""></blockquote></div></div></blockquote></div><br class=""><div class="">The \
most likely cause here is that something causes an invalid memory access, and the \
exception handler causes an invalid memory access, then another and another until the \
stack is full.</div><div class=""><br class=""></div><div class="">Try to run your \
test program in a debugger to catch the first chance exception. My guess is that we \
have some bug in our unordered_map implementation.</div></body></html>


["signature.asc" (signature.asc)]

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEQxb0tqoFWyeVMl1sPRO8yFRPGiIFAmNGb4wACgkQPRO8yFRP
GiKiPBAAq46dKmUlJax6C3vFKKN06rCNV4C9ZL1UoLPjtoRMLAub5CidztSPd9sD
p3yk2RHdDFznNv82IgZG7HK+Q8y7RHETwD23YfOh62Ru3Mm/TDxKKLV+cdlSAaqh
1lqp3K+BP1yT4PksgIH6wMKWdfUO1vvIeh8BrgE1YUMxxqUO1FgKMgtxAHVmvScp
msOOLMHxH/627P2gveNyuEFM0FTAbk0G8NG5lg/FpmR0vFK7KpuqSiqvjWNiiLrz
HpX7fHAcbF5SRTYAsfiWnbk1A80g12DMuy+DKtDnAJ8DaRFzN0+hISrQdUnQMEpB
61Wp5mN11ni2Tj+b/nehNtcYelxLrWIZaqqCJPE9EBE61KgL410inv74YVGt89MC
zmDuY+K+XQghuu0TnNPrIxNuod8cED/vmgav03MVSgesarRW8VeaUDNv2OYYUUSy
mK+/aXZi1ernqX9HCLb7dldUZV6/3CNH1R6XhJWa/zadl+RXi6MUzabGQJUhm4pO
7Or3a2kGWu8e84fyb+MNqRAs5lFxIWTlvrjvEUGjiDfZyj/wSdEsLCZ5wekQm3jL
QjmAsg0rxT9uu+aYooyYx95+w6tnCajzNph0aOytpB2D1kPGnNN7I6VpKnnVrdyH
YJw6uqdtYQT8jbkr6clRAdIxeoxnvocIv7pztSqWcco3uZF3Dok=
=39r+
-----END PGP SIGNATURE-----




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic