hyperboria / bugs

Peer-to-peer IPv6 networking, secure and near-zero-conf.
154 stars 17 forks source link

OOM on master #44

Open viric opened 9 years ago

viric commented 9 years ago

Running the master code a05ade4 on mips32 (cross-built) I get an OOM dump.

Applying this execution

cat oom-mips-master.txt | sed -n -e 's/.* \([a-zA-Z0-9_]*\.[ch]\:[0-9]*\) .*$/\1/p' | sort | uniq -c | sort -n

the result is:

...
    943 Message.h:75
    943 Message.h:86
    944 RouterModule.c:414
    945 RouterModule.c:581
    947 Message.h:62
    947 Message.h:63
    947 Pinger.c:116
   1065 Dict.c:95
   1775 String.c:31
   1775 String.c:39
   1888 RouterModule.c:412
   1893 UDPAddrIface.c:100
   1894 Pinger.c:106
   1894 Pinger.c:136
   1894 Pinger.c:138
   1956 Dict.c:150
   2836 PeerLink.c:50
   3785 Dict.c:166
   5444 Timeout.c:87
   5809 Dict.c:132
   6435 Allocator.c:735
   7022 InterfaceController.c:765

I can send the full OOM log if required.

ghost commented 9 years ago

Yeah please paste the allocator dump somewhere and link it here. Thanks!

viric commented 9 years ago

Let's see if this site got it well: https://transfer.sh/1fy2sN/oom-mips-master.txt

tigusoft-vm commented 8 years ago

We are also getting program OOM itself (8 mb limit) each few days or so, on at least 1 of servers.

Just confirming for now, but if we will catch more details on it then will post them too.

Kubuxu commented 8 years ago

Do you have a dump? It is pretty old bug right here and full dump is no longer available.