Bug#859327: fastforward: Fastforward segfaults

2017-06-20 Thread Harry Sintonen

  Hello,

Here's a fix for the crash:

https://sintonen.fi/temp/0002-64bit-ptr-fix.diff

Due to missing "alloc" prototype introduction the alloc function was 
assumed to return "int", resulting in upper 32bit of the pointer returned 
to be cut off. The patch adds #include "alloc.h" to locations needed.



  Regards,
--
l=2001;main(i){float o,O,_,I,D;for(;O=I=l/571.-1.75,l;)for(putchar(--l%80?
i:10),o=D=l%80*.05-2,i=31;_=O*O,O=2*o*O+I,o=o*o-_+D,o+_+_<4+D++<87;);puts
("  Harry 'Piru' Sintonen  http://www.iki.fi/sintonen;);}



Bug#859327: Fastforward: Fastforward segfaults

2017-04-02 Thread manuel
Sorry for the scarce information, this is my first time submitting a bug 
report.


Log shown in dmesg is:

fastforward[25600]: segfault at 4a364220 ip 55a34a15e1e0 sp 
7fffd743d680 error 6 in fastforward[55a34a15c000+7000]


Running strace:


execve("/usr/bin/fastforward", ["/usr/bin/fastforward"], [/* 22 vars 
*/]) = 0

brk(NULL)   = 0x558a3d8dd000
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or 
directory)
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x7f6ee78c5000
access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or 
directory)

open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=271094, ...}) = 0
mmap(NULL, 271094, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6ee7882000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or 
directory)

open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, 
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\3\2\0\0\0\0\0"..., 
832) = 832

fstat(3, {st_mode=S_IFREG|0755, st_size=1685264, ...}) = 0
mmap(NULL, 3791264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x7f6ee7307000

mprotect(0x7f6ee749c000, 2093056, PROT_NONE) = 0
mmap(0x7f6ee769b000, 24576, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x194000) = 0x7f6ee769b000
mmap(0x7f6ee76a1000, 14752, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6ee76a1000

close(3)= 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7f6ee788

arch_prctl(ARCH_SET_FS, 0x7f6ee7880700) = 0
mprotect(0x7f6ee769b000, 16384, PROT_READ) = 0
mprotect(0x558a3c289000, 4096, PROT_READ) = 0
mprotect(0x7f6ee78c8000, 4096, PROT_READ) = 0
munmap(0x7f6ee7882000, 271094)  = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[], 
sa_flags=SA_RESTORER, sa_restorer=0x7f6ee733a040}, NULL, 8) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x3c28b220} 
---

+++ killed by SIGSEGV (core dumped) +++
ViolaciĆ³n de segmento (`core' generado)


And, by the way, the 32bits version (i386) is working fine.



Bug#859327: fastforward: Fastforward segfaults

2017-04-02 Thread Manuel
Package: fastforward
Version: 1:0.51-3+b2
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.10.1 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fastforward depends on:
ii  libc6  2.24-9

Versions of packages fastforward recommends:
ii  qmail  1.06-6+b1

fastforward suggests no packages.

-- no debconf information