#705017 tvtime: Crash while switch in fullscreen

Package:
tvtime
Source:
tvtime
Description:
analog television display application
Submitter:
Triniton Adam
Date:
2013-12-15 08:27:08 UTC
Severity:
important
#705017#5
Date:
2013-04-08 20:42:46 UTC
From:
To:
This happens while tvtime window is moved to the left-bottom corner of desktop, after that just try to switch into fullscreen and tvtime got crash or freeze. tvtime -v output:

$ tvtime -v

Running tvtime 1.0.2.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /home/username/.tvtime/tvtime.xml
cpuinfo: CPU Intel(R) Pentium(R) 4 CPU 2.40GHz, family 15, model 2, stepping 9.
cpuinfo: CPU measured at 2394.654MHz.
tvtime: Cannot set priority to -10: Permission denied.
xcommon: Display :0.0, vendor The X.Org Foundation, vendor release 10300000
xfullscreen: Using XINERAMA for dual-head information.
xfullscreen: Pixels are square.
xfullscreen: Number of displays is 1.
xfullscreen: Head 0 at 0,0 with size 1280x1024.
xcommon: Have XTest, will use it to ping the screensaver.
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
xcommon: Window manager is compiz and is EWMH compliant.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xvoutput: Using XVIDEO adaptor 326: NV17 Video Texture.
speedycode: Using MMXEXT optimized functions.
station: Reading stationlist from /home/username/.tvtime/stationlist.xml
videoinput: Using video4linux2 driver 'bttv', card 'BT878 video (Leadtek WinFast 20' (bus PCI:0000:02:0c.0).
videoinput: Version is 2321, capabilities 5010015.
videoinput: Maximum input width: 924 pixels.
tvtime: Sampling input at 768 pixels per scanline.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xcommon: Received a map, marking window as visible (71).
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 372x279 window inside 393x279 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
Floating point exception (core dumped)

Here is upstream patch: http://tvtime.cvs.sourceforge.net/viewvc/tvtime/tvtime/src/xfullscreen.c?r1=1.7&r2=1.8

#705017#10
Date:
2013-04-09 14:50:15 UTC
From:
To:
I confirm this bug

After I moved tvtime windows to the left-bottom corner of desktop and
switch to fullscreen, posibility to run again tvtime without crash is to
delete .tvtime config folder ( or tvtime.xml file from this folder) and
reconfigure tvtime

With "tvtime -v" it looks like this:

xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xcommon: Received a map, marking window as visible (69).
[...]
xcommon: Displaying in a 531x398 window inside 531x421 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 540x405 window inside 540x421 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 542x406 window inside 542x421 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 1x1 window inside 135543928x1 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 1x1 window inside 135543928x1 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 1280x960 window inside 1280x1024 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 542x406 window inside 542x421 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 0x0 window inside 0x1 space.
xvoutput: Received X error: BadValue (integer parameter out of range
for operation)
tvtime: Cleaning up.
Thank you for using tvtime.


Second try:

xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xcommon: Received a map, marking window as visible (69).
[...]
xcommon: Displaying in a 465x349 window inside 490x349 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 488x366 window inside 488x372 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 487x365 window inside 487x374 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 486x364 window inside 486x377 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 486x364 window inside 486x379 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 0x0 window inside 12420352x0 space.
xvoutput: Received X error: BadValue (integer parameter out of range
for operation)
tvtime: Cleaning up.
Thank you for using tvtime.


Third try:

xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xcommon: Received a map, marking window as visible (69).
[...]
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 429x322 window inside 433x322 space.
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 0x0 window inside 12420352x0 space.
xvoutput: Received X error: BadValue (integer parameter out of range
for operation)
tvtime: Cleaning up.
Thank you for using tvtime.

Please apply patch to corect this bug.

Best regards.

#705017#15
Date:
2013-12-15 08:24:02 UTC
From:
To:
tags 705017 unreproducible moreinfo
stop


Hi Triniton Adam,

I don't understand that you suggest this patch for 1.0.2-10, because the patch
was already added in 1.0.2-8 :

http://packages.qa.debian.org/t/tvtime/news/20120506T152627Z.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568318
http://patch-tracker.debian.org/patch/series/view/tvtime/1.0.2-10/fullscreen.diff

Can you reproduce the problem with 1.0.2-10, and if yes, how ?

Hi grigore calugar,

This bug was reported for 1.0.2-10.  Is that the version you were using when
reproducing the problem ?

Regards,

Bart Martens