Project

General

Profile

Bug #3614

"main: time value of of range (185544044494200) of time_t"

Added by N A over 8 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Crashes
Target version:
-
Start date:
2016-03-08
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-1595~gd532539-dirty
Affected Versions:

Description

commit 9cf1bc7a6ac1307204cb1e6a6946f9ceef23e0b2

I found this to be the an issue when starting the service using the previous version config folder (from 4.1-1517~g48ef2de to 4.1-1595~gd532539-dirty).

The issue stems from items in the ~/config/dvr/log folder.
I removed the log folder, let a program record and some time after the program finished, tvheadend crashed ("tvheadend.service: Main process exited, code=killed, status=6/ABRT").

*nitpick "value of out of range"

On a different note, which may need a different issue ticket, I had to fudge with the make process:

 $ cp -v Makefile.ffmpeg{,.bak}
 $ sed -e 's/TVHEADEND_LIBAV_BUILD/AR=ar CC=gcc CXX=g++ CFLAGS=\"-O3 -pipe -mfpu=neon-vfpv4 -mfloat-abi=hard -mtune=cortex-a15.cortex-a7\" TVHEADEND_LIBAV_BUILD/' Makefile.ffmpeg.bak | tee Makefile.ffmpeg
  //don't use "AS" or else "as: unrecognized option '-STACK_ALIGNMENT=4'" in ffmpeg
  //CC has to be set somewhere because libvpx ends up looking for arm-...-gcc, even on a native device.
 $ ./configure --cc=gcc --cflags="-O3 -pipe -mfpu=neon-vfpv4 -mfloat-abi=hard -mtune=cortex-a15.cortex-a7" 2>&1 | tee configure.log
 $ make -f Makefile.ffmpeg
 $ cd ./build.linux/ffmpeg/libvpx-1.5.0
 $ cp -v ./build/make/configure.sh{,.bak}
 $ sed -e 's/armv7\*-hardfloat\*/armv7\*-gnueabihf\*/' ./build/make/configure.sh.bak | tee ./build/make/configure.sh
   //have to "make -f Makefile.ffmpeg" first.  "armv7*-hardfloat*" -> "armv7*-gnueabihf*" 
 $ cd ../../..
 $ AS=as make 2>&1 | tee make.log
 $ sudo make install 2>&1 | tee install.log

History

#1

Updated by g siviero over 8 years ago

Issue still present on 4.1-1601~gc5487b2

Mar 8 11:54:01 raspberrypi tvheadend4349: xmltv: external socket enabled
Mar 8 11:54:01 raspberrypi tvheadend4349: epgdb: gzip format detected, inflating (ratio 11.3%)
Mar 8 11:54:03 raspberrypi tvheadend4349: epgdb: loaded v2
Mar 8 11:54:03 raspberrypi tvheadend4349: epgdb: config 1
Mar 8 11:54:03 raspberrypi tvheadend4349: epgdb: channels 0
Mar 8 11:54:03 raspberrypi tvheadend4349: epgdb: brands 0
Mar 8 11:54:03 raspberrypi tvheadend4349: epgdb: seasons 0
Mar 8 11:54:03 raspberrypi tvheadend4349: epgdb: episodes 9852
Mar 8 11:54:03 raspberrypi tvheadend4349: epgdb: broadcasts 9847
Mar 8 11:54:03 raspberrypi tvheadend4349: main: time value of of range (185544044229300) of time_t

#2

Updated by Jaroslav Kysela over 8 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|6e51fac75e715436edcad7cd15d846f5231ce59a.

Also available in: Atom PDF