[Bug 14427] New: widl crashes in dlls/rpcrt4
http://bugs.winehq.org/show_bug.cgi?id=14427 Summary: widl crashes in dlls/rpcrt4 Product: Wine Version: 1.1.1 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: build-env AssignedTo: wine-bugs(a)winehq.org ReportedBy: ambro(a)b4ever.net Created an attachment (id=14749) --> (http://bugs.winehq.org/attachment.cgi?id=14749) gdb backtrace I am unable to compile Wine 1.1.1. 1.0 and 1.1.0 compile fine. I am getting the following error: ../../tools/widl/widl -I. -I. -I../../include -I../../include -D__WINESRC__ -D_RPCRT4_ -DCOM_NO_WINDOWS_H -DMSWMSG -c -C epm_c.c epm.idl make[2]: *** [epm_c.c] Segmentation fault Interestingly, it crashes only if widl is compiled with -O2 (0,1 and 3 work). I compiled widl with "-O2 -g" and ran it in gdb. I'm attaching the backtrace. I'm using Gentoo and gcc version is "Gentoo 4.1.2 p1.0.2". If you think this is compiler related, should I post a bug at Gentoo? -- 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=14427 --- Comment #1 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-07-12 10:57:36 --- Have you tried "ulimit -s unlimited" ? -- 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=14427 --- Comment #2 from Ambro <ambro(a)b4ever.net> 2008-07-12 11:26:11 --- doesn't make any difference -- 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=14427 --- Comment #3 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-07-14 15:08:45 --- Please run it under gdb and attach the backtrace (as a text file). -- 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=14427 Ambro <ambro(a)b4ever.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #4 from Ambro <ambro(a)b4ever.net> 2008-07-15 05:49:56 --- Well, it's probably caused by a buggy kernel (2.6.25), as it doesn't happen in a chroot from another system (kernel 2.6.24), and also not after updating to kernel 2.6.26. Sorry about that; I'm closing it as invalid. -- 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=14427 Lei Zhang <thestig(a)google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Lei Zhang <thestig(a)google.com> 2008-07-16 15:34:36 --- closing. -- 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=14427 --- Comment #6 from Peter <pmlists(a)free.fr> 2008-08-19 15:53:16 --- Created an attachment (id=15494) --> (http://bugs.winehq.org/attachment.cgi?id=15494) gdb backtrace -- 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=14427 Peter <pmlists(a)free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pmlists(a)free.fr --- Comment #7 from Peter <pmlists(a)free.fr> 2008-08-19 15:54:20 --- Hello, I get also a Segmentation fault, but with linux kernel 2.6.26. Linux 2.6.26-6-default #1 SMP 2008-07-17 18:46:12 +0200 x86_64 x86_64 x86_64 GNU/Linux openSUSE-11.0 I attach the backtrace. The status should perhaps be changed to "open". Cheers, Peter -- 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=14427 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID | --- Comment #8 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-08-19 16:29:25 --- Does the problem happen with current Wine git? Reopening. -- 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=14427 --- Comment #9 from Peter <pmlists(a)free.fr> 2008-08-20 00:54:09 --- No problem with git-version. Excuse me, I had only tried 1.1.1 (as the OP) before. Cheers, Peter -- 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=14427 --- Comment #10 from Peter <pmlists(a)free.fr> 2008-08-20 02:40:23 --- I have to investigate further, because it fails again with openSUSE-factory rpm-spec file. It has nothing to do with the wine version (1.1.1 or git). It compiles cleanly with "./configure && make" and it fails with "rpmbuild -bb --target i586 /usr/src/packages/SPECS/wine.spec" So don't close it too soon, I'm going to do some further tests this evening (there are no patches, so I think it must be the compiler flags...). Cheers, Peter -- 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=14427 --- Comment #11 from Peter <pmlists(a)free.fr> 2008-08-21 02:08:10 --- These are the CFLAGS, that lead to the Segmentation fault: -O2 -m32 -mtune=i686 -D_FORTIFY_SOURCE=2 Command for reproducing: make distclean ; autoconf && CFLAGS="-O2 -m32 -mtune=i686 -D_FORTIFY_SOURCE=2" ./configure && make depend && make -C libs/port && make -C libs/wpp && make -C tools/widl && make -C dlls/rpcrt4 epm_c.c Cheers, Peter -- 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=14427 --- Comment #12 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-08-21 02:18:40 --- Does it help if you remove -D_FORTIFY_SOURCE=2 ? -- 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=14427 --- Comment #13 from Peter <pmlists(a)free.fr> 2008-08-21 02:54:52 --- These are the minimal options to reproduce the segmentation fault: -O2 -mtune=i686 -D_FORTIFY_SOURCE=2 Whenever you omit one of these, there won't be a segmentation fault. So perhaps, it's a compiler bug. This is my version: gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] Cheers, Peter -- 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=14427 Gregor Münch <greg87(a)online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greg87(a)online.de --- Comment #14 from Gregor Münch <greg87(a)online.de> 2008-09-15 13:32:05 --- Hi, I have exactly the same issue. Using: gcc-4.3.1, glibc-2.8_p20080602-r0 on gentoo With: "CC=gcc -m32" CFLAGS="-march=native -pipe" -- 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=14427 Lei Zhang <thestig(a)google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #15 from Lei Zhang <thestig(a)google.com> 2008-09-15 17:22:57 --- confirming then -- 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=14427 --- Comment #16 from Lukáš Krejza <gryffus(a)hkfree.org> 2008-10-20 13:52:19 --- Created an attachment (id=16760) --> (http://bugs.winehq.org/attachment.cgi?id=16760) cd dlls/rpcrt4 && make output I am getting same error... It segfaults only with -O2 CFLAGS="-O2 -g" ./configure My system is: Linux gryffus 2.6.25.9-4-default #1 SMP 2008-06-28 00:00:07 +0200 i686 athlon i386 GNU/Linux gcc (SUSE Linux) 4.3.2 20080613 (prerelease) [gcc-4_3-branch revision 136744] glibc-2.8-18 Steps to reproduce on clean git source: CFLAGS="-O2 -g" ./configure make depend make include cd dlls/rpcrt4 && make -- 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=14427 --- Comment #17 from Lukáš Krejza <gryffus(a)hkfree.org> 2008-10-20 13:55:49 --- Created an attachment (id=16761) --> (http://bugs.winehq.org/attachment.cgi?id=16761) gdb backtrace -- 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=14427 --- Comment #18 from Austin English <austinenglish(a)gmail.com> 2009-04-20 12:28:46 --- Is this still an issue in current (1.1.19 or newer) wine? -- 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=14427 --- Comment #19 from Austin English <austinenglish(a)gmail.com> 2009-10-29 15:27:04 --- Works fine here in git. Is this still an issue in current (1.1.32 or newer) wine? -- 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=14427 --- Comment #20 from Peter <pmlists(a)free.fr> 2009-11-03 04:25:36 --- No more problem here with 1.1.32. Cheers, Peter -- 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=14427 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #21 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2009-11-03 05:34:13 --- Reported fixed. -- 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=14427 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #22 from Alexandre Julliard <julliard(a)winehq.org> 2009-11-13 12:43:06 --- Closing bugs fixed in 1.1.33. -- 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