Skip to content

aMule suddenly freezes and finally crashes with 100% CPU and memory #186

Description

@danim7

I downloaded aMule from git master (9eda1c2) and compiled it in Ubuntu 20.04 with the default tools. I noticed that it runs normally for one hour, and then, it suddenly freezes and goes to 100% CPU and the memory usage begins to grow until it depletes the system memory after a few minutes.

At the same time there are many messages like this in the log, but I'm not sure if it is related, because the same messages show up also before the freezing during normal operation:

(amule:5510): GLib-CRITICAL **: 20:21:15.624: Source ID 1851410 was not found when attempting to remove it

(amule:5510): GLib-CRITICAL **: 20:21:15.646: Source ID 1851475 was not found when attempting to remove it

(amule:5510): GLib-CRITICAL **: 20:21:15.654: Source ID 1851476 was not found when attempting to remove it

(amule:5510): GLib-CRITICAL **: 20:21:15.734: Source ID 1851768 was not found when attempting to remove it

(amule:5510): GLib-CRITICAL **: 20:21:15.755: Source ID 1851782 was not found when attempting to remove it

(amule:5510): GLib-CRITICAL **: 20:21:17.644: Source ID 1852347 was not found when attempting to remove it

(amule:5510): GLib-CRITICAL **: 20:21:18.658: Source ID 1852923 was not found when attempting to remove it

(amule:5510): GLib-CRITICAL **: 20:21:19.634: Source ID 1853269 was not found when attempting to remove it

(amule:5510): GLib-CRITICAL **: 20:21:19.682: Source ID 1853398 was not found when attempting to remove it

(amule:5510): GLib-CRITICAL **: 20:21:19.749: Source ID 1853683 was not found when attempting to remove it

(amule:5510): GLib-CRITICAL **: 20:21:19.758: Source ID 1853684 was not found when attempting to remove it

I tried running amule in valgrind to understand what might be going on. This is the result of the xtree-memory, in case it can be helpful to triag the issue:

amule-full-memory-valgrind

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions