From chgans at googlemail.com Wed Oct 26 20:26:10 2016 From: chgans at googlemail.com (Chris Gagneraud) Date: Thu Oct 27 05:11:08 2016 Subject: [xsd-users] Segfault on windows Message-ID: Hi there, I'm trying to generate a parser for the attached XSD file (IPC-2581B standard, see http://webstds.ipc.org/). I'm currently on Windows with latest xsd-cxx (4.0), but unfortunately xsd.exe ends up with a segfault. How can I troubleshoot such issues? Any clue how to move forward with that? Thanks, Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: IPC-2581B_V3.0.xsd.gz Type: application/x-gzip Size: 10698 bytes Desc: not available Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20161027/37a1d50c/IPC-2581B_V3.0.xsd.bin From boris at codesynthesis.com Thu Oct 27 09:59:13 2016 From: boris at codesynthesis.com (Boris Kolpackov) Date: Thu Oct 27 09:59:24 2016 Subject: [xsd-users] Segfault on windows In-Reply-To: References: Message-ID: Hi Chris, Chris Gagneraud writes: > I'm trying to generate a parser for the attached XSD file (IPC-2581B > standard, see http://webstds.ipc.org/). > > I'm currently on Windows with latest xsd-cxx (4.0), but unfortunately > xsd.exe ends up with a segfault. It looks like this issue has already been fixed for the next release. Can you try the latest pre-release build and see if it works for you: http://codesynthesis.com/~boris/tmp/xsd/xsd-4.1.0.a9-i686-windows.zip I used the following command line: xsd cxx-tree --generate-polymorphic \ --namespace-map http://webstds.ipc.org/2581=IPC2581 IPC-2581B_V3.0.xsd Boris From chgans at googlemail.com Thu Oct 27 17:32:42 2016 From: chgans at googlemail.com (Chris Gagneraud) Date: Fri Oct 28 07:05:20 2016 Subject: [xsd-users] Segfault on windows In-Reply-To: References: Message-ID: On 28 October 2016 at 02:59, Boris Kolpackov wrote: > Hi Chris, > > Chris Gagneraud writes: > >> I'm trying to generate a parser for the attached XSD file (IPC-2581B >> standard, see http://webstds.ipc.org/). >> >> I'm currently on Windows with latest xsd-cxx (4.0), but unfortunately >> xsd.exe ends up with a segfault. > > It looks like this issue has already been fixed for the next release. > Can you try the latest pre-release build and see if it works for you: > > http://codesynthesis.com/~boris/tmp/xsd/xsd-4.1.0.a9-i686-windows.zip > > I used the following command line: > > xsd cxx-tree --generate-polymorphic \ > --namespace-map http://webstds.ipc.org/2581=IPC2581 IPC-2581B_V3.0.xsd Hi Boris, Works now, thanks. Any ETA for 4.1 release? On windows, I need to install xsdcxx manually, but on Linux my CI runners use the system default (4.0 on Latest Ubuntu), hope 4.1 will make it to Ubuntu as well. BTW, Where can i find the ChangeLog/release note? I'm curious to see what caused the crash. Chris > > Boris From boris at codesynthesis.com Mon Oct 31 06:30:35 2016 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon Oct 31 06:30:44 2016 Subject: [xsd-users] Segfault on windows In-Reply-To: References: Message-ID: Hi Chris, Chris Gagneraud writes: > Any ETA for 4.1 release? We are aiming for early next year. > On windows, I need to install xsdcxx manually, but on Linux my CI > runners use the system default (4.0 on Latest Ubuntu), hope 4.1 will > make it to Ubuntu as well. Most likely into new versions. Don't think it will be backported into any existing ones. > BTW, Where can i find the ChangeLog/release note? I'm curious to see > what caused the crash. We haven't compiled the NEWS files yet so the best place to look is the commit log: http://scm.codesynthesis.com/?p=xsd/xsd.git;a=shortlog Also, for libxsd-frontent (chances are the bug was there): http://scm.codesynthesis.com/?p=libxsd-frontend/libxsd-frontend.git;a=shortlog Boris