Menu

#630 DVDStyler 2.9.5 and 3.0.0.rc2 causes SIGSEGV on openSUSE Tumbleweed

common
closed
nobody
None
5
2016-09-13
2016-06-28
Dave Plater
No
1 Attachments

Related

Bugs: #630

Discussion

  • Dave Plater

    Dave Plater - 2016-06-28

    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.

     
  • Dave Plater

    Dave Plater - 2016-06-28

    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.

     
  • Stevej

    Stevej - 2016-07-21

    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.

     
  • Dave Plater

    Dave Plater - 2016-07-21

    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.

     
  • Stevej

    Stevej - 2016-07-21

    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.

     
  • Dave Plater

    Dave Plater - 2016-07-21

    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?

     
  • Stevej

    Stevej - 2016-07-21

    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?

     
  • Dave Plater

    Dave Plater - 2016-07-22

    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?

     
  • Dave Plater

    Dave Plater - 2016-07-22

    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.

     
  • Stevej

    Stevej - 2016-07-23

    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.

     
  • Stevej

    Stevej - 2016-09-06

    Dave,

    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

     
  • Dave Plater

    Dave Plater - 2016-09-06

    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.

     
  • Dave Plater

    Dave Plater - 2016-09-07

    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.

     
  • Dave Plater

    Dave Plater - 2016-09-08

    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.

     
  • Stevej

    Stevej - 2016-09-08

    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.

     
  • Dave Plater

    Dave Plater - 2016-09-09

    Does DVDStyler work with wxWidgets-3_0-3.0.2?

     
  • Dave Plater

    Dave Plater - 2016-09-09

    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.

     
  • Stevej

    Stevej - 2016-09-09

    Ok. I have "make uninstall" my custom install and switched to packman. It still starts up. Thanks again.

     
  • NtAlex

    NtAlex - 2016-09-13
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB