When creating a DVD using Images from the Movies, DVDStyler crashes when creating Menuitems:
DVDStyler v2.4 beta 3
Linux 3.6.11-1-ARCH x86_64
FFmpeg libavformat 54.29.104, libavcodec 54.59.100, libavutil 51.73.101
wxsvg 1.1.11
gdb backtrace:
Program received signal SIGSEGV, Segmentation fault.
Menu::GetSubPictures (this=0x1216f60, mode=ssmNORMAL) at Menu.cpp:551
551 if (*img1Alpha > 0) {
(gdb) bt
widescreenType=widescreenType@entry=wtNOPANSCAN, menuFile=..., audioFormat=audioFormat@entry=afAC3, audioFile=
..., audioBitrate=192) at ProgressDlg.cpp:1586
menuSubSteps=menuSubSteps@entry=75, dvd=dvd@entry=0xcda020) at ProgressDlg.cpp:749
3 0x00000000004fd9be in ProgressDlg::Run (this=this@entry=0x7fffffffc910, burnDlg=burnDlg@entry=0x7fffffffcc80,
dvd=dvd@entry=0xcda020) at ProgressDlg.cpp:670
4 0x00000000004fe060 in ProgressDlg::Start (this=0x7fffffffc910, burnDlg=0x7fffffffcc80, dvd=0xcda020)
5 0x000000000050cdf3 in MainWin::Burn (this=0x9bd320, autoStart=false) at MainWin.cpp:953
6 0x00007ffff6b9d796 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
() from /usr/lib/libwx_baseu-2.8.so.0
7 0x00007ffff6b9d904 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
from /usr/lib/libwx_baseu-2.8.so.0
8 0x00007ffff6b9dc27 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
9 0x00007ffff75bbf59 in wxWindowBase::TryParent(wxEvent&) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
11 0x00007ffff7549430 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
12 0x00007ffff44f3467 in ?? () from /usr/lib/libgobject-2.0.so.0
13 0x00007ffff450be66 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
14 0x00007ffff450c6b2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
15 0x00007ffff2d0d505 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
16 0x00007ffff44f31a0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
17 0x00007ffff4503ed3 in ?? () from /usr/lib/libgobject-2.0.so.0
18 0x00007ffff450c51c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
19 0x00007ffff450c6b2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
20 0x00007ffff2d0c309 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
21 0x00007ffff2db5029 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
22 0x00007ffff44f31a0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
23 0x00007ffff4504330 in ?? () from /usr/lib/libgobject-2.0.so.0
24 0x00007ffff450c13b in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
25 0x00007ffff450c6b2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
26 0x00007ffff2ecd0ce in ?? () from /usr/lib/libgtk-x11-2.0.so.0
27 0x00007ffff2db33c4 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
28 0x00007ffff2db371b in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
29 0x00007ffff2a2a53c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
30 0x00007ffff24d4845 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
31 0x00007ffff24d4b78 in ?? () from /usr/lib/libglib-2.0.so.0
32 0x00007ffff24d4f72 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
33 0x00007ffff2db2727 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
34 0x00007ffff74e8eb8 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
35 0x00007ffff75532cc in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
36 0x00007ffff6b4f525 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
37 0x0000000000438e62 in main (argc=1, argv=<optimized out="">) at dvdstyler.cpp:52</optimized>
It seems that image don't have alpha channel.
Do you installed wxsvg with cairo backend (it's default backend)?
There is already wxSVG 1.1.12 available.
Thanks for the hint. I compiled the wxSVG package with libart backend as suggested by the arch linux package build. That was the problem. I recompiled it with cairo backend and dvdstyler does not crash anymore. I suggest to add a simple check to ./configure to test if an alpha channel pointer is returned by wxSVG.
Actually the arch package maintainer updated the package yesterday :-) also fixing the problem.
BTW: Sorry for the ugly posting above. I didn't recognise SFs new feature of formating posts...