Menu

#633 DVDStyler 3.0 crash at startup on Fedora 24 Linux

common
closed
nobody
5
2016-09-13
2016-07-21
Vascom
No

Please help solve problem with run DVDStyler under linux.

$ dvdstyler
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)

Strace log of run attached.

Full build log http://koji.russianfedora.pro/kojifiles/work/tasks/4144/84144/build.log
Packages versions used to build http://koji.russianfedora.pro/kojifiles/work/tasks/4144/84144/root.log
All logs http://koji.russianfedora.pro/koji/taskinfo?taskID=84144

1 Attachments

Discussion

  • Sérgio M. Basto

    An complete backtrace , looks like is SVGCanvasPathCairo.cpp:57 , I'm gooing search in wxSVG project:

    Thread 1 "dvdstyler" received signal SIGSEGV, Segmentation fault.
    0x00007ffff4664838 in wxSVGCanvasPathCairo::GetResultBBox (this=0x555555e67bb0, style=..., matrix=...)
        at SVGCanvasPathCairo.cpp:57
    57                      cairo_matrix_init(&m, matrix.GetA(), matrix.GetB(), matrix.GetC(), matrix.GetD(), matrix.GetE(), matrix.GetF());
    (gdb) bt
    #0  0x00007ffff4664838 in wxSVGCanvasPathCairo::GetResultBBox (this=0x555555e67bb0, style=..., matrix=...)
        at SVGCanvasPathCairo.cpp:57
    #1  0x00007ffff4664f50 in wxSVGCanvasTextCairo::InitText (this=0x555555e52b70, text=..., style=..., 
        matrix=<optimized out>) at SVGCanvasTextCairo.cpp:136
    #2  0x00007ffff464202a in wxSVGCanvasText::InitChildren (this=0x555555e52b70, element=..., style=..., matrix=0x0)
        at SVGCanvasItem.cpp:1099
    #3  0x00007ffff4642759 in wxSVGCanvasText::Init (this=0x555555e52b70, element=..., style=..., matrix=0x0)
        at SVGCanvasItem.cpp:1035
    #4  0x00007ffff4664038 in wxSVGCanvasCairo::CreateItem (this=0x555555e162d0, element=0x555555e630d0, style=0x0, 
        matrix=0x0) at SVGCanvasCairo.cpp:99
    #5  0x00007ffff45e48f5 in wxSVGTextElement::GetBBox (this=0x555555e630d0, coordinates=wxSVG_COORDINATES_USER)
        at SVGTextElement.cpp:18
    #6  0x00007ffff45e4b5f in wxSVGTextElement::GetResultBBox (this=0x555555e630d0, coordinates=wxSVG_COORDINATES_USER)
        at SVGTextElement.cpp:30
    #7  0x00007ffff45de985 in wxSVGLocatable::GetElementResultBBox (element=element@entry=0x555555e630d0, 
        coordinates=coordinates@entry=wxSVG_COORDINATES_USER) at SVGLocatable.cpp:58
    #8  0x00005555555fe48f in MenuObject::CalcSize (this=this@entry=0x7fffffffc490, size=..., width=width@entry=true)
        at MenuObject.cpp:498
    #9  0x00005555555fe724 in MenuObject::FixSize (this=this@entry=0x7fffffffc490, width=@0x7fffffffb810: 8, 
        height=@0x7fffffffb814: 8) at MenuObject.cpp:529
    #10 0x00005555555fe7f2 in MenuObject::UpdateSize (this=this@entry=0x7fffffffc490) at MenuObject.cpp:549
    #11 0x00005555556067ed in MenuObject::Init (this=this@entry=0x7fffffffc490, fileName=..., x=x@entry=0, y=y@entry=0, 
        param=...) at MenuObject.cpp:188
    #12 0x0000555555607436 in MenuObject::MenuObject (this=0x7fffffffc490, menu=<optimized out>, vmg=<optimized out>, 
        fileName=..., x=0, y=0, param=...) at MenuObject.cpp:66
    #13 0x00005555556599fd in MenuEditor::MenuEditor (this=<optimized out>, parent=<optimized out>, id=<optimized out>)
        at MenuEditor.cpp:330
    #14 0x00005555556bb2c1 in MainWin::MainWin (this=0x555555d3f380) at MainWin.cpp:199
    #15 0x00005555556be168 in DVDStyler::OnInit (this=<optimized out>) at dvdstyler.cpp:170
    #16 0x00007ffff689c3a7 in wxAppConsole::CallOnInit (this=<optimized out>) at include/wx/app.h:76
    #17 wxEntry (argc=<optimized out>, argv=<optimized out>) at src/common/init.cpp:432
    #18 0x00005555555b72b2 in main (argc=<optimized out>, argv=<optimized out>) at dvdstyler.cpp:52
    
     
  • NtAlex

    NtAlex - 2016-07-30

    The bug fix is already implemented, but it's not tested yet.
    It's committed in CVS. Please try it.
    See https://sourceforge.net/p/wxsvg/code/ to get the last sources of wxsvg.

     
    • Dr. Nagalkar

      Dr. Nagalkar - 2016-08-04

      [makerpm@loptopsdn ~]$ gdb dvdstyler
      GNU gdb (GDB) Fedora 7.11.1-75.fc24
      (gdb) run
      Starting program: /usr/bin/dvdstyler
      Missing separate debuginfos, use: dnf debuginfo-install glibc-2.23.1-8.fc24.x86_64
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib64/libthread_db.so.1".
      [New Thread 0x7fffd324c700 (LWP 4757)]
      [New Thread 0x7fffd2a4b700 (LWP 4758)]
      [New Thread 0x7fffd1e0b700 (LWP 4759)]
      [New Thread 0x7fffd160a700 (LWP 4760)]
      [Thread 0x7fffd1e0b700 (LWP 4759) exited]
      [Thread 0x7fffd160a700 (LWP 4760) exited]

      Thread 1 "dvdstyler" received signal SIGSEGV, Segmentation fault.
      0x00007ffff4532838 in wxSVGCanvasPathCairo::GetResultBBox(wxCSSStyleDeclaration const&, wxSVGMatrix const&) () from /lib64/libwxsvg.so.3
      I have latest wxsvg1.5.8-3.fc24 from rpmfusion

       
      • Sérgio M. Basto

        with wxsvg-1.5.8-3.fc24.src.rpm from rpmfusion-free-updates-testing, I think it is fixed , at least for me , can you test it ?
        since you say that have wxsvg1.5.8-3.fc24 installed , may you run and install 2 gbytes of debug-info runnig: dnf debuginfo-install glibc-2.23.1-8.fc24.x86_64 and get a backtrace like my previous in this thread. Thanks

         

        Last edit: Sérgio M. Basto 2016-08-06
        • Dr. Nagalkar

          Dr. Nagalkar - 2016-08-07

          Well I did dnf dbuginfo-install glibc-2-23.1-8.fc24.x86_64 & run dgb dvdstyler and got the output as in attachment.
          Hope this helps.

           
          • Sérgio M. Basto

            yes , it helps , can you do as gdb says , anyway I mean wxsvg-1.5.8-3.fc24.src.rpm from RPMFusion of course .

            dnf debuginfo-install GConf2-3.2.6-16.fc24.x86_64 ORBit2-2.14.19-15.fc24.x86_64 PackageKit-gtk3-module-1.1.3-2.fc24.x86_64 SDL-1.2.15-21.fc24.x86_64 adwaita-gtk2-theme-3.20.2-1.fc24.x86_64 atk-2.20.0-1.fc24.x86_64 avahi-glib-0.6.32-1.fc24.x86_64 avahi-libs-0.6.32-1.fc24.x86_64 bzip2-libs-1.0.6-20.fc24.x86_64 cairo-1.14.6-2.fc24.x86_64 dbus-glib-0.106-1.fc24.x86_64 dbus-libs-1.11.2-1.fc24.x86_64 dconf-0.26.0-1.fc24.x86_64 expat-2.1.1-2.fc24.x86_64 faac-1.28-7.fc24.x86_64 ffmpeg-libs-3.1.1-1.fc24.x86_64 fontconfig-2.11.94-6.fc24.x86_64 freetype-2.6.3-2.fc24.x86_64 fribidi-0.19.7-2.fc24.x86_64 gdk-pixbuf2-2.34.0-1.fc24.x86_64 glib-networking-2.48.2-1.fc24.x86_64 glib2-2.48.1-1.fc24.x86_64 gmp-6.1.1-1.fc24.x86_64 gnome-vfs2-2.24.4-20.fc24.x86_64 gnutls-3.4.14-1.fc24.x86_64 graphite2-1.3.6-1.fc24.x86_64 gsm-1.0.13-14.fc24.x86_64 gstreamer-0.10.36-14.fc24.x86_64 gstreamer-plugins-base-0.10.36-14.fc24.x86_64 gtk2-2.24.30-1.fc24.x86_64 gvfs-client-1.28.2-1.fc24.x86_64 harfbuzz-1.2.7-1.fc24.x86_64 ibus-gtk2-1.5.13-3.fc24.x86_64 ibus-libs-1.5.13-3.fc24.x86_64 jbigkit-libs-2.1-5.fc24.x86_64 keyutils-libs-1.5.9-8.fc24.x86_64 krb5-libs-1.14.1-8.fc24.x86_64 kvazaar-libs-0.8.3-1.fc24.x86_64 lame-libs-3.99.5-5.fc24.x86_64 libICE-1.0.9-5.fc24.x86_64 libSM-1.2.2-4.fc24.x86_64 libX11-1.6.3-3.fc24.x86_64 libXau-1.0.8-6.fc24.x86_64 libXcomposite-0.4.4-8.fc24.x86_64 libXcursor-1.1.14-6.fc24.x86_64 libXdamage-1.1.4-8.fc24.x86_64 libXext-1.3.3-4.fc24.x86_64 libXfixes-5.0.2-2.fc24.x86_64 libXi-1.7.6-2.fc24.x86_64 libXinerama-1.1.3-6.fc24.x86_64 libXrandr-1.5.0-3.fc24.x86_64 libXrender-0.9.9-3.fc24.x86_64 libXxf86vm-1.1.4-3.fc24.x86_64 libart_lgpl-2.3.21-14.fc24.x86_64 libass-0.13.1-2.fc24.x86_64 libattr-2.4.47-16.fc24.x86_64 libbluray-0.9.3-2.fc24.x86_64 libbonobo-2.32.1-10.fc24.x86_64 libbonoboui-2.24.5-10.fc24.x86_64 libcanberra-0.30-11.fc24.x86_64 libcanberra-gtk2-0.30-11.fc24.x86_64 libcap-2.24-9.fc24.x86_64 libcom_err-1.42.13-4.fc24.x86_64 libdatrie-0.2.9-3.fc24.x86_64 libdrm-2.4.70-1.fc24.x86_64 libexif-0.6.21-10.fc24.x86_64 libfdk-aac-0.1.4-4.fc24.x86_64 libffi-3.1-9.fc24.x86_64 libgcc-6.1.1-3.fc24.x86_64 libgcrypt-1.6.5-1.fc24.x86_64 libgnome-2.32.1-11.fc24.x86_64 libgnome-keyring-3.12.0-6.fc24.x86_64 libgnomecanvas-2.30.3-11.fc24.x86_64 libgnomeui-2.24.5-12.fc24.x86_64 libgomp-6.1.1-3.fc24.x86_64 libgpg-error-1.24-1.fc24.x86_64 libidn-1.33-1.fc24.x86_64 libjpeg-turbo-1.5.0-1.fc24.x86_64 libmfx-1.16-1.7adf2e4.fc24.x86_64 libmodman-2.0.1-12.fc24.x86_64 libogg-1.3.2-5.fc24.x86_64 libpng-1.6.23-1.fc24.x86_64 libproxy-0.4.12-3.fc24.x86_64 librtmp-2.4-7.fa8646d.fc24.x86_64 libselinux-2.5-9.fc24.x86_64 libssh-0.7.3-1.fc24.x86_64 libstdc++-6.1.1-3.fc24.x86_64 libtasn1-4.8-2.fc24.x86_64 libtdb-1.3.9-1.fc24.x86_64 libthai-0.1.24-1.fc24.x86_64 libtheora-1.1.1-14.fc24.x86_64 libtiff-4.0.6-2.fc24.x86_64 libtool-ltdl-2.4.6-11.fc24.x86_64 libuuid-2.28-3.fc24.x86_64 libva-1.7.1-2.fc24.x86_64 libvdpau-1.1.1-3.fc24.x86_64 libvorbis-1.3.4-6.fc24.x86_64 libvpx-1.5.0-4.fc24.x86_64 libwayland-client-1.10.0-1.fc24.x86_64 libwayland-server-1.10.0-1.fc24.x86_64 libwebp-0.5.0-2.fc24.x86_64 libxcb-1.11.1-2.fc24.x86_64 libxml2-2.9.3-3.fc24.x86_64 libxshmfence-1.2-3.fc24.x86_64 lz4-r131-2.fc24.x86_64 mesa-libEGL-12.0.1-1.fc24.x86_64 mesa-libGL-12.0.1-1.fc24.x86_64 mesa-libgbm-12.0.1-1.fc24.x86_64 mesa-libglapi-12.0.1-1.fc24.x86_64 nettle-3.2-3.fc24.x86_64 ocl-icd-2.2.8-3.git20151217.0122332.fc24.x86_64 opencore-amr-0.1.3-4.fc24.x86_64 openh264-libs-1.5.3-1.fc24.x86_64 openjpeg-libs-1.5.1-16.fc24.x86_64 openssl-libs-1.0.2h-1.fc24.x86_64 opus-1.1.2-2.fc24.x86_64 orc-0.4.25-1.fc24.x86_64 p11-kit-0.23.2-2.fc24.x86_64 pango-1.40.1-1.fc24.x86_64 pcre-8.39-2.fc24.x86_64 pixman-0.34.0-2.fc24.x86_64 popt-1.16-7.fc24.x86_64 schroedinger-1.0.11-10.fc24.x86_64 soxr-0.1.2-2.fc24.x86_64 speex-1.2-0.25.rc2.fc24.x86_64 systemd-libs-229-9.fc24.x86_64 twolame-libs-0.3.13-5.fc24.x86_64 vo-amrwbenc-0.1.3-3.fc24.x86_64 wxBase-2.8.12-23.fc24.x86_64 wxGTK-2.8.12-23.fc24.x86_64 wxGTK-media-2.8.12-23.fc24.x86_64 wxsvg-1.5.8-2.fc24.x86_64 x264-libs-0.148-7.a5e06b9.fc24.x86_64 x265-libs-1.9-1.fc24.x86_64 xvidcore-1.3.4-3.fc24.x86_64 xz-libs-5.2.2-2.fc24.x86_64 zlib-1.2.8-10.fc24.x86_64 zvbi-0.2.35-1.fc24.x86_64
            (gdb) bt

             
            • Dr. Nagalkar

              Dr. Nagalkar - 2016-08-09

              Well I am not a programer but I replaced the src and include dirs from cvs download in wxsvg-1.5.8 and ran dvdstyler 2.9.6 after installing the wxsvg-cvs. And now dvdstyler works fine on Fedora 24 x86_64.
              Thanks for your guidelines.

               

              Last edit: Dr. Nagalkar 2016-08-09
              • Sérgio M. Basto

                you are the packager

                Packager : Dr Nagalkar drnagalkar@xxxxxxxxx
                and you don't have any patch ...

                 

                Last edit: Sérgio M. Basto 2016-08-09
    • Dr. Nagalkar

      Dr. Nagalkar - 2016-08-09

      Dear Alex,
      Thanks for advice. After installing wxsvg from CVS I could start dvdstyler ver 2.9.6 in Fedora 24 on x86_64

       
      • Sérgio M. Basto

        OK so you also confirm that code in cvs fix this issue. I'm package maintainer of dvdstyler in RPMFusion , I will update F25 and rawhide with dvdstyler-3.0.2 soon that was released , after sometime of testing , if no problems detect, I may push it to F24 and F23 , you are very welcome to use and test it. Now in RPMFusion we may react more quickly .
        Thanks

         
      • NtAlex

        NtAlex - 2016-08-09

        Thanks for the testing.
        I just published wxSVG v1.5.9 and DVDStyler v3.0.2 beta 2.

         
  • NtAlex

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

Log in to post a comment.

MongoDB Logo MongoDB