Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66148 - XAWTV Crashes Segmentation fault
Summary: XAWTV Crashes Segmentation fault
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-02 12:11 UTC by Peter Canada
Modified: 2005-05-12 00:34 UTC (History)
2 users (show)

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


Attachments
XAWTV Strace (stracexawtv,36.58 KB, text/plain)
2004-10-16 20:01 UTC, Peter Canada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Canada 2004-10-02 12:11:41 UTC
*** Not sure why it's crashing but here's the debug output "xawtv -v 2"

This is xawtv-3.86, running on Linux/i686 (2.6.8-gentoo-r3)
visual: id=0x21 class=4 (TrueColor), depth=16
visual: id=0x22 class=5 (DirectColor), depth=16
visual: id=0x23 class=4 (TrueColor), depth=16
visual: id=0x24 class=4 (TrueColor), depth=16
visual: id=0x25 class=4 (TrueColor), depth=16
visual: id=0x26 class=4 (TrueColor), depth=16
visual: id=0x27 class=4 (TrueColor), depth=16
visual: id=0x28 class=4 (TrueColor), depth=16
visual: id=0x29 class=4 (TrueColor), depth=16
visual: id=0x2a class=4 (TrueColor), depth=16
visual: id=0x2b class=4 (TrueColor), depth=16
visual: id=0x2c class=5 (DirectColor), depth=16
visual: id=0x2d class=5 (DirectColor), depth=16
visual: id=0x2e class=5 (DirectColor), depth=16
visual: id=0x2f class=5 (DirectColor), depth=16
visual: id=0x30 class=5 (DirectColor), depth=16
visual: id=0x31 class=5 (DirectColor), depth=16
visual: id=0x32 class=5 (DirectColor), depth=16
visual: id=0x33 class=5 (DirectColor), depth=16
visual: id=0x34 class=5 (DirectColor), depth=16
x11: color depth: 16 bits, 2 bytes - pixmap: 2 bytes
x11: color masks: red=0x0000f800 green=0x000007e0 blue=0x0000001f
x11: server byte order: little endian
x11: client byte order: little endian
check if the X-Server is local ... **** ok
x11 socket: me=localhost, server=localhost
main: dga extention...
DGA version 2.0
main: xinerama extention...
main: xvideo extention [video]...
Xvideo: 4 adaptors available.
Xvideo: NV17 Video Overlay: input image, ports 107-107
Xvideo: NV17 Video Texture: input image, ports 108-108
Xvideo: NV05 Video Blitter: input image, ports 109-140
Xvideo: NVIDIA Video Interface Port: input video, ports 141-141
Xvideo: using port 141 for video
  XV_ENCODING get set, 0 -> 1
  XV_COLORKEY get set, 0 -> 16777215
  XV_AUTOPAINT_COLORKEY get set, 0 -> 1
  XV_SET_DEFAULTS set, 0 -> 0
  XV_BRIGHTNESS get set, -512 -> 511
  XV_CONTRAST get set, 0 -> 8191
  XV_SATURATION get set, 0 -> 8191
  XV_HUE get set, 0 -> 360
  XV_ITURBT_709 get set, 0 -> 1
main: xvideo extention [image]...
  image format list for port 107
    0x32595559 (YUY2) packed [ok: 16 bit YUV 4:2:2 (packed, YUYV)]
    0x32315659 (YV12) planar
    0x59565955 (UYVY) packed [ok: 16 bit YUV 4:2:2 (packed, UYVY)]
    0x30323449 (I420) planar [ok: 12 bit YUV 4:2:0 (planar)]
