Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak in Ubuntu 20.04 LTS #162

Closed
htr3n opened this issue Jun 10, 2020 · 3 comments
Closed

Memory leak in Ubuntu 20.04 LTS #162

htr3n opened this issue Jun 10, 2020 · 3 comments
Labels

Comments

@htr3n
Copy link

htr3n commented Jun 10, 2020

Similar to the error that I reported on i3lock-fancy-rapid here: yvbbrjdr/i3lock-fancy-rapid#12. I cross-link hoping that there might be the same root cause.

$ i3lock-fancy -gpf Ubuntu -- scrot -z 

=================================================================
==44737==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 4864 byte(s) in 19 object(s) allocated from:
    #0 0x7fe8ca835bc8 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
    #1 0x7fe8c9aaa2f4  (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4)

Indirect leak of 1184 byte(s) in 37 object(s) allocated from:
    #0 0x7fe8ca835dc6 in calloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6)
    #1 0x7fe8c9aaa93c  (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x2193c)

Indirect leak of 341 byte(s) in 34 object(s) allocated from:
    #0 0x7fe8ca7be3dd in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x963dd)
    #1 0x7fe8c9aa9b64 in FcValueSave (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x20b64)

SUMMARY: AddressSanitizer: 6389 byte(s) leaked in 90 allocation(s).

Running i3lock-fancy, it took a while but then successfully locked the screen. After unlocking with password, the error above was shown.

My OS is Ubuntu 20.04 LTS.

@htr3n
Copy link
Author

htr3n commented Jun 10, 2020

Similar to this one too: Raymo111/i3lock-color#88

@htr3n htr3n closed this as completed Jun 10, 2020
@htr3n htr3n reopened this Jun 10, 2020
@htr3n
Copy link
Author

htr3n commented Jun 10, 2020

Related to this bug: i3/i3lock#167

@AladW
Copy link
Collaborator

AladW commented Jun 25, 2020

Upstream issue.

@AladW AladW closed this as completed Jun 25, 2020
@AladW AladW added the upstream label Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants