I maintain DVDStyler in Packman and a user is getting a SIGSEGV on startup, I'm unable to duplicate this problem and would like some help in pinning it down. I've attatched the users strace and gdb backtrace.
The user has updated to everything that DVDStyler builds against including the libwxsvg that I updated for the update to 3.0.0rc2. I'll attatch the build log for the package as well, it has a list of every package used for the build and all the flags.
I also have this problem. OpenSuse Tumbleweed 64bit. The provided package fails, and when I try to run a ./configure & make, the make fails with an error that I can not resolve. Dave if you need someone to work through this with you I am willing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you try "zypper -v si DVDStyler", post the output from zypper and if you are unfamiliar with rpmbuild, follow these steps:
cd /usr/src/packages
rpmbuild -bb SPECS/DVDStyler.spec
Try and post the build output if you get your same build error but if it succeeds then install the rpm that is in RPMS/x86_64/ directory and see if it works on your system.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To clarify, my previous failed compile attempts were from author source and not your srpm.
I removed all traces of previous attempts that I could find, and then followed your instructions.
1) zypper -v -si DVDStyler --->Success
2) cd /usr/src/packages --->Success
3) rpmbuild -bb SPECS/DVDStyler.spec --->Success
4) install the rpm that is in RPMS/x86_64/ --->Success
5) Run the newly installed program --->FAIL
stevej@linux-n1wb:~> dvdstyler
(dvdstyler:7091): Gtk-WARNING **: Theme directory base/ of theme oxygen has no size field
The build failure that you have is from the incorrect usage of wxString (I know this well from audacity) and the patch, string-conversion-fix-wxwidgets3.patch, that was installed when you used rpmbuild fixes this problem.
I'm updating Packman to version 3.0 but I don't think this is going to solve the segfault problem, this problem is present from version 2.9.5.
What I would do in this case is unpack the sources and apply the patch then run configure. Next I would open kdevelop and make a project from the Makefile and build then try to debug the problem. Can you manage something like this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The thing to trace is how a wrong value ends up in "wxSVGCanvasPathCairo::GetResultBBox" which is a part of wxsvg so you will need the wxsvg debug-souurce and debug-info packages installed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I ran your updated Packman 3.0 version and it failed as expected with a segfault.
I am up for running this through kdevelop. I have not worked with building apps so it will be a new adventure for me. I have just installed kdevelop.
Can I get more clarification on the next steps?
*What I would do in this case is unpack the sources and apply the patch then run configure. Next I would open kdevelop and make a project from the Makefile and build then try to debug the problem. *
Status: open Group: common Created: Tue Jun 28, 2016 10:09 AM UTC by Dave Plater Last Updated: Sat Jul 23, 2016 04:38 PM UTC Owner: nobody Attachments:
I have come back around and have some success.
I updated Open Suse Tumbleweed as of 2016-09-06.
There was a minor bump to DVDstyler. I ran it but still got the coredump message.
I uninstalled DVDstyler, mediainfo, audacity, and all wxwidgets, wxsvg that I could. Both wx versions 2.8.x and 3.0.2
I installed from source:
wxWidgets 3.1.0 (Configured for gtk)
wxsvg-1.5.9.tar.bz2
DVDStyler v3.0.2
I ran ldconfig after each install.
I then opened up a konsole and ran dvdstyler. It worked.
I haven't tried using it yet so I don't know if it will build an ISO but it looks good so far. It's better than a coredump on startup.
I then installed mediainfo and audacity again and they brought in some 2.8.x and 3.0.2 libs/configs.
I ran DVDstyler again and it still starts. so no wxwidget version conflicts at startup.
I hope this helps.
Steve
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It could be the DVDStyler update or it could be wxWidgets-3.1.0, I'll update the packages. Having wxWidgets installed from source could cause future problems.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You installed wxWidgets 3.1.0 first, then wxsvg-1.5.9 and built DVDStyler last?
I've updated DVDStyler and wxsvg, will try wxWidgets-3.1.0 last of all if DVDStyler crashes again.
I'll let you know through this bug when everything is published. There's currently an ffmpeg mess.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You need to make uninstall DVDStyler, wxsvg and install them from the normal packman, they are now the same as the sources you installed. If DVDStyler still crashes you can make install again. I'm busy making up the wxWidgets-3.1.0 package if it's needed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Seems like this is definitely fixed see #633 DVDStyler 3.0 crash at startup on Fedora 24 Linux with the same issue as you had. You should make sure you have wxWidgets-3.0.2 otherwise you may have future problems with python-wxWidgets which is incompatible with wxWidgets-3.1.0.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I maintain DVDStyler in Packman and a user is getting a SIGSEGV on startup, I'm unable to duplicate this problem and would like some help in pinning it down. I've attatched the users strace and gdb backtrace.
The user has updated to everything that DVDStyler builds against including the libwxsvg that I updated for the update to 3.0.0rc2. I'll attatch the build log for the package as well, it has a list of every package used for the build and all the flags.
I also have this problem. OpenSuse Tumbleweed 64bit. The provided package fails, and when I try to run a ./configure & make, the make fails with an error that I can not resolve. Dave if you need someone to work through this with you I am willing.
Can you try "zypper -v si DVDStyler", post the output from zypper and if you are unfamiliar with rpmbuild, follow these steps:
cd /usr/src/packages
rpmbuild -bb SPECS/DVDStyler.spec
Try and post the build output if you get your same build error but if it succeeds then install the rpm that is in RPMS/x86_64/ directory and see if it works on your system.
To clarify, my previous failed compile attempts were from author source and not your srpm.
I removed all traces of previous attempts that I could find, and then followed your instructions.
1) zypper -v -si DVDStyler --->Success
2) cd /usr/src/packages --->Success
3) rpmbuild -bb SPECS/DVDStyler.spec --->Success
4) install the rpm that is in RPMS/x86_64/ --->Success
5) Run the newly installed program --->FAIL
stevej@linux-n1wb:~> dvdstyler
(dvdstyler:7091): Gtk-WARNING **: Theme directory base/ of theme oxygen has no size field
Segmentation fault (core dumped)
stevej@linux-n1wb:~>
I have attached the file you asked for, giving full details.
Now we know that the segfault isn't because DVDStyler wasn't built against another library.
What failure are you having when you compile from source?
Source code is from:
http://www.fosshub.com/DVDStyler.html/DVDStyler-3.0.tar.bz2
See attached file dvdstyler-fail2.txt for ./configure and make and code fragment.
I have added a code fragment from dvdstyler.cpp for what I believe to be the offending code.
Tumbleweed has recently switched to GCC6 from GCC5. Have you tried building this since the switch?
The build failure that you have is from the incorrect usage of wxString (I know this well from audacity) and the patch, string-conversion-fix-wxwidgets3.patch, that was installed when you used rpmbuild fixes this problem.
I'm updating Packman to version 3.0 but I don't think this is going to solve the segfault problem, this problem is present from version 2.9.5.
What I would do in this case is unpack the sources and apply the patch then run configure. Next I would open kdevelop and make a project from the Makefile and build then try to debug the problem. Can you manage something like this?
The thing to trace is how a wrong value ends up in "wxSVGCanvasPathCairo::GetResultBBox" which is a part of wxsvg so you will need the wxsvg debug-souurce and debug-info packages installed.
I ran your updated Packman 3.0 version and it failed as expected with a segfault.
I am up for running this through kdevelop. I have not worked with building apps so it will be a new adventure for me. I have just installed kdevelop.
Can I get more clarification on the next steps?
*What I would do in this case is unpack the sources and apply the patch then run configure. Next I would open kdevelop and make a project from the Makefile and build then try to debug the problem. *
1) Does sources = your packman source, or http://www.fosshub.com/DVDStyler.html/DVDStyler-3.0.tar.bz2
2) I don't know how to get/apply the patch.
You should be able to download a ready patched tarball from :
https://pmbs.links2linux.de/source/home:davepl/DVDStyler/DVDStyler-3.0-patched.tar.xz?rev=c4edec6e86050ffcea9b2a28fd5ef648
There's a link called patches inside of the DVDStyler-3.0 directory which you must delete otherwise it will cause problems with kdevelop.
Dave,
I haven't abandoned you. Some video work has come up and taken me
off-line for a little bit. Luckily I am able to use Bombono to create
the DVD iso.
Steve
On 07/23/2016 11:59 AM, Dave Plater wrote:
Related
Bugs:
#630Dave,
I have come back around and have some success.
I updated Open Suse Tumbleweed as of 2016-09-06.
There was a minor bump to DVDstyler. I ran it but still got the coredump message.
I uninstalled DVDstyler, mediainfo, audacity, and all wxwidgets, wxsvg that I could. Both wx versions 2.8.x and 3.0.2
I installed from source:
wxWidgets 3.1.0 (Configured for gtk)
wxsvg-1.5.9.tar.bz2
DVDStyler v3.0.2
I ran ldconfig after each install.
I then opened up a konsole and ran dvdstyler. It worked.
I haven't tried using it yet so I don't know if it will build an ISO but it looks good so far. It's better than a coredump on startup.
I then installed mediainfo and audacity again and they brought in some 2.8.x and 3.0.2 libs/configs.
I ran DVDstyler again and it still starts. so no wxwidget version conflicts at startup.
I hope this helps.
Steve
It could be the DVDStyler update or it could be wxWidgets-3.1.0, I'll update the packages. Having wxWidgets installed from source could cause future problems.
You installed wxWidgets 3.1.0 first, then wxsvg-1.5.9 and built DVDStyler last?
I've updated DVDStyler and wxsvg, will try wxWidgets-3.1.0 last of all if DVDStyler crashes again.
I'll let you know through this bug when everything is published. There's currently an ffmpeg mess.
You need to make uninstall DVDStyler, wxsvg and install them from the normal packman, they are now the same as the sources you installed. If DVDStyler still crashes you can make install again. I'm busy making up the wxWidgets-3.1.0 package if it's needed.
We have success!
I tested your new packages on 2 other OpenSuse Tumbleweed computers. They both started DVDstyler.
The first computer did not have DVDstyler installed yet. It started up as expected.
The second computer had DVDstyler installed and did have the coredump message. After installing the new packages DVDstyler started as expected.
Congratulations on a job well done.
Does DVDStyler work with wxWidgets-3_0-3.0.2?
Seems like this is definitely fixed see #633 DVDStyler 3.0 crash at startup on Fedora 24 Linux with the same issue as you had. You should make sure you have wxWidgets-3.0.2 otherwise you may have future problems with python-wxWidgets which is incompatible with wxWidgets-3.1.0.
See https://sourceforge.net/p/dvdstyler/bugs/633/
Ok. I have "make uninstall" my custom install and switched to packman. It still starts up. Thanks again.