Bug#842513: vlc: immediate crash on launch on powerpc
On Sun, Oct 30, 2016 at 4:40 AM, James Cowgill <jcowg...@debian.org> wrote: > Control: tags -1 - help > Control: severity -1 important > Control: retitle -1 vlc: should prevent installation on powerpc G3 > > Hi, > > On 30/10/16 00:16, Robert Ou wrote: >> On Sat, Oct 29, 2016 at 3:43 PM, James Cowgill <jcowg...@debian.org> wrote: >>> Control: tags -1 help >>> Control: severity -1 grave >>> >>> Hi, >>> >>> On 29/10/16 23:00, Robert Ou wrote: >>>> Package: src:vlc >>>> Version: 2.2.4-7 >>>> Severity: normal >>>> >>>> Dear Maintainer, >>>> >>>> I decided I wanted to test the performance of Debian PowerPC on my >>>> ancient iMac, and I discovered that vlc will immediately crash with an >>>> illegal instruction right after showing the "Privacy and Network Access >>>> Policy" window and before showing the main window. The crashes look like >>>> the following: >>>> >>>> [ 1560.952016] vlc[997]: unhandled signal 4 at 0ea48f58 nip 0ea48f58 lr >>>> 0ea48f4c code 30001 >>> >>> As powerpc is a release architecture, this bug is RC. >>> >>> I tried running vlc on partch. It managed to get further, but then >>> segfaulted inside QT so it's probably a separate issue. I also had to >>> run it in xvfb so it probably gets different results. >>> >>> Specifically what powerpc hardware do you have? Could you run vlc within >>> gdb to determine which instruction it SIGILLs on (try 'layout asm')? >> >> I was testing on a first-generation iMac with a 333 MHz PowerPC 750 >> (G3). Running vlc under gdb shows that the crash occurs in >> libqt4_plugin.so in QRect::adjusted. The crash occurs on a "lvx >> v0,r10,r5" opcode, which is an Altivec opcode. The G3 however does not >> support Altivec. Here is a backtrace and some more debug information: > > This explains it. From the PowerPC FAQ: > https://wiki.debian.org/PowerPC/FAQ#VLC_crashes_on_startup._What.27s_up_with_that.3F > > " > If VLC immediately crashes, it's probably because you're on a G3 and > VLC was compiled with Altivec instructions. To use VLC on a G3, you > must compile it with the configure option --disable-altivec. > " > > Having said that, I think adding something to vlc's preinst to prevent > installation on systems without altivec would be a good idea here. > > I'm not sure going through all the trouble of compiling vlc twice so it > works on the G3 is worth it here - especially since powerpc may not be > a release architecture in 24 hours... > Sorry, I completely missed that FAQ entry amongst the other random bugs/quirks listed there. I am totally fine with not having vlc on this system (I didn't expect vlc to actually be able to play anything at a reasonable speed on this ancient a system). However, will blacklisting it in the preinst step break packages like task-xfce-desktop or break people who already had vlc installed and tried to upgrade? ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#842513: vlc: immediate crash on launch on powerpc
On Sat, Oct 29, 2016 at 3:43 PM, James Cowgill <jcowg...@debian.org> wrote: > Control: tags -1 help > Control: severity -1 grave > > Hi, > > On 29/10/16 23:00, Robert Ou wrote: >> Package: src:vlc >> Version: 2.2.4-7 >> Severity: normal >> >> Dear Maintainer, >> >> I decided I wanted to test the performance of Debian PowerPC on my >> ancient iMac, and I discovered that vlc will immediately crash with an >> illegal instruction right after showing the "Privacy and Network Access >> Policy" window and before showing the main window. The crashes look like >> the following: >> >> [ 1560.952016] vlc[997]: unhandled signal 4 at 0ea48f58 nip 0ea48f58 lr >> 0ea48f4c code 30001 > > As powerpc is a release architecture, this bug is RC. > > I tried running vlc on partch. It managed to get further, but then > segfaulted inside QT so it's probably a separate issue. I also had to > run it in xvfb so it probably gets different results. > > Specifically what powerpc hardware do you have? Could you run vlc within > gdb to determine which instruction it SIGILLs on (try 'layout asm')? I was testing on a first-generation iMac with a 333 MHz PowerPC 750 (G3). Running vlc under gdb shows that the crash occurs in libqt4_plugin.so in QRect::adjusted. The crash occurs on a "lvx v0,r10,r5" opcode, which is an Altivec opcode. The G3 however does not support Altivec. Here is a backtrace and some more debug information: 0x0ea11f58 in QRect::adjusted (yp2=-5, xp2=-5, yp1=4, xp1=4, this=0xaf3fd6f0) at /usr/include/powerpc-linux-gnu/qt5/QtCore/qrect.h:382 382/usr/include/powerpc-linux-gnu/qt5/QtCore/qrect.h: No such file or directory. (gdb) where #0 0x0ea11f58 in QRect::adjusted (yp2=-5, xp2=-5, yp1=4, xp1=4, this=0xaf3fd6f0) at /usr/include/powerpc-linux-gnu/qt5/QtCore/qrect.h:382 #1 AbstractController::telexFrame (this=this@entry=0xae05c8c0) at components/controller.cpp:649 #2 0x0ea13c1c in AbstractController::createWidget (this=this@entry=0xae05c8c0, button=button@entry=TELETEXT_BUTTONS, options=0) at components/controller.cpp:376 #3 0x0ea16dd0 in AbstractController::createAndAddWidget (this=this@entry=0xae05c8c0, controlLayout_=controlLayout_@entry=0xae05c930, i_index=i_index@entry=-1, i_type=i_type@entry=TELETEXT_BUTTONS, i_option=) at components/controller.cpp:181 #4 0x0ea17920 in AbstractController::parseAndCreate (newControlLayout=0xae05c930, config=..., this=0xae05c8c0) at components/controller.cpp:145 #5 ControlsWidget::ControlsWidget (this=0xae05c8c0, _p_i=, b_advControls=, _parent=) at components/controller.cpp:700 #6 0x0e934110 in MainInterface::createMainWidget (this=this@entry=0xaf240990, creationSettings=0xaf2306a0) at main_interface.cpp:491 #7 0x0e934b0c in MainInterface::MainInterface (this=0xaf240990, _p_intf=) at main_interface.cpp:166 #8 0x0e91b8a4 in Thread (obj=0x100c3d30) at qt4.cpp:532 #9 0x0ff73500 in start_thread (arg=0xaf3fe380) at pthread_create.c:335 #10 0x0fe8a9ac in clone () at ../sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S:91 (gdb) x/16i $pc-32 0xea11f38 <AbstractController::telexFrame()+2328>:mr r3,r14 0xea11f3c <AbstractController::telexFrame()+2332>:bl 0xead3400 0xea11f40 <AbstractController::telexFrame()+2336>:mr r4,r23 0xea11f44 <AbstractController::telexFrame()+2340>:addir3,r1,320 0xea11f48 <AbstractController::telexFrame()+2344>:bl 0xead3860 0xea11f4c <AbstractController::telexFrame()+2348>:lwz r4,-32472(r30) 0xea11f50 <AbstractController::telexFrame()+2352>:addir10,r1,464 0xea11f54 <AbstractController::telexFrame()+2356>:li r5,-144 => 0xea11f58 <AbstractController::telexFrame()+2360>:lvx v0,r10,r5 0xea11f5c <AbstractController::telexFrame()+2364>:li r14,-128 0xea11f60 <AbstractController::telexFrame()+2368>:mr r3,r21 0xea11f64 <AbstractController::telexFrame()+2372>:lvx v1,0,r4 0xea11f68 <AbstractController::telexFrame()+2376>:mr r4,r26 0xea11f6c <AbstractController::telexFrame()+2380>:vadduwm v0,v0,v1 0xea11f70 <AbstractController::telexFrame()+2384>:stvxv0,r10,r14 0xea11f74 <AbstractController::telexFrame()+2388>:bl 0xeac09b0 (gdb) info reg r0 0xea11f40245440320 r1 0xaf3fd5b02940196272 r2 0xaf4058502940229712 r3 0xaf3fd6f02940196592 r4 0xeb0b790246462352 r5 0xff704294967152 r6 0xa0d2763c2698147388 r7 0x00 r8 0x00 r9 0x1925 r100xaf3fd7802940196736 r110xdd4c9f0232049136 r120xfe1eac4266463940 r130x100280a0
Bug#842513: vlc: immediate crash on launch on powerpc
Package: src:vlc Version: 2.2.4-7 Severity: normal Dear Maintainer, I decided I wanted to test the performance of Debian PowerPC on my ancient iMac, and I discovered that vlc will immediately crash with an illegal instruction right after showing the "Privacy and Network Access Policy" window and before showing the main window. The crashes look like the following: [ 1560.952016] vlc[997]: unhandled signal 4 at 0ea48f58 nip 0ea48f58 lr 0ea48f4c code 30001 [ 1619.049833] vlc[1022]: unhandled signal 4 at 0ea48f58 nip 0ea48f58 lr 0ea48f4c code 30001 [ 1663.893708] vlc[1033]: unhandled signal 4 at 0ea48f58 nip 0ea48f58 lr 0ea48f4c code 30001 [ 1903.151117] vlc[1425]: unhandled signal 4 at 0ea11f58 nip 0ea11f58 lr 0ea11f4c code 30001 [ 2286.635504] vlc[1525]: unhandled signal 4 at 0ea11f58 nip 0ea11f58 lr 0ea11f4c code 30001 [ 2422.735693] vlc[1589]: unhandled signal 4 at 0ea11f58 nip 0ea11f58 lr 0ea11f4c code 30001 [ 2475.942685] vlc[1599]: unhandled signal 4 at 0ea11f58 nip 0ea11f58 lr 0ea11f4c code 30001 The output of "vlc -vvv" is also attached. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: powerpc (ppc) Kernel: Linux 4.7.0-1-powerpc Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages vlc depends on: ii dpkg 1.18.10 ii vlc-bin 2.2.4-7 ii vlc-l10n 2.2.4-7 ii vlc-plugin-base 2.2.4-7 ii vlc-plugin-qt2.2.4-7 ii vlc-plugin-video-output 2.2.4-7 Versions of packages vlc recommends: ii vlc-plugin-notify 2.2.4-7 ii vlc-plugin-samba 2.2.4-7 ii vlc-plugin-skins2 2.2.4-7 ii vlc-plugin-video-splitter 2.2.4-7 ii vlc-plugin-visualization 2.2.4-7 vlc suggests no packages. Versions of packages libvlc5 depends on: ii dpkg 1.18.10 ii libc62.24-5 ii libvlccore8 2.2.4-7 Versions of packages libvlc5 recommends: ii libvlc-bin 2.2.4-7 Versions of packages libvlccore8 depends on: ii dpkg 1.18.10 ii libc62.24-5 ii libdbus-1-3 1.10.12-1 ii libidn11 1.33-1 Versions of packages libvlccore8 recommends: ii libproxy-tools 0.4.11-5 Versions of packages vlc-plugin-notify depends on: ii dpkg1.18.10 ii libc6 2.24-5 ii libgdk-pixbuf2.0-0 2.36.0-1 ii libglib2.0-02.50.1-1 ii libgtk2.0-0 2.24.31-1 ii libnotify4 0.7.7-1 ii libvlccore8 2.2.4-7 -- no debconf information [10382970] core libvlc debug: VLC media player - 2.2.4 Weatherwax [10382970] core libvlc debug: Copyright © 1996-2016 the VideoLAN team [10382970] core libvlc debug: revision 2.2.3-37-g888b7e89 [10382970] core libvlc debug: configured with ./configure '--build=powerpc-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/powerpc-linux-gnu' '--libexecdir=${prefix}/lib/powerpc-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' '--config-cache' '--disable-update-check' '--enable-fast-install' '--docdir=/usr/share/doc/vlc-data' '--with-binary-version=2.2.4-7' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freerdp' '--enable-freetype' '--enable-fribidi' '--enable-gles1' '--enable-gles2' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sdl-image' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-sndio' '--enable-speex' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcdx' '--enable-vdpau' '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-x265' '--enable-zvbi' '--with-kde-solid=/usr/share/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-gst-decode' '--disable-libtar' '--disable-mfx' '--disable-opencv' '--disable-projectm' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-v4l2' '--enable-libva' '--enable-vcd' '--enable-smbclient' '--disable-oss'