Joseph: Your patch works for me! I applied it to the Ubuntu package and
rebuilt it (i.e., retaining the existing configure options,
compiler/linker flags, all the other patches, etc.), and it appears that
the crashes I was seeing have gone away.
Before:
$ cat /tmp/junk.mbox | ./debian/spamprobe/u
FWIW, I just realized that the deb package runs configure with some
parameters, --enable-default-8bit and --enable-cdb
If you were like me and didn't enable "--enable-cdb" in the past you may
run into the following error 'BDB0075 DB_PAGE_NOTFOUND: Requested page
not found (-30986)'. I recompiled
I believe I have corrected the issue. I would propose that this minor
patch be tested by others impacted. It seems to clean up the issue by
simply adding some missing return codes (and I happened to fix a few
types that compiler was complaining about as well).
The changes seem to make the compil
How about LibJPEG? JPEG images lead to crashes, too.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1882418
Title:
spamprobe crashes on email containing images
To manage notifications about this bu
LibPNG uses setjmp/longjmp for error handling. The optimizer could be
making changes that affect those macros. Building without them might be
the best workaround.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.
I have not had a chance to dig into it too deeply, but it seems that
disabling optimization fixes the issue.
I tried this and it worked for the current code without Scott's
workaround.
$ ./configure
$ make
$ cat bad-email | src/spamprobe/spamprobe score
caught signal 11: quitting
Aborted (core du
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: spamprobe (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1882418
Title:
The attachment "Workaround for images crashing spamprobe" seems to be a
patch. If it isn't, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are a member of the ~ubuntu-
reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad u
Here's a patch that at least catches and discards the segfaults. Image
processing shouldn't fault to begin with, but this patch at least makes
spamprobe usable again.
** Patch added: "Workaround for images crashing spamprobe"
https://bugs.launchpad.net/ubuntu/+source/spamprobe/+bug/1882418/+a