[Bug 29378] New: Non-aligned pointer being freed (MacOS) seconds after an app exits
http://bugs.winehq.org/show_bug.cgi?id=29378 Bug #: 29378 Summary: Non-aligned pointer being freed (MacOS) seconds after an app exits Product: Wine Version: 1.3.26 Platform: x86 OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: wineserver AssignedTo: wine-bugs(a)winehq.org ReportedBy: hoehle(a)users.sourceforge.net Classification: Unclassified On MacOS, I observe random occurrences of malloc: *** error for object 0x402086a0: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug after an app exits. A message like that has been mentioned in bug #28291, bug #22722 or bug #21655, comment #4 and bug #28039, comment #6. I don't know if the cause is always the same. I once thought it may be caused by audio but it's not. It currently presents itself as follows: the message appears a few seconds after an app (e.g. winecfg) exits, thus I believe it's in the server (it might be one of the services). Not every call to winecfg terminates with that message. Using WINEDEBUG=+coreaudio I observed that it can appear after winecfg even when not clicking the audio tab, thus audio is loaded and not the cause. Setting a breakpoint doesn't help: macmini$ wine winedbg winecfg WineDbg starting on pid 0024 0x7b852d7b _start_process+0x5b in kernel32: movl %edi,0x4(%esp) Wine-dbg>break malloc_error_break Breakpoint 1 at 0x90d4e4ae malloc_error_break in libsystem.b.dylib Wine-dbg>cont fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet #... app exits normally Invalid address (0x90d4e4ae malloc_error_break) for breakpoint 1, disabling it Process of pid=0024 has terminated #... app exited normally. Waiting a few seconds before typing: Wine-dbg>cont No process loaded, cannot execute 'cont' #... still no message Wine-dbg>quit macmini$ #... a few seconds later: wine(26283,0x4080c200) malloc: *** error for object 0x402086a0: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug wine(26283,0x4080c200) malloc: *** error for object 0x402085a0: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=29378 --- Comment #1 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2011-12-18 09:13:57 CST --- I've not seen that error once in 50 runs when using: WINEDLLOVERRIDES=services.exe= wine winecfg and only once with: WINEDLLOVERRIDES=plugplay.exe= wine winecfg The former prevents the Drives tab from working. The normal process list is: loader/wine C:\windows\system32\explorer.exe /desktop loader/wine C:\windows\system32\plugplay.exe loader/wine C:\windows\system32\winedevice.exe MountMgr loader/wine C:\windows\system32\services.exe server/wineserver loader/wine winecfg Note that I had X11 up and running all the time. Might well be a race condition. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=29378 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|wineserver |-unknown -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=29378 --- Comment #2 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2011-12-18 11:22:47 CST --- You can easily check if it's server by starting server separately (wineserver -f). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=29378 --- Comment #3 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2011-12-20 16:26:16 CST --- I run $ server/wineserver -f in one shell and $ wine -h in another The malloc message appears in the wine shell at the moment wineserver exits in the first shell. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=29378 --- Comment #4 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2011-12-20 20:29:34 CST --- Wineserver shouldn't exit right away, but with some pause. Can you run server under debugger? Or at least look at +relay,+tid,+seh,+server log for any clues? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=29378 --- Comment #5 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2011-12-21 05:35:55 CST ---
Wineserver shouldn't exit right away, but with some pause. Indeed. I wasn't precise enough: Shell_1$ server/wineserver -f Shell_2$ wine -h wine -h exits immediately without malloc message -- yet.
~2 seconds later, the malloc message appears in shell_2. At the same time, the prompt returns in shell_1. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=29378 --- Comment #6 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2013-03-02 17:24:48 CST --- FWIW, I have not seen this message when booting Snow Leopard 10.6.8 on the same machine. The configuration is different too. On Snow Leopard, I use the original Apple X11, which is older than the XQuartz 2.6.3 that I use with the Leopard 10.5.8 partition, according to their release notes. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=29378 --- Comment #7 from Austin English <austinenglish(a)gmail.com> --- This is your friendly reminder that there has been no bug activity for over 700 days. Is this still an issue in current (1.7.36 or newer) wine? -- 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=29378 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com, | |super_man(a)post.com -- 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=29378 --- Comment #8 from Austin English <austinenglish(a)gmail.com> --- Over 2 years with no reply, marking abandoned. -- 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=29378 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED --- Comment #9 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Resolving. -- 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=29378 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv(a)dawncrow.de --- Comment #10 from André H. <nerv(a)dawncrow.de> --- closing abandoned -- 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)
-
wine-bugs@winehq.org