[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#732207: tvtime: Fails to install + segfault



Package: tvtime
Followup-For: Bug #732207

Dear Maintainer,
I rebuild with dh_strip off. Which gives:

gdb --args tvtime-configure --configfile=/etc/tvtime/tvtime.xml --norm=SECAM --frequencies=france --device=/dev/video0 --vbidevice=/dev/vbi0 --priority=-10

Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:42
42  ../sysdeps/x86_64/multiarch/../strlen.S: Aucun fichier ou dossier de ce type.
(gdb) bt
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:42
#1  0x0000000000401a1e in main (argc=7, argv=0x7fffffffbce8) at tvtime-configure.c:39
(gdb) up
#1  0x0000000000401a1e in main (argc=7, argv=0x7fffffffbce8) at tvtime-configure.c:39
39      if( strlen( getenv( "HOME" ) ) > 230 ) { fprintf( stderr, "HOME is too long\n" ); exit( 1 ); }


It turns out that getenv always fails here (amd64), quick test for to reproduce:
$ gdb bash
(gdb) b main
(gdb) r
(gdb) p/s (char *)getenv("HOME")
$1 = 0xffffffffffffea8a <Address 0xffffffffffffea8a out of bounds>

Definitely looks like libc6 is broken on amd64 for its 2.17-97 deb at least (I tested with same libc6 version,
on debian sid too on arm 32 (cortex A9) and i386 also 32 all is fine.

critical indeed , you might want to reassign to libc6 (or I will tomorrow)


BR,
Alban

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tvtime depends on:
ii  debconf [debconf-2.0]              1.5.52
ii  fonts-freefont-ttf [ttf-freefont]  20120503-1
ii  libc6                              2.17-97
ii  libfreetype6                       2.5.1-1
ii  libgcc1                            1:4.8.2-10
ii  libice6                            2:1.0.8-2
ii  libpng12-0                         1.2.49-5
ii  libsm6                             2:1.2.1-2
ii  libstdc++6                         4.8.2-10
ii  libx11-6                           2:1.6.2-1
ii  libxext6                           2:1.3.2-1
ii  libxinerama1                       2:1.1.3-1
ii  libxml2                            2.9.1+dfsg1-3
ii  libxtst6                           2:1.2.2-1
ii  libxv1                             2:1.0.9-1
ii  libxxf86vm1                        1:1.1.3-1
ii  perl-modules                       5.18.1-5
ii  ttf-freefont                       20120503-1
ii  ucf                                3.0027+nmu1
ii  zlib1g                             1:1.2.8.dfsg-1

Versions of packages tvtime recommends:
ii  xmltv-util  0.5.63-2

Versions of packages tvtime suggests:
ii  lirc-x      0.9.0~pre1-1
ii  oss-compat  4

-- debconf information:
* tvtime/frequencies-pal: France
* tvtime/norm: SECAM
  tvtime/vbidevice: /dev/vbi0
  tvtime/frequencies-ntsc:
  tvtime/frequencies-jp:
  tvtime/v4ldevice: /dev/video0
  tvtime/processpriority: -10
  tvtime/setuid: false


Reply to: