Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719180 - media-video/cinelerra-2.3 segfaults on startup.
Summary: media-video/cinelerra-2.3 segfaults on startup.
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Deadline: 2020-12-15
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2020-04-24 06:33 UTC by rnddim
Modified: 2020-12-16 10:11 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rnddim 2020-04-24 06:33:20 UTC
Trying to boot cinelerra gets me a segfault:

Cinelerra-CV 2.3  Gentoo - 2.3
(C) 2006 Heroine Virtual Ltd.
(C) 2006-2015 The CinelerraCV Community
External ffmpeg
Compiled on Thu Apr 23 21:50:15 MDT 2020

Cinelerra-CV is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra-CV.
signal_entry: got SIGSEGV my pid=577779 execution table size=16:
    ؓt�x
    mwindow.C: create_objects: 1395
    mwindow.C: create_objects: 1397
    chromakey.C: load_defaults: 586
    chromakey.C: load_defaults: 601
    chromakey.C: save_defaults: 607
    chromakey.C: save_defaults: 615
    mwindow.C: create_objects: 1400
    bchash.C: copy_from: 276
    bchash.C: copy_from: 279
    bchash.C: copy_from: 288
    bchash.C: copy_from: 276
    bchash.C: copy_from: 279
    bchash.C: copy_from: 288
    bchash.C: copy_from: 276
    bchash.C: copy_from: 279
signal_entry: lock table size=0

Unfortunately, because cinelerra decided it would be a good idea to gobble up segfaults, I don't have a coredump to examine. In any case, the application just hangs until you kill it manually.

Reproducible: Always

Steps to Reproduce:
1. Install cinelerra
2. Start the program.



Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.3.0, glibc-2.30-r8, 5.6.5-gentoo x86_64)
=================================================================
System uname: Linux-5.6.5-gentoo-x86_64-AMD_Athlon-tm-_Dual_Core_Processor_4450B-with-gentoo-2.7
KiB Mem:     3755420 total,    256744 free
KiB Swap:    8388604 total,   6442356 free
Timestamp of repository gentoo: Sun, 19 Apr 2020 23:00:01 +0000
Head commit of repository gentoo: 915dfd63d4b4ce6e39a2562a2cc4c6409420abbd
sh bash 5.0_p16
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash:          5.0_p16::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.2::gentoo
dev-lang/python:          2.7.17-r2::gentoo, 3.6.10-r1::gentoo, 3.7.7-r1::gentoo, 3.8.2-r1::gentoo
dev-util/cmake:           3.17.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

mytestbed
    location: /usr/local/portage
    masters: gentoo

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 50

Installed sets: @kde-frameworks, @kde-plasma
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-keep-masks"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr emboss encode exif ffmpeg flac fortran gdbm gif gtk iconv icu ipv6 jack jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vdpau vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="sheets" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="wacom libinput joystick" KERNEL="linux" L10N="en-US en de fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python3_7" QEMU_SOFTMMU_TARGETS="x86_64 i386 ppc" RUBY_TARGETS="ruby25 ruby27" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan de Konink 2020-04-26 21:10:00 UTC
I have a slightly different error, but this only recently appeared. Before I was able to run the same version of cinelerra without any issues. So it might be related to a library that changed.

Cinelerra-CV 2.3  Gentoo - 2.3
(C) 2006 Heroine Virtual Ltd.
(C) 2006-2015 The CinelerraCV Community
External ffmpeg
Compiled on Sun Apr 26 23:00:16 CEST 2020

Cinelerra-CV is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra-CV.
[New Thread 0x7ffff013d700 (LWP 289452)]
[New Thread 0x7fffef6d6700 (LWP 289453)]
terminate called after throwing an instance of 'std::bad_array_new_length'
  what():  std::bad_array_new_length

Thread 1 "cinelerra" received signal SIGABRT, Aborted.
0x00007ffff7e0c941 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff7e0c941 in raise () at /lib64/libc.so.6
#1  0x00007ffff7df654b in abort () at /lib64/libc.so.6
#2  0x00007ffff5500743 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6
#3  0x00007ffff5530776 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6
#4  0x00007ffff55307e1 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6
#5  0x00007ffff5530a53 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6
#6  0x00007ffff5500253 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6
#7  0x00007ffff775dfa5 in  () at /usr/lib64/libguicast.so.1
#8  0x00007ffff775e970 in  () at /usr/lib64/libguicast.so.1
#9  0x00007ffff776ffca in VFrame::VFrame(VFrame&) () at /usr/lib64/libguicast.so.1
#10 0x00007ffff779470d in BC_Theme::new_button(char const*, VFrame*, VFrame*, VFrame*, char const*) () at /usr/lib64/libguicast.so.1
#11 0x00007fffea3d8bf8 in SUV::initialize() () at /usr/lib64/cinelerra/suv.so
#12 0x00000000006135d5 in MWindow::init_theme() ()
#13 0x0000000000614390 in MWindow::create_objects(int, int, char*) ()
#14 0x00000000004eb5dd in main ()
(gdb) q
Comment 2 Stefan de Konink 2020-04-26 23:12:35 UTC
When Cinelerra is compiled with "-O0" the application works. When adding more optimisation the application fails. To me this is something new. With a bit of work I can get to this part:

Thread 1 "cinelerra" received signal SIGSEGV, Segmentation fault.
BC_WindowBase::~BC_WindowBase (this=0x1b4da50, __in_chrg=<optimized out>) at bcwindowbase.C:121
121	                while (widgetgrids->total) 
(gdb) bt
#0  BC_WindowBase::~BC_WindowBase() (this=0x1b4da50, __in_chrg=<optimized out>) at bcwindowbase.C:121
#1  0x00007ffff79853ed in BC_Slider::BC_Slider(int, int, int, int, VFrame**, int, int, int) () at /usr/lib64/libguicast.so.1
#2  0x00007ffff7946000 in  () at /usr/lib64/libguicast.so.1
#3  0x00007fffffffa470 in  ()
#4  0x00007ffff7fe86ea in _dl_runtime_resolve_xsavec () at /lib64/ld-linux-x86-64.so.2
(gdb) list
116			delete subwindows;
117		}
118	
119		if(widgetgrids)
120		{
121	                while (widgetgrids->total) 
122	                {
123				delete widgetgrids->last();
124				widgetgrids->remove();
125	                }
Comment 3 Gabriel 2020-10-08 09:52:44 UTC
In my case, even with -O0, it hangs at startup:
$ cinelerra 
Cinelerra-CV 2.3  Gentoo - 2.3
(C) 2006 Heroine Virtual Ltd.
(C) 2006-2015 The CinelerraCV Community
External ffmpeg
Compiled on Thu Oct  8 10:37:27 BST 2020

Cinelerra-CV is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra-CV.
signal_entry: got SIGSEGV my pid=5327 execution table size=16:
    bchash.C: copy_from: 288
    mwindow.C: create_objects: 1395
    mwindow.C: create_objects: 1397
    chromakey.C: load_defaults: 586
    chromakey.C: load_defaults: 601
    chromakey.C: save_defaults: 607
    chromakey.C: save_defaults: 615
    mwindow.C: create_objects: 1400
    bchash.C: copy_from: 276
    bchash.C: copy_from: 279
    bchash.C: copy_from: 288
    bchash.C: copy_from: 276
    bchash.C: copy_from: 279
    bchash.C: copy_from: 288
    bchash.C: copy_from: 276
    bchash.C: copy_from: 279
signal_entry: lock table size=0

I am guessing that it may be time to upgrade to cinelerra-gg.

Caveats of my system: it's wayland (so cinelerra should be using xwayland) and the compositor is hikari.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-12-16 10:11:54 UTC
Package removed.