Wow, now I started aMule and stopped it quite soon normally (with up-right "X"). This is the output from gdb. It says among other things: "There were memory leaks."
Yes!!!
-------------------------------
(gdb) run
Starting program: /usr/local/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 0xb6c196d0 (LWP 7745)]
Checkpoint set on app init for memory debug
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
[New Thread 0xb67b0b90 (LWP 7755)]
Loading temp files from /Extra/aMule/Temp.
Loading PartFile 54 of 54
All PartFiles Loaded.
ListenSocket: Ok.
External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Adding file /Extra/aMule/Temp/033.part.met to shares
Adding file /Extra/aMule/Temp/036.part.met to shares
Adding file /Extra/aMule/Temp/055.part.met to shares
Adding file /Extra/aMule/Temp/093.part.met to shares
Adding file /Extra/aMule/Temp/132.part.met to shares
Adding file /Extra/aMule/Temp/162.part.met to shares
Adding file /Extra/aMule/Temp/001.part.met to shares
Adding file /Extra/aMule/Temp/002.part.met to shares
Adding file /Extra/aMule/Temp/003.part.met to shares
Adding file /Extra/aMule/Temp/005.part.met to shares
Adding file /Extra/aMule/Temp/007.part.met to shares
Adding file /Extra/aMule/Temp/008.part.met to shares
Adding file /Extra/aMule/Temp/012.part.met to shares
Adding file /Extra/aMule/Temp/021.part.met to shares
Adding file /Extra/aMule/Temp/023.part.met to shares
Adding file /Extra/aMule/Temp/024.part.met to shares
Adding file /Extra/aMule/Temp/025.part.met to shares
Adding file /Extra/aMule/Temp/032.part.met to shares
[New Thread 0xb5f64b90 (LWP 7756)]
[New Thread 0xb5763b90 (LWP 7757)]
[Thread 0xb5f64b90 (LWP 7756) exited]
[Thread 0xb67b0b90 (LWP 7755) exited]
Shutting down aMule...
aMule dialog destroyed
[Thread 0xb5763b90 (LWP 7757) exited]
Now, exiting main app...
aMule OnExit: Terminating core.
Saving PartFile 54 of 54
All PartFiles Saved.
aMule shutdown completed.
Memory debug results for aMule exit:
***************Stats**************
----- Memory statistics of aMule at Mon Jan 28 19:14:07 2008 -----
102 objects of class wxEvent, total size 3672
2 objects of class CServerSocket, total size 2024
2 objects of class wxDatagramSocket, total size 648
11 objects of class wxBitmap, total size 88
259 objects of class wxMask, total size 3108
1 objects of class wxFont, total size 8
16 objects of class wxPen, total size 128
5 objects of class wxBrush, total size 40
3 objects of class wxColour, total size 24
1 objects of class wxXPMHandler, total size 24
1 objects of class wxTGAHandler, total size 24
1 objects of class wxANIHandler, total size 24
1 objects of class wxCURHandler, total size 24
1 objects of class wxICOHandler, total size 24
1 objects of class wxPCXHandler, total size 24
1 objects of class wxPNMHandler, total size 24
1 objects of class wxGIFHandler, total size 24
1 objects of class wxTIFFHandler, total size 24
1 objects of class wxJPEGHandler, total size 24
1 objects of class wxPNGHandler, total size 24
1 objects of class wxCursor, total size 8
4 objects of class wxList, total size 112
1940 objects of class nonobject, total size 60375
Number of object items: 417
Number of non-object items: 1940
Total allocated size: 70499
There were memory leaks.
----- Memory dump -----
non-object data at 0x8F670F8, size 40
non-object data at 0x8F6B828, size 36
wxMask at 0x8F6B880, size 12
non-object data at 0x8F6B8C0, size 32
non-object data at 0x8F6AEB8, size 36
wxMask at 0x8F6AF10, size 12
non-object data at 0x8F6AF50, size 32
non-object data at 0x8F676B8, size 36
wxMask at 0x8F6B970, size 12
non-object data at 0x8F6B9B0, size 32
non-object data at 0x8F6BA60, size 36
wxMask at 0x8F6BAB8, size 12
non-object data at 0x8F6AC98, size 32
non-object data at 0x8F6AD48, size 36
wxMask at 0x8F6ADA0, size 12
non-object data at 0x8F6ADE0, size 32
non-object data at 0x8F67458, size 36
wxMask at 0x8F674B0, size 12
non-object data at 0x8F674F0, size 32
non-object data at 0x8F67630, size 36
wxMask at 0x8F6A5D8, size 12
non-object data at 0x8F6A618, size 32
non-object data at 0x8F6A6C8, size 36
wxMask at 0x8F6A720, size 12
non-object data at 0x8F6A760, size 32
non-object data at 0x8F6A810, size 36
wxMask at 0x8F6A868, size 12
non-object data at 0x8F6A8A8, size 32
non-object data at 0x8F6A958, size 36
wxMask at 0x8F6A9B0, size 12
non-object data at 0x8F6A9F0, size 32
non-object data at 0x8F6AAA0, size 36
wxMask at 0x8F6AAF8, size 12
non-object data at 0x8F6AB38, size 32
non-object data at 0x8F6ABE8, size 36
wxMask at 0x8F6AC40, size 12
non-object data at 0x8F6BE28, size 32
non-object data at 0x8F6BED8, size 36
wxMask at 0x8F6BF30, size 12
non-object data at 0x8F6BF70, size 32
non-object data at 0x8F6C020, size 36
... many many similar lines. Exceeded 20000 characters limit ...
wxMask at 0x8F8A2A8, size 12
non-object data at 0x8F8A2E8, size 32
non-object data at 0x8F8A398, size 36
wxMask at 0x8F8A3F0, size 12
non-object data at 0x8F8A430, size 32
non-object data at 0x8F8A4E0, size 36
wxMask at 0x8F8A538, size 12
non-object data at 0x8F8A578, size 32
non-object data at 0x8F8A628, size 36
wxMask at 0x8F8A680, size 12
non-object data at 0x8F8A6C0, size 32
non-object data at 0x8F8A770, size 36
wxMask at 0x8F8A7C8, size 12
non-object data at 0x8F8A808, size 32
non-object data at 0x8F8A8B8, size 36
wxMask at 0x8F8A910, size 12
non-object data at 0x8F8A950, size 32
CServerSocket at 0x8A4E708, size 1012
non-object data at 0x8986D80, size 28
non-object data at 0x92C2FB0, size 28
non-object data at 0x9202590, size 152
non-object data at 0x8A48BE8, size 76
CServerSocket at 0x92BF228, size 1012
non-object data at 0x8A4E3A0, size 28
non-object data at 0x92B65E0, size 28
non-object data at 0x8FBF000, size 152
non-object data at 0x8FE0718, size 76
non-object data at 0x903EEE8, size 28
non-object data at 0x9069EF8, size 82
non-object data at 0x8EDE9D0, size 12
non-object data at 0x91E3958, size 17
non-object data at 0x906C8E8, size 14
non-object data at 0x92D31C0, size 390
non-object data at 0x8A4BFF8, size 390
non-object data at 0x8A4D080, size 630
non-object data at 0x8A4BEE0, size 90
non-object data at 0x9061720, size 17
non-object data at 0x92CE968, size 390
non-object data at 0x92D38A0, size 630
non-object data at 0x8A4BD78, size 90
non-object data at 0x92C9298, size 390
non-object data at 0x92D3B48, size 630
non-object data at 0x8A4D3B0, size 90
non-object data at 0x92CF0A8, size 19
non-object data at 0x92D3FA0, size 390
non-object data at 0x8A3A858, size 14
non-object data at 0x92D4710, size 390
non-object data at 0x92D4B68, size 630
non-object data at 0x92B54F8, size 11
non-object data at 0x91E8E50, size 14
non-object data at 0x90C4008, size 90
non-object data at 0x92C9450, size 390
non-object data at 0x92D4E10, size 630
non-object data at 0x92CF4D0, size 90
non-object data at 0x92D48C8, size 390
non-object data at 0x9072CC8, size 16
non-object data at 0x9071E18, size 14
non-object data at 0x92D50B8, size 630
non-object data at 0x92CF560, size 90
non-object data at 0x9030070, size 4
non-object data at 0x92B0378, size 14
non-object data at 0x8F8F618, size 9
non-object data at 0x8A4E628, size 14
non-object data at 0x8FFE0E0, size 6
non-object data at 0x92E6FE8, size 14
----- Memory statistics -----
2 objects of class CServerSocket, total size 2024
248 objects of class wxMask, total size 2976
543 objects of class nonobject, total size 25231
Number of object items: 250
Number of non-object items: 543
Total allocated size: 30231
Program exited normally.
(gdb)