GNOME Bugzilla – Bug 370195
uulib/fptools.c assert issue - crash
Last modified: 2007-04-27 04:15:40 UTC
Hello, Here is a link to the original bug report with backtrace: https://bugs.gentoo.org/151476 Attached is a small program designed to replicate the problem in uulib. It is commented and should be easy to understand, but do not hesitate to contact me. Basically, the assert fails due to ascii nulls. Thanks, John
Created attachment 75961 [details] pan_crash_poc.c
Created attachment 76121 [details] [review] 0.118 patch This should fix it.
*** Bug 372786 has been marked as a duplicate of this bug. ***
*** Bug 378635 has been marked as a duplicate of this bug. ***
Created attachment 81889 [details] fptools.c:455: _FP_fgets: Assertion `*buf' failed; pan 0.122 Happens repeatably every time as pan starts processing task queue upon startup.
But that assertion is on line 458 in 0.122... The last release that had that assertion on line 455 was 0.119. I think you must be using the wrong version by accident.
You're right. Sorry. The bug isn't occurring anymore in 0.122.
Created attachment 81916 [details] A different fptools crash, now for real in Pan 0.122 However in 0.122 I'm getting this different bug in fptools.
Created attachment 81957 [details] [review] patch to fix.
Created attachment 82264 [details] [review] 0.123 patch The previous attachment introduced a bug into 0.123 that could skip some lines, breaking decoding. This was reported by walt in the pan-users mailing list. Attached is a patch to 0.123 that fixes this problem.
*** Bug 406848 has been marked as a duplicate of this bug. ***
*** Bug 433492 has been marked as a duplicate of this bug. ***