Created attachment 139588 [details] .vsd-file that crashes LODraw on saving as .odg When opening (some) vsd file and saving it as odg using LibreOffice Draw, the application crashes and nothing is saved. The vsd-file opens perfectly and is shown correctly on screen. The crash happens always, file edited or not. Tested on 2 different machines. The file is in attachement for research purpose.
On pc Debian x86-64 with LO Debian package 6.0.0.3, I don't reproduce this. However, the odg can't open afterwards, like tdf#115429 put in See also.
It doesn't crash in Version: 6.0.0.3 Build ID: 1:6.0.0~rc3-0ubuntu0.16.04.1~lo7 CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; Locale: en-US (C); Calc: group To be certain the reported issue is not related to corruption in the user profile, could you please reset your Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and re-test? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the issue is still present
I did a complete factory reset of the profile and the behaviour somewhat changed. I can open the vsd-file, safe it as a odg. But when I try to open the odg, LibreOffice craches.
(In reply to Koen Roggemans from comment #3) > I did a complete factory reset of the profile and the behaviour somewhat > changed. > I can open the vsd-file, safe it as a odg. But when I try to open the odg, > LibreOffice craches. Just to be sure, before LO closes, do you see an error message?
Nu, unfortunately not. Is there a way to turn some logging on?
(In reply to Koen Roggemans from comment #5) > Nu, unfortunately not. > Is there a way to turn some logging on? You can download a debug version from http://dev-builds.libreoffice.org/daily/master/ ( the ones with -dbg at the end) and execute libreoffice with --backtrace as explained here https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux
Still present in LO Version: 6.0.1.1 Leesfout. Fout in indeling opgemerkt in het bestand in subdocument content.xml op positie 2,3353(rij,kolom). It's in the following part: <style:graphic-properties ="evenodd" draw:stroke="none" draw:fill="solid" draw:fill-color="#b3b3b3" draw:shadow="hidden"/> The error is about the space between graphic-properties and the = sign. That is column 3353. My XML-editor reports an error on column 3354, so there is something wrong there.
I found 2 occurrences of <style:graphic-properties ="evenodd" in the content.xml part of the file. When I delete ="evenodd" everywhere, the XML validates and the file works normally. (open, close, save, modify) Comparing the vsd and the modified odg visually, I can't see anything missing by doing this.
(In reply to Koen Roggemans from comment #8) > I found 2 occurrences of <style:graphic-properties ="evenodd" in the > content.xml part of the file. When I delete ="evenodd" everywhere, the XML > validates and the file works normally. (open, close, save, modify) > > Comparing the vsd and the modified odg visually, I can't see anything > missing by doing this. At beginning you said you had the crash when: - opening vsd file - save in odg Then in your comment 3 you indicated you had the crash when: - opening vsd file - save in odg - reopen the odg So now it corresponds exactly to tdf#115429. I submitted a patch for review about this, see https://bugs.documentfoundation.org/show_bug.cgi?id=115429#c4 *** This bug has been marked as a duplicate of bug 115429 ***