https://bugs.winehq.org/show_bug.cgi?id=50917
Bug ID: 50917 Summary: Solid Edge 15: Hangs on Save as... Product: Wine Version: 6.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: arvidb@fripost.org Distribution: ---
Created attachment 69731 --> https://bugs.winehq.org/attachment.cgi?id=69731 Terminal output from start to hang.
When using Save (either from the File menu or via the toolbar) the program hangs in what appears to be an infinite loop. It displays
0024:fixme:storage:PropertyStorage_WritePropertyToStream unsupported type: 65
over and over again.
(Save as... doesn't work either but has a different bug.)
https://bugs.winehq.org/show_bug.cgi?id=50917
Arvid arvidb@fripost.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Solid Edge 15: Hangs on |Solid Edge 15: Hangs on |Save as... |Save
https://bugs.winehq.org/show_bug.cgi?id=50917
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Let's make it about storage issue first:
0024:fixme:storage:PropertyStorage_WritePropertyToStream unsupported type: 65
I'll take a look.
https://bugs.winehq.org/show_bug.cgi?id=50917
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 69737 --> https://bugs.winehq.org/attachment.cgi?id=69737 patch
Please try this patch.
https://bugs.winehq.org/show_bug.cgi?id=50917
--- Comment #3 from Arvid arvidb@fripost.org --- Wow, that was quick! I've installed winehq-devel as a Ubuntu package at the moment, please give me a few days to try to figure out the build process...
https://bugs.winehq.org/show_bug.cgi?id=50917
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ole32
https://bugs.winehq.org/show_bug.cgi?id=50917
--- Comment #4 from Arvid arvidb@fripost.org --- Ok so I built wine from source, first without the patch, and was able to replicate the bug. Then I applied the patch and tried again. Wine no longer hangs and the save seems to succeed, however when I try to open the file again I get an error: "MoveElementTo failed" (a Solid Edge-specific error?).
So it seems the file was corrupted by the save (not a problem; I'm testing with standard parts that can be reinstalled).
https://bugs.winehq.org/show_bug.cgi?id=50917
--- Comment #5 from Arvid arvidb@fripost.org --- I made a copy of an untouched file, opened it and saved it without any changes. The newly saved file has the same size as the original file.
I used xxd to hexdump the two files and then diffed them. Unfortunately there are *lots* of differences. Here's an example:
000002a0: 2900 0000 2a00 0000 2b00 0000 2c00 0000 )...*...+...,... 000002b0: 2d00 0000 2e00 0000 2f00 0000 3000 0000 -......./...0... 000002c0: 3100 0000 3200 0000 3300 0000 3400 0000 1...2...3...4... -000002d0: 3500 0000 3600 0000 3700 0000 feff ffff 5...6...7....... -000002e0: 7e00 0000 3a00 0000 3b00 0000 3c00 0000 ~...:...;...<... -000002f0: 3d00 0000 3e00 0000 3f00 0000 4000 0000 =...>...?...@... -00000300: 4100 0000 4200 0000 4300 0000 4400 0000 A...B...C...D... -00000310: 4500 0000 4600 0000 4700 0000 4800 0000 E...F...G...H... +000002d0: 3500 0000 feff ffff 3700 0000 3800 0000 5.......7...8... +000002e0: 3900 0000 3a00 0000 3b00 0000 3d00 0000 9...:...;...=... +000002f0: 3e00 0000 3f00 0000 4400 0000 4000 0000 >...?...D...@... +00000300: 4100 0000 4200 0000 4300 0000 4500 0000 A...B...C...E... +00000310: 4700 0000 4600 0000 9b00 0000 8e00 0000 G...F........... 00000320: 4900 0000 4a00 0000 4b00 0000 4c00 0000 I...J...K...L... 00000330: 4d00 0000 4e00 0000 4f00 0000 5000 0000 M...N...O...P... 00000340: 5100 0000 5200 0000 5300 0000 5400 0000 Q...R...S...T...
Some kind of ordering issue perhaps? A-B-C-D-E-F-G-H replaced by A-B-C-E-G-F-?-?
https://bugs.winehq.org/show_bug.cgi?id=50917
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- To test please try to open saved document on Windows, if that works we can move on to next issue.
MoveElementTo() is an IStorage method that we don't have implemented in Wine for ole32 structured storage. You'll probably get a fixme message for it in logs.
https://bugs.winehq.org/show_bug.cgi?id=50917
--- Comment #7 from Arvid arvidb@fripost.org --- Opening the documents works on both Windows and under Wine. But on Wine I have to OK three "MoveElementTo failed" errors.
Note that these errors only appears with documents saved under Wine. Documents saved in Windows can be opened without any errors.
I also resaved one of the documents previously saved under Wine in Windows and opened it again under Wine, and again it opened without errors.
https://bugs.winehq.org/show_bug.cgi?id=50917
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Solid Edge 15: Hangs on |Solid Edge 15: Hangs on |Save |Save, needs VT_BLOB support | |for writing properies Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |ade78855293c9a9a853f76ff798 | |64bc4a0cda1bb Resolution|--- |FIXED
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- I'm going to close this one, now that patch is in wine, ade78855293c9a9a853f76ff79864bc4a0cda1bb. Please open separate reports for remaining issues like differences in saved files, or MoveElementTo(), if you haven't already.
https://bugs.winehq.org/show_bug.cgi?id=50917
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Solid Edge 15: Hangs on |Solid Edge 15: Hangs on |Save, needs VT_BLOB support |Save, needs VT_BLOB support |for writing properies |when writing properies
https://bugs.winehq.org/show_bug.cgi?id=50917
--- Comment #9 from Arvid arvidb@fripost.org --- Ok. Thanks!
https://bugs.winehq.org/show_bug.cgi?id=50917
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.6.