GNU nano - Bugs: bug #59854, 'lsan' reports a leak upon exit...
You are not allowed to post comments on this tracker with your current authentication level.
bug #59854: 'lsan' reports a leak upon exit after doing spell checking
Submitter: | Mike Frysinger <vapier> | ||
Submitted: | Mon 11 Jan 2021 12:23:13 PM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Fri 15 Jan 2021 10:54:54 AM UTC, comment #11: |
Benno Schulenberg <bens> |
Tue 12 Jan 2021 10:35:33 AM UTC, comment #10: Don't worry about the sleuthing: it is what I like doing. If not, I would have given up fixing bugs in nano a long time ago. :) Also, it helped discover a related bug (bug #59855), which I probably would not have found if you had given a clearer reproduction recipe. So, it's all good.
|
Benno Schulenberg <bens> |
Mon 11 Jan 2021 07:05:49 PM UTC, comment #9: I'm just thinking of the next bug I report. would be nice if it had some sort of trail to go with it so you don't have to do as much sleuthing.
|
Mike Frysinger <vapier> |
Mon 11 Jan 2021 06:41:45 PM UTC, comment #8: I think commit bc368133 fixes the leak. |
Benno Schulenberg <bens> |
Mon 11 Jan 2021 03:43:06 PM UTC, comment #7: Aah... I've adjusted the subject line accordingly.
|
Benno Schulenberg <bens> |
Mon 11 Jan 2021 03:20:30 PM UTC, comment #6: perhaps "crash" is imprecise. lsan processes leaks when exiting, so I had finished editing, saved, then exited, and that's when lsan fired. it forces non zero exit.
|
Mike Frysinger <vapier> |
Mon 11 Jan 2021 03:11:57 PM UTC, comment #5: The subject line says that nano crashed while editing. Is that correct? Or was the actual crash at the moment of invoking the spell checker for an nth time?
|
Benno Schulenberg <bens> |
Mon 11 Jan 2021 01:35:32 PM UTC, comment #4: Hmm. I can produce a crash when using --speller="".
|
Benno Schulenberg <bens> |
Mon 11 Jan 2021 01:32:03 PM UTC, comment #3: i didn't have an easy repro. it came up after composing an e-mail. i probably invoked the speller multiple times, including on the whole file, and on just portions (using the mark function).
|
Mike Frysinger <vapier> |
Mon 11 Jan 2021 01:07:01 PM UTC, comment #2: I cannot reproduce, not even after configuring nano with your ./configure command and rebuilding.
|
Benno Schulenberg <bens> |
Mon 11 Jan 2021 12:30:03 PM UTC, comment #1: ./configure --prefix=/usr -C 'CFLAGS=-fsanitize=address -O0 -ggdb -pipe -g -march=native' --without-included-regex --datadir=/usr/share --sysconfdir=/etc --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --bindir=/bin --enable-color --enable-multibuffer --enable-nanorc --enable-libmagic --enable-speller --disable-justify --disable-debug --enable-nls --enable-utf8 --disable-tiny |
Mike Frysinger <vapier> |
Mon 11 Jan 2021 12:23:13 PM UTC, original submission:
$ nano --version
|
Mike Frysinger <vapier> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-01-15 | bens | Open/Closed | Open | Closed | |
2021-01-11 | bens | Severity | 3 - Normal | 2 - Minor | |
Status | None | Fixed | |||
Summary | lsan reports a leak upon exit after doing spell checking | 'lsan' reports a leak upon exit after doing spell checking | |||
2021-01-11 | bens | Summary | lsan crash when editing file | lsan reports a leak upon exit after doing spell checking | |
2021-01-11 | bens | Assigned to | None | bens |
Powered by Savane 3.13-4448.
Corresponding source code
The leak fix is released in nano-5.5.