Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31951 - [ccze] glibc: double free or corruption

Attached to Project: Community Packages
Opened by Ypnose (Ypnose) - Sunday, 14 October 2012, 12:52 GMT
Last edited by Balló György (City-busz) - Saturday, 07 September 2013, 23:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Sometimes when I use ccze, journalctl returns me an error. Here the following error:
*** glibc detected *** ccze: double free or corruption (fastop)

This bug seems to be similar with: https://bugs.launchpad.net/ubuntu/+source/ccze/+bug/1000058

Additional info:
* package version(s) : ccze 0.2.1-6 from the community repo
* config and/or log files etc.
I run this command from my ~/.xinitrc which uses ccze:
urxvt -geometry 80x23 -title dwmlog -e sh -c "tail -f ~/.log/dwmlog | ccze -A" &

Steps to reproduce:
It's hard to reproduce. Sometimes it's when I restart Xorg and sometimes it's when I reboot my computer.
This task depends upon

Closed by  Balló György (City-busz)
Saturday, 07 September 2013, 23:55 GMT
Reason for closing:  Upstream
Comment by Peter Wu (Lekensteyn) - Saturday, 17 November 2012, 16:32 GMT
Can you run build ccze with debugging symbols (-g) and run gdb on it? When you trigger a segfault, please get a backtrace (`bt` or `bt full`) and watch the memory usage in top/ps/whatever. valgrind is a nice tool that I use to find the flaws below.

- [minor issue] ccze_color_load() in ccze-color.c:459 must return when stat() fails

There are some ccze_*_process paths that leak memory:
- mod_procmail - space1, space2
- mod_ulogd - word

There are possible other paths that are like this. In almost no place is the return value of *str*dup/*alloc validated. I do not use this tool, but if you find it useful you should be able to correct it if you are a programmer.
Comment by Greg (dolby) - Monday, 19 November 2012, 07:30 GMT
Please report upstream.
Comment by Peter Wu (Lekensteyn) - Monday, 19 November 2012, 12:43 GMT
Who is upstream? Debian?
The project page is at http://freecode.com/projects/ccze

Note that the project hasn't been updated since 2002.
Comment by Greg (dolby) - Monday, 19 November 2012, 12:48 GMT
The developer seems quite active on freecode. You could try commenting there.
Comment by Balló György (City-busz) - Saturday, 07 September 2013, 23:54 GMT
We can't fix errors like this. Please contact with the upstream developer.

Loading...