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

Bug#815438: filter: Segfaults during logging on at least amd64 (probably on all 64-bit architectures)



Package: filter
Version: 2.6.3-1
Severity: important
Tags: pending

If you don't use -q (for "quiet") with filter on amd64, it segfaults
before logging. From my tests, only logging is affected -- the action I
tested ("save") is still executed. Hence not filing as RC, just as
"important".

This is probably caused by incompatible implicit function declarations
as described on
https://qa.debian.org/bls/bytag/E-pointer-trouble-at-implicit.html

According to this, the issue only appears on 64-bit architectures.

I've got a patch in git which fixes the compiler warnings as well as the
segfault:
https://anonscm.debian.org/git/collab-maint/filter.git/tree/debian/patches/fix-implicit-function-declarations.patch

(Filing this bug since at least the version currently in stable,
oldstable and oldoldstable is also affected. So if anyone wants to make
an update for stable or oldstable, the above mentioned patch probably
helps.)

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), (105, 'experimental-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-rc4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages filter depends on:
ii  libc6  2.21-9

filter recommends no packages.

filter suggests no packages.

-- no debconf information


Reply to: