[Bug 26889] New: wineserver loses fd_ops in debugging interface.
http://bugs.winehq.org/show_bug.cgi?id=26889 Summary: wineserver loses fd_ops in debugging interface. Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineserver AssignedTo: wine-bugs(a)winehq.org ReportedBy: wine(a)mkarcher.dialup.fu-berlin.de Created an attachment (id=34287) --> (http://bugs.winehq.org/attachment.cgi?id=34287) backtrace of the crash in wineserver Since commit commit 900352bc6bd32c6524658083339ba119620be9c7 Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Apr 18 14:14:40 2011 +0200 server: Store a mapping instead of a file for process dlls. the dlls of a process posses a mapping instead of the original file object. The consequence is that the only info about the fd is the the one contained in mapping->fd, which is created by dup_fd_object. This copy does not include fd_ops. Since commit commit 1b868f4967f2dadd1d12b2b0fc5a14f9c5766ab4 Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Apr 19 10:29:44 2011 +0200 server: Fix sharing parameters for debug event files, and don't fail if the file can't be opened. this causes a crash in wineserver if programs are executed in the Borland Delphi debugger. This is because the "hFile" object returned in the debugging event refers to duplicate (again created by dup_fd_object) of mapping->fd. Borland Delphi then tries to use SetFilePointer() and ReadFile() on that object, and at that time, wineserver dereferences the NULL fd_ops in the fd object and crashes. -- 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=26889 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Version|unspecified |1.3.18 -- 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=26889 --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> 2011-04-22 10:08:44 CDT --- Created an attachment (id=34288) --> (http://bugs.winehq.org/attachment.cgi?id=34288) Set the fd user. Give this a try. -- 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=26889 --- Comment #2 from Michael Karcher <wine(a)mkarcher.dialup.fu-berlin.de> 2011-04-22 11:15:13 CDT --- That patch fixes the issue. The delphi debugger now starts again without crashing wineserver. Thanks for the quick response. -- 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=26889 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- 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=26889 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2011-04-22 13:17:27 CDT --- Fixed by http://source.winehq.org/git/wine.git/commitdiff/f2b34dddfb0ff4d390c9d576570... -- 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=26889 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> 2011-04-29 13:14:56 CDT --- Closing bugs fixed in 1.3.19. -- 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.
participants (1)
-
wine-bugs@winehq.org