main: init main window...
main: install signal handlers...
main thread [pid=20785]
main: checking wm...
wm cap: _NET_WM_NAME
wm cap: _NET_CLOSE_WINDOW
wm cap: _NET_WM_STATE
wm cap: _NET_WM_STATE_SHADED
wm cap: _NET_WM_STATE_MAXIMIZED_VERT
wm cap: _NET_WM_STATE_MAXIMIZED_HORZ
wm cap: _NET_WM_DESKTOP
wm cap: _NET_NUMBER_OF_DESKTOPS
wm cap: _NET_CURRENT_DESKTOP
wm cap: _NET_WM_WINDOW_TYPE
wm cap: _NET_WM_WINDOW_TYPE_DESKTOP
wm cap: _NET_WM_WINDOW_TYPE_DOCK
wm cap: _NET_WM_WINDOW_TYPE_TOOLBAR
wm cap: _NET_WM_WINDOW_TYPE_MENU
wm cap: _NET_WM_WINDOW_TYPE_DIALOG
wm cap: _NET_WM_WINDOW_TYPE_NORMAL
wm cap: _NET_WM_STATE_MODAL
wm cap: _NET_CLIENT_LIST
wm cap: _NET_CLIENT_LIST_STACKING
wm cap: _NET_WM_STATE_SKIP_TASKBAR
wm cap: _NET_WM_STATE_SKIP_PAGER
wm cap: _NET_WM_ICON_NAME
wm cap: _NET_WM_ICON
wm cap: _NET_WM_ICON_GEOMETRY
wm cap: _NET_WM_MOVERESIZE
wm cap: _NET_ACTIVE_WINDOW
wm cap: _NET_WM_STRUT
wm cap: _NET_WM_STATE_HIDDEN
wm cap: _NET_WM_WINDOW_TYPE_UTILITY
wm cap: _NET_WM_WINDOW_TYPE_SPLASH
wm cap: _NET_WM_STATE_FULLSCREEN
wm cap: _NET_WM_PING
wm cap: _NET_WM_PID
wm cap: _NET_WORKAREA
wm cap: _NET_SHOWING_DESKTOP
wm cap: _NET_DESKTOP_LAYOUT
wm cap: _NET_DESKTOP_NAMES
wm cap: _NET_WM_ALLOWED_ACTIONS
wm cap: _NET_WM_ACTION_MOVE
wm cap: _NET_WM_ACTION_RESIZE
wm cap: _NET_WM_ACTION_SHADE
wm cap: _NET_WM_ACTION_STICK
wm cap: _NET_WM_ACTION_MAXIMIZE_HORZ
wm cap: _NET_WM_ACTION_MAXIMIZE_VERT
wm cap: _NET_WM_ACTION_CHANGE_DESKTOP
wm cap: _NET_WM_ACTION_CLOSE
wm cap: _NET_WM_STATE_ABOVE
wm cap: _NET_WM_STATE_BELOW
wm cap: _NET_STARTUP_ID
wm cap: _NET_WM_STRUT_PARTIAL
wm cap: _NET_WM_ACTION_FULLSCREEN
wm cap: _NET_WM_ACTION_MINIMIZE
wm cap: _NET_FRAME_EXTENTS
wm cap: _NET_REQUEST_FRAME_EXTENTS
wmhooks: netwm state above
wm cap: _NET_WM_NAME
wm cap: _NET_CLOSE_WINDOW
wm cap: _NET_WM_STATE
wm cap: _NET_WM_STATE_SHADED
wm cap: _NET_WM_STATE_MAXIMIZED_VERT
wm cap: _NET_WM_STATE_MAXIMIZED_HORZ
wm cap: _NET_WM_DESKTOP
wm cap: _NET_NUMBER_OF_DESKTOPS
wm cap: _NET_CURRENT_DESKTOP
wm cap: _NET_WM_WINDOW_TYPE
wm cap: _NET_WM_WINDOW_TYPE_DESKTOP
wm cap: _NET_WM_WINDOW_TYPE_DOCK
wm cap: _NET_WM_WINDOW_TYPE_TOOLBAR
wm cap: _NET_WM_WINDOW_TYPE_MENU
wm cap: _NET_WM_WINDOW_TYPE_DIALOG
wm cap: _NET_WM_WINDOW_TYPE_NORMAL
wm cap: _NET_WM_STATE_MODAL
wm cap: _NET_CLIENT_LIST
wm cap: _NET_CLIENT_LIST_STACKING
wm cap: _NET_WM_STATE_SKIP_TASKBAR
wm cap: _NET_WM_STATE_SKIP_PAGER
wm cap: _NET_WM_ICON_NAME
wm cap: _NET_WM_ICON
wm cap: _NET_WM_ICON_GEOMETRY
wm cap: _NET_WM_MOVERESIZE
wm cap: _NET_ACTIVE_WINDOW
wm cap: _NET_WM_STRUT
wm cap: _NET_WM_STATE_HIDDEN
wm cap: _NET_WM_WINDOW_TYPE_UTILITY
wm cap: _NET_WM_WINDOW_TYPE_SPLASH
wm cap: _NET_WM_STATE_FULLSCREEN
wm cap: _NET_WM_PING
wm cap: _NET_WM_PID
wm cap: _NET_WORKAREA
wm cap: _NET_SHOWING_DESKTOP
wm cap: _NET_DESKTOP_LAYOUT
wm cap: _NET_DESKTOP_NAMES
wm cap: _NET_WM_ALLOWED_ACTIONS
wm cap: _NET_WM_ACTION_MOVE
wm cap: _NET_WM_ACTION_RESIZE
wm cap: _NET_WM_ACTION_SHADE
wm cap: _NET_WM_ACTION_STICK
wm cap: _NET_WM_ACTION_MAXIMIZE_HORZ
wm cap: _NET_WM_ACTION_MAXIMIZE_VERT
wm cap: _NET_WM_ACTION_CHANGE_DESKTOP
wm cap: _NET_WM_ACTION_CLOSE
wm cap: _NET_WM_STATE_ABOVE
wm cap: _NET_WM_STATE_BELOW
wm cap: _NET_STARTUP_ID
wm cap: _NET_WM_STRUT_PARTIAL
wm cap: _NET_WM_ACTION_FULLSCREEN
wm cap: _NET_WM_ACTION_MINIMIZE
wm cap: _NET_FRAME_EXTENTS
wm cap: _NET_REQUEST_FRAME_EXTENTS
wmhooks: netwm state fullscreen
main: creating windows ...
main: init frequency tables ...
freq: reading /usr/share/xawtv/Index.map
main: read config file ...
main: checking for vidmode extention ...
main: checking for lirc ...
lirc: not enabled at compile time
main: checking for joystick ...
main: checking for midi ...
main: adding kbd hooks ...
main: mapping main window ...
xt: pointer show
main: initialize hardware ...
xv: get XV_BRIGHTNESS: 0
xv: get XV_CONTRAST: 4096
xv: get XV_SATURATION: 4096
xv: get XV_HUE: 0
[pid=20785] segfault catched, aborting
Aborted


Reproducible: Always
Steps to Reproduce:
1.root: emerge xawtv
2.user: xawtv
3.crash

Actual Results:  
Segmentation fault and process aborted and then returns to prompt.

Expected Results:  
Should have started up.


Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math
-fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode
esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad
mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl
png python quicktime readline samba sdl slang spell ssl svga tcltk tcpd tiff
truetype x86 xml xml2 xmms xprint xv zlib"
Comment 1 Peter Canada 2004-10-15 05:21:33 UTC
here's an strace of the problem, if this link don't work then I need to post the full output here I guess.

http://www.pastebin.com/110483
Comment 2 Peter Canada 2004-10-16 20:01:04 UTC
Created attachment 42001 [details]
XAWTV Strace

This is a strace of xawtv before the segmentation fault!
Comment 3 Peter Canada 2004-10-16 20:02:41 UTC
Just a note i have reverted my CFLAGS to standard ones!

CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-10-25 09:59:56 UTC
try
xawtv -noxv -dga
Comment 5 Ákos Maróy 2004-11-15 20:36:20 UTC
I have the same problem. Just upgraded to xawtv 3.86-r2, and whereas it worked before, now it crashes.

as for trying xawtv -novx -dga, it doesn't crash, but the TV window is empty as well. the output from xawtv is:

$ xawtv -noxv -dga
This is xawtv-3.86, running on Linux/i686 (2.6.9-gentoo-r4)
WARNING: Your X-Server has no DGA support.
WARNING: couldn't find framebuffer base address, try manual
         configuration ("v4l-conf -a <addr>")
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_OVERLAY(int=1): Invalid argument


the last line is printed again and again for any station change.
Comment 6 Ákos Maróy 2004-11-15 21:01:27 UTC
FYI, xawtv-3.86-r1 works on the same machine without problems.
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2005-05-12 00:34:17 UTC
Try some of the newer ebuilds. If this is still an issue. Reopen the bug.