[Bug 22954] New: AutoCAD 2008: SP1 crashes
http://bugs.winehq.org/show_bug.cgi?id=22954 Summary: AutoCAD 2008: SP1 crashes Product: Wine Version: 1.2-rc1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: lukasz.wojnilowicz(a)gmail.com CC: julliard(a)winehq.org Created an attachment (id=28418) --> (http://bugs.winehq.org/attachment.cgi?id=28418) Terminal output on Wine-1.2-rc2 Steps to reproduce: 1) remove ~/.wine 2) winetricks dotnet20 2) install AutoCAD 2008 3) start SP1 for AutoCAD 2008 by wine autocad2008lockedsp1.exe Behaviour: On Wine-1.2-rc1 and Wine-1.2-rc2 Wine shows Program Error On Wine-1.1.44 SP1 starts and displays error 1603 but it's error from service pack and not Wine Regression test between Wine 1.2-rc1 and Wine 1.1.44 did give f7f4e9e3be9f0bff65857637030dfb0718bfb8bd is the first bad commit commit f7f4e9e3be9f0bff65857637030dfb0718bfb8bd Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri May 7 22:38:32 2010 +0200 include: Force inlining exported API functions to avoid duplicate definitions. :040000 040000 0cfb7987288bc96c4dd34a4f064b8df178b4c390 53b20cbcdf158b6d9bffcfbc60c78d5dcaa9541c M include It worth noticing that I always did git bisect bad. After reverting that patch Wine fails to compile with following error ccache gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -DWINE_UNICODE_API="" -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g -O0 -o mbtowc.o mbtowc.c ../tools/widl/widl -I. -I. -I../include -I../include -h -H tom.h tom.idl {standard input}: Assembler messages: {standard input}:1587: Error: symbol `wine_get_fs' is already defined {standard input}:1617: Error: symbol `wine_set_fs' is already defined make[1]: *** [ldt.o] Error 1 make[1]: *** Waiting for unfinished jobs.... ../tools/widl/widl -I. -I. -I../include -I../include -h -H urlhist.h urlhist.idl make[1]: Leaving directory `/home/Wojnilowicz/wine-git/libs/wine' make: *** [libs/wine] Error 2 make: *** Waiting for unfinished jobs.... Additional info 1) Wine 1.2-rc1 and 1.2-rc2 were compiled by following command CFLAGS="-g -gdwarf-2" ./configure --disable-tests && make -j3 2) Wine 1.1.44 was compiled by following command ./configure --disable-tests && make -j3 because of errors about source tree during compilation process 3) All devel packages were installed besides libmpg123 4) gcc --version gives gcc (GCC) 4.4.4 20100503 (Red Hat 4.4.4-2) 5) I'm using Fedora 13 32 bit -- 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=22954 NSLW <lukasz.wojnilowicz(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- 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=22954 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda(a)volny.cz --- Comment #1 from Wylda <wylda(a)volny.cz> 2010-05-30 05:50:35 --- I know this commit... It fixes the compilation failure you are pointing to. It can be work arounded, if you give extra optimizations to gcc by -O2 to your CFLAGS. -- 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=22954 --- Comment #2 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-05-30 06:02:50 --- Please perform the regression testing again using -O2 instead of -O0. -- 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=22954 NSLW <lukasz.wojnilowicz(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #3 from NSLW <lukasz.wojnilowicz(a)gmail.com> 2010-05-30 09:30:05 --- Compiling Wine by following command CFLAGS="-g -gdwarf-2 -O2" ./configure --disable-tests && make -j3 causes this bug to disappear. -- 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=22954 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-05-30 23:13:46 --- And what are the compilation flags that were used before? -- 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=22954 --- Comment #5 from Wylda <wylda(a)volny.cz> 2010-05-31 00:17:49 --- (In reply to comment #4)
And what are the compilation flags that were used before?
It's in the first post - aditional info: Before (-O0 default causes .44 not being compiled): CFLAGS="-g -gdwarf-2" ./configure --disable-tests After: CFLAGS="-g -gdwarf-2 -O2" ./configure --disable-tests -- 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=22954 --- Comment #6 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-05-31 05:44:11 --- (In reply to comment #5)
And what are the compilation flags that were used before?
It's in the first post - aditional info:
Before (-O0 default causes .44 not being compiled): CFLAGS="-g -gdwarf-2" ./configure --disable-tests
That's the flags used for the regression test. I asked about the compilation flags used for the production Wine build. -- 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=22954 --- Comment #7 from NSLW <lukasz.wojnilowicz(a)gmail.com> 2010-06-04 06:18:42 --- (In reply to comment #4)
And what are the compilation flags that were used before? CFLAGS="-g -gdwarf-2" ./configure --disable-tests && make -j3
For regression test I used command which is advised at http://wiki.winehq.org/RegressionTesting that is: CC="ccache gcc" CFLAGS="-g -O0" ./configure --disable-tests && make -j3 -- 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=22954 --- Comment #8 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-06-04 07:19:40 --- (In reply to comment #7)
(In reply to comment #4)
And what are the compilation flags that were used before? CFLAGS="-g -gdwarf-2" ./configure --disable-tests && make -j3
Please don't use custom compilation flags unless you really know what you are doing, and you are not going to report bugs with that configuration. -- 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=22954 --- Comment #9 from NSLW <lukasz.wojnilowicz(a)gmail.com> 2010-06-04 08:12:23 --- (In reply to comment #8)
(In reply to comment #7)
(In reply to comment #4)
And what are the compilation flags that were used before? CFLAGS="-g -gdwarf-2" ./configure --disable-tests && make -j3
Please don't use custom compilation flags unless you really know what you are doing, and you are not going to report bugs with that configuration.
I used these flags because I wanted to get wine compiled with debug symbols.In bug bug #22787 i was redirected to following site http://wiki.winehq.org/Backtraces where it's written that "On Fedora/RedHat, CFLAGS="-g -gdwarf-2" may be required" -- 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=22954 --- Comment #10 from NSLW <lukasz.wojnilowicz(a)gmail.com> 2010-06-04 09:02:29 --- This bug is also present without these flags on Wine 1.2-rc2 -- 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=22954 --- Comment #11 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-06-04 10:37:33 --- (In reply to comment #9)
I used these flags because I wanted to get wine compiled with debug symbols.In bug bug #22787 i was redirected to following site http://wiki.winehq.org/Backtraces where it's written that "On Fedora/RedHat, CFLAGS="-g -gdwarf-2" may be required"
To get Wine compiled with debug symbols there is no need for any custom compilation flags.
This bug is also present without these flags on Wine 1.2-rc2
What's changed since you've added the Comment #3? -- 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=22954 --- Comment #12 from NSLW <lukasz.wojnilowicz(a)gmail.com> 2010-06-04 10:41:42 --- (In reply to comment #11)
(In reply to comment #9)
I used these flags because I wanted to get wine compiled with debug symbols.In bug bug #22787 i was redirected to following site http://wiki.winehq.org/Backtraces where it's written that "On Fedora/RedHat, CFLAGS="-g -gdwarf-2" may be required"
To get Wine compiled with debug symbols there is no need for any custom compilation flags.
I didn't get debug symbols without compilation flags and I got debug symbols with compilation flags so It's clear that flags were needed in my case.
This bug is also present without these flags on Wine 1.2-rc2
What's changed since you've added the Comment #3?
Wine didn't show Program Error and patching succeed (or displayed an error from AutoCAD) -- 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