Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427460 - media-gfx/blender-2.63a-r2 segfault on video open/vse actions
Summary: media-gfx/blender-2.63a-r2 segfault on video open/vse actions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-21 11:14 UTC by Maxim Kachur
Modified: 2012-08-08 01:38 UTC (History)
2 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 Maxim Kachur 2012-07-21 11:14:53 UTC
Blender segfaults when trying to open video in movie clip editor or move current position on vse window when video already present in project. OK with audio clips and images.
Backtrace:

Thread 8 (Thread 0x7fffe2a0b700 (LWP 24919)):
#0  0x00007ffff16b885c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fffe341ac0b in ?? () from /usr/lib64/dri/r600_dri.so
#2  0x00007ffff16b3dba in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff1e2888d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fffe4b1d700 (LWP 24918)):
#0  0x00007ffff16bab00 in sem_wait () from /lib64/libpthread.so.0
#1  0x00007fffeffcdb6f in ?? () from /usr/lib64/libIlmThread.so.6
#2  0x00007ffff16b3dba in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff1e2888d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fffe531e700 (LWP 24917)):
#0  0x00007ffff16bab00 in sem_wait () from /lib64/libpthread.so.0
#1  0x00007fffeffcdb6f in ?? () from /usr/lib64/libIlmThread.so.6
#2  0x00007ffff16b3dba in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff1e2888d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fffe5b1f700 (LWP 24916)):
#0  0x00007ffff16bab00 in sem_wait () from /lib64/libpthread.so.0
#1  0x00007fffeffcdb6f in ?? () from /usr/lib64/libIlmThread.so.6
#2  0x00007ffff16b3dba in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff1e2888d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fffe6320700 (LWP 24915)):
#0  0x00007ffff16bab00 in sem_wait () from /lib64/libpthread.so.0
#1  0x00007fffeffcdb6f in ?? () from /usr/lib64/libIlmThread.so.6
#2  0x00007ffff16b3dba in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff1e2888d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fffe6b21700 (LWP 24914)):
#0  0x00007ffff16bab00 in sem_wait () from /lib64/libpthread.so.0
#1  0x00007fffeffcdb6f in ?? () from /usr/lib64/libIlmThread.so.6
#2  0x00007ffff16b3dba in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff1e2888d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fffe7322700 (LWP 24913)):
#0  0x00007ffff16bab00 in sem_wait () from /lib64/libpthread.so.0
#1  0x00007fffeffcdb6f in ?? () from /usr/lib64/libIlmThread.so.6
#2  0x00007ffff16b3dba in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffff1e2888d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7f977e0 (LWP 24910)):
#0  0x00007ffff628a68a in avformat_open_input () from /usr/lib64/libavformat.so.53
#1  0x000000000191c2b6 in isffmpeg (
    filename=0x5210b18 "/../home/mcdebugger/video/projects/2012/2012-05-25 - последний звонок 67/video/mcdebugger/00000.avi")
    at source/blender/imbuf/intern/util.c:264
#2  0x000000000191c450 in imb_get_anim_type (
    name=0x5210b18 "/../home/mcdebugger/video/projects/2012/2012-05-25 - последний звонок 67/video/mcdebugger/00000.avi")
    at source/blender/imbuf/intern/util.c:341
#3  0x00000000019216da in anim_getnew (anim=0x5210af8) at source/blender/imbuf/intern/anim_movie.c:1178
#4  0x0000000001921949 in IMB_anim_absolute (anim=0x5210af8, position=0, tc=IMB_TC_NONE, preview_size=IMB_PROXY_NONE)
    at source/blender/imbuf/intern/anim_movie.c:1249
#5  0x000000000181254a in openanim (
    name=0x7fffffffc2f0 "/../home/mcdebugger/video/projects/2012/2012-05-25 - последний звонок 67/video/mcdebugger/00000.avi", flags=1, streamindex=0)
    at source/blender/blenkernel/intern/image.c:1728
#6  0x00000000017bd0ae in seq_open_anim_file (seq=0x53810d8) at source/blender/blenkernel/intern/sequencer.c:1193
#7  0x00000000017c02aa in seq_render_strip (context=..., seq=0x53810d8, cfra=541) at source/blender/blenkernel/intern/sequencer.c:2304
#8  0x00000000017bf314 in seq_render_effect_strip_impl (context=..., seq=0x5387c18, cfra=541) at source/blender/blenkernel/intern/sequencer.c:1938
#9  0x00000000017c013c in seq_render_strip (context=..., seq=0x5387c18, cfra=541) at source/blender/blenkernel/intern/sequencer.c:2273
#10 0x00000000017c08aa in seq_render_strip_stack (context=..., seqbasep=0x537f320, cfra=541, chanshown=0) at source/blender/blenkernel/intern/sequencer.c:2440
#11 0x00000000017c0e11 in give_ibuf_seq (context=..., cfra=541, chanshown=0) at source/blender/blenkernel/intern/sequencer.c:2548
#12 0x00000000014152f5 in draw_image_seq (C=0x37127a8, scene=0x537e248, ar=0x5339948, sseq=0x5339c28, cfra=541, frame_ofs=0)
    at source/blender/editors/space_sequencer/sequencer_draw.c:859
#13 0x00000000014120c8 in sequencer_preview_area_draw (C=0x37127a8, ar=0x5339948) at source/blender/editors/space_sequencer/space_sequencer.c:444
#14 0x00000000014372e0 in ED_region_do_draw (C=0x37127a8, ar=0x5339948) at source/blender/editors/screen/area.c:482
#15 0x0000000000feca3a in wm_method_draw_overlap_all (C=0x37127a8, win=0x531a718, exchange=0) at source/blender/windowmanager/intern/wm_draw.c:270
#16 0x0000000000fedee9 in wm_draw_update (C=0x37127a8) at source/blender/windowmanager/intern/wm_draw.c:775
#17 0x0000000000fec16f in WM_main (C=0x37127a8) at source/blender/windowmanager/intern/wm.c:372
#18 0x0000000000fdb22b in main (argc=1, argv=0x7fffffffd7b8) at source/creator/creator.c:1351

Reproducible: Always

Steps to Reproduce:
1. Launch blender
2. Open Video clip editor window
3. Load video into editor

or

1. Launch blender
2. Open project with VSE stuff
3. Switch to VSE, try to move on animation timeline to some video with preview enabled.
Actual Results:  
Segfault

Expected Results:  
Loads and shows video OK

Portage 2.3.4-r7 (default/linux/amd64/2008.0/desktop, gcc-4.4.5, glibc-2.13-r4, 3.3.8-gentoo x86_64)
=================================================================
System uname: Linux-3.3.8-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1075T_Processor-with-gentoo-2.1.8
Timestamp of tree: Sat, 21 Jul 2012 06:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.12-r1000
dev-lang/python:          2.7.3-r1000, 3.2.3-r1000
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1.8-r3
sys-apps/openrc:          0.8.3-r8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::funtoo, 2.68
sys-devel/automake:       1.10.3::funtoo, 1.11.1::funtoo
sys-devel/binutils:       2.20.1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.5
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x11 multimedia maekke wdzierzan wavilen amielke-overlay moonrise aluco proaudio ladi local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -msse4a -mmmx -m3dnow -mfpmath=sse -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/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/udev/rules.d"
CXXFLAGS="-O2 -march=native -msse4a -mmmx -m3dnow -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles mini-manifest news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/multimedia /var/lib/layman/maekke /var/lib/layman/wdzierzan /var/lib/layman/wavilen /var/lib/layman/amielke-overlay /var/lib/layman/moonrise /var/lib/layman/aluco /var/lib/layman/pro-audio /var/lib/layman/ladi /usr/local/portage"
SYNC="git://github.com/funtoo/portage-mini-2011.git"
SYNC_USER="root"
USE="3dnow 3dnowext X a52 aac acl acpi alac alsa amd64 amr bash-completion berkdb bluetooth bluray branding bzip2 cairo cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt cups curl cxx dbus djvu dri dts dv dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac fontconfig foomaticdb fortran ftp gallium gdbm gif gimp git gles glut gme gnome gnome-keyring gphoto2 gsm gstreamer gtk hddtemp iconv icq icu idn ieee1394 ipv6 jabber jack jingle joystick jpeg ladspa lame lash lcms ldap libnotify libsamplerate lirc lm_sensors lv2 lzma lzo mad matroska matrox midi mmap mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz nautilus ncurses nls nptl ogg opengl openmp openvg pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 quicktime raw readline rtmp ruby samba scanner sdl session smp sndfile speex spell sse sse2 sse3 sse4a ssl startup-notification subversion svg symlink tcpd theora threads tiff truetype udev udisks unicode upower usb v4l v4l2 vaapi vcd vdpau videos vim-syntax vnc vorbis wavpack wxwidgets x264 xcb xinerama xml xmp xorg xv xvid xvmc zlib" ALSA_CARDS="emu10k1 emu1616" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en" LIRC_DEVICES="dvico" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="r600 radeon" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Comment 1 Agostino Sarubbo gentoo-dev 2012-07-21 13:34:03 UTC
Your emerge --info does not look very ok for me..probably Diego will say anithing about it...just assign for now.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-21 14:11:26 UTC
Are you using libav or ffmpeg? If the latter try with the former, and let's see what the problem is.
Comment 3 Maxim Kachur 2012-07-21 15:27:46 UTC
I'm using ffmpeg 0.10.3
I think it's related with it. I'll try other version.
Thanks for reply.
Comment 4 Maxim Kachur 2012-07-21 15:58:14 UTC
Same behaviour with libav-0.8.3 and ffmpeg-0.10.2
Comment 5 Maxim Kachur 2012-07-21 16:13:05 UTC
ffmpeg-0.11.1 - the same.
Comment 6 Maxim Kachur 2012-07-21 17:24:07 UTC
Works ok with ebuild from aluco overlay.
=media-gfx/blender-2.63a-r1
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-08-08 01:38:51 UTC
Fixed without revbump (yet).