Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96290 - xawtv-3.94-r2 streamer crash if I try to record a mov file (perhabs libquicktime > 0.9.2)
Summary: xawtv-3.94-r2 streamer crash if I try to record a mov file (perhabs libquickt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-16 09:51 UTC by Markus Preis
Modified: 2006-07-09 01:21 UTC (History)
3 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 Markus Preis 2005-06-16 09:51:57 UTC
I try to record a mov Movie with this command:
streamer  -b 64 -s 720x576 -r 25 -f jpeg -R 48000 -F stereo -j 90 -t 01:30:00 -o
film.mov

I get:
qt / video: JPEG (JFIF) / audio: 16bit stereo (BE)
Speicherzugriffsfehler

Here the last rows of a strace:
ioctl(3, MATROXFB_S_TVOCTRL or VIDIOC_S_CTRL, 0xbfffee38) = 0
ioctl(3, MATROXFB_G_TVOCTRL or VIDIOC_G_CTRL, 0xbfffee28) = 0
open("/dev/sound/dsp", O_RDONLY|O_LARGEFILE) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
ioctl(4, SNDCTL_DSP_SETFMT or SOUND_PCM_READ_BITS, 0x8062e3c) = 0
ioctl(4, SOUND_PCM_READ_CHANNELS, 0x8062e40) = 0
ioctl(4, SNDCTL_DSP_SPEED or SOUND_PCM_READ_RATE, 0x8062e44) = 0
ioctl(4, SNDCTL_DSP_SETFRAGMENT, 0xbfffedd8) = 0
ioctl(4, SNDCTL_DSP_GETBLKSIZE, 0x8062e48) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=262144*1024}) = 0
pipe([5, 6])                            = 0
clone(child_stack=0x806fcd8, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND)
= 6769
write(6, "8G\361\267\5\0\0\0\n\0\0\0\1\0\0\0\0\0\0\0\300\16\362\267"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(6, "\300\30\6\10\0\0\0\0\0\0\0\0`0\5\10 r\6\10\0\0\0\200\0"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
ioctl(3, VIDIOC_S_FMT or VT_RELDISP, 0x806af0c) = -1 EINVAL (Invalid argument)
ioctl(3, VIDIOC_S_FMT or VT_RELDISP, 0x806af0c) = 0
ioctl(3, VIDIOC_S_FMT or VT_RELDISP, 0x806af0c) = 0
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(6, "\300\30\6\10\0\0\0\0\0\0\0\0 1\5\10 r\6\10\0\0\0\200\0"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(6, "\300\30\6\10\0\0\0\0\0\0\0\0p,\5\10\240/\6\10\0\0\0\200"..., 148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
time([1118940475])                      = 1118940475
time([1118940475])                      = 1118940475
open("film.mov", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
mmap2(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb63a7000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


Reproducible: Always
Steps to Reproduce:
1. streamer  -b 64 -s 720x576 -r 25 -f jpeg -R 48000 -F stereo -j 90 -t 01:30:00
-o film.mov




Actual Results:  
qt / video: JPEG (JFIF) / audio: 16bit stereo (BE)
Speicherzugriffsfehler

Expected Results:  
Record the movie

Gentoo Base System version 1.6.12
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r8 i686)
=================================================================
System uname: 2.6.11-gentoo-r8 i686 AMD Athlon(tm) XP 2800+
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 10 2005, 14:57:00)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.5, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="de_DE"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X aalib acpi alsa apm arts avi bash-completion
berkdb bitmap-fonts bonobo cddb cdparanoia cdr crypt css cups curl dga dio
directfb divx4linux dv dvd dvdr dvdread edl eds emboss encode esd exif fam fbcon
fdftk festival ffmpeg fla flac foomaticdb fortran gd gdbm ggi gif gimp gimpprint
gnome gpg gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 java
jpeg jpeg2k junit kde libg++ libwww lzo lzw lzw-tiff mad matroska mbox mikmod
mmx mmx2 mng motif mozilla mp3 mpeg mysql ncurses network nls nvidia odbc ogg
oggvorbis opengl oss pam pdflib perl png pnp postgres povray ppds python qt
quicktime readline samba sasl scanner sdl slang smime sndfile snmp sox speedo
spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1
type1-fonts unicode usb userlocales v4l vorbis win32codecs wmf xanim xine xml
xml2 xmms xscreensaver xv xvid xvmc yv12 zlib fritzcapi_cards_fcpci userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-06-16 12:01:16 UTC
which version?
Comment 2 Markus Preis 2005-06-17 11:54:29 UTC
Sorry, I use xawtv-3.94-r2 but I get the same error with previous versions. 
Comment 3 Markus Preis 2005-07-23 02:24:58 UTC
I have tried some other libquicktime versions and now I get a running system 
with libquicktime-0.9.2 and xawtv-3.94-r1. 
Perhabs someone can use the Info to fix this bug. 
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-15 12:17:51 UTC
Tried with newer libquicktime? 
Comment 5 Markus Preis 2005-10-16 05:54:37 UTC
I've tried out  
libquicktime-0.9.7-r1 and  
libquicktime-0.9.4  
with 
mjpeg-1.6.2-r4  
and  
xawtv-3.94-r1  
with each combination i've gor an segfault if I tried to record a video with 
streamer. 
 
With libquicktime-0.9.3-r1 and  
mjpeg-1.8.0  
and xawtv-3.94-r1 
 
i could record a stream. 
 
I hope that helps. 
 
Markus 
 
Comment 6 Markus Preis 2005-12-19 02:38:06 UTC
After an emerge -e world libquicktime-0.9.3-r1 has gone.
libquicktime > 0.9.2 cause segfault everytime I try to record a movie
only the combination of
libquicktime-0.9.2
mjpegtools-1.8.0-r1
and
xawtv 3.94-r1
still work but this combination breaks transcode.

Does nobody else have the Problem?
Which alternative Tool to record a Movie could I use?
Markus
Comment 7 Markus Preis 2006-02-14 06:13:38 UTC
I give it a new try and what should I say...
streamer works now.
I use these versions:
libquicktime-0.9.4
mjpegtools-1.8.0-r1
xawtv-3.95-r1

But I recognise a new error.
If I record More then 3 hours and 6 Minutes I got a slip between Video and Audio sync. I use as Filesystem an Partition with ext3 and one with raiser - still the same Error.
Did somebosy confirrm this?

 
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-07-09 01:21:32 UTC
(In reply to comment #7)
> I give it a new try and what should I say...
> streamer works now.
> I use these versions:
> libquicktime-0.9.4
> mjpegtools-1.8.0-r1
> xawtv-3.95-r1

Closing then. File a new bug if you have different issues, at it's unrelated to this bug.