Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494664 - mail-filter/opendkim - segmentation fault in "cat spam | opendkim-spam"
Summary: mail-filter/opendkim - segmentation fault in "cat spam | opendkim-spam"
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://lists.opendkim.org/archive/ope...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2013-12-18 18:11 UTC by Benny Pedersen
Modified: 2019-03-27 16:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benny Pedersen 2013-12-18 18:11:31 UTC
would like to debug why this happend, is use flag debug what i need with a new compile then ?

Reproducible: Always
Comment 1 Benny Pedersen 2013-12-18 19:21:52 UTC
code is that /etc/opendkim-spam.conf is missing it will say the file is missing with a minimal line of StatisticsFile /var/tmp/spam.dat

note that opendkim-spam default wants mysql backend

but the above is the minimal config

use opendkim-importstats to import this spam.dat file

it also miss uspam table defined in mysql

unsure if opendkim and opendkim-spam can and should use same dat file

with the above in config it does not seqfault

config path is just incorrect but it works

intended config file should be /etc/opendkim/opendkim.spam.conf
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-19 13:01:58 UTC
1) Please post your `emerge --info mail-filter/opendkim' output in a comment.
2) Please attach your gdb backtrace output to this bug report.
Comment 3 Benny Pedersen 2013-12-19 17:29:57 UTC
not possible for me

steps to show problem:

rm /etc/opendkim-spam.conf
touch /etc/opendkim-spam.conf
cat spam | opendkim-spam

seqfaults

echo "StaticsticsFile /var/tmp/spam.dat" >/etc/opendkim-spam.conf
cat spam | opendkim-spam

no seqfaults

uspam collumn should just be spam (in message table)

this will be fixed in next release says author
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-12-19 22:09:41 UTC
It is possible, you can do that using the following resource:

https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
Comment 5 Benny Pedersen 2013-12-20 19:25:20 UTC
(In reply to Tom Wijsman (TomWij) from comment #4)
> It is possible, you can do that using the following resource:
> 
> https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces

thanks for this info, i will try to debug this as best i can, is glibc needing gd useflag btw ?

or will it work without ?

reopen this ticket until it resolved
Comment 6 Benny Pedersen 2014-01-07 16:33:14 UTC
it segmentation faults is only when opendkim-spam.conf is 100% empty

yep its a upstream bug, close this bug as soon there is no more to do in gentoo
Comment 7 Michael Orlitzky gentoo-dev 2019-03-27 16:12:18 UTC
I'm resolving this as "UPSTREAM", since it was supposed to be fixed in the next upstream release as of 2013. The latest release in the tree is from 2015, so with any luck it is fixed. Please reopen if the problem persists.