lettier / gifcurry

😎 The open-source, Haskell-built video editor for GIF makers.
https://lettier.github.io/gifcurry
BSD 3-Clause "New" or "Revised" License
1.34k stars 54 forks source link

Application eventually crashed. Assuming due to memory leak? (it was idle) #67

Open Ryder17z opened 3 years ago

Ryder17z commented 3 years ago

OS: Manjaro Linux (XFCE) Version: 6.0.1.0

I had a 5MB M4V file loaded into gifcurry, then exported it as gif. default settings used.

As for the input file details: image (information was obtained from VLC)

For some reason it eventually hang. I had forgot to close it. Just as the system asked if i wanted to terminate it, the process crashed.

Andrea-J-E commented 3 years ago

Similar problem. The OOM daemon killed it in my case. Here's the syslog:

Mar 24 18:16:21 home kernel: [22356.940198] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-6.scope,task=gifcurry_gui,pid=16228,uid=1000
Mar 24 18:16:21 home kernel: [22356.940292] Out of memory: Killed process 16228 (gifcurry_gui) total-vm:1080862900kB, anon-rss:3063584kB, file-rss:0kB, shmem-rss:476kB, UID:1000 pgtables:11948kB oom_score_adj:0
Mar 24 18:16:21 home kernel: [22357.446417] oom_reaper: reaped process 16228 (gifcurry_gui), now anon-rss:0kB, file-rss:0kB, shmem-rss:476kB

The terabyte(!) of total-vm used is not a typo, but top will show a terabyte of vm used when gifcurry starts up (without opening a file).