Jump to content

Recommended Posts

I have big problem ..

Core1 is down.. created game.core

(gdb) core /usr/home/game/share/game.core
Core was generated by `./core1'.
Program terminated with signal 6, Aborted.
 

 

SYSERR: Oct 21 23:44:25 :: safe_create: calloc failed [12] Cannot allocate memory
SYSERR: Oct 21 23:44:25 :: buffer_new: calloc failed [12] Cannot allocate memory

nbaMsEy.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/19794-cannont-allocate-memory/
Share on other sites

  • Replies 10
  • Created
  • Last Reply

Top Posters In This Topic

Oct 22 10:45:46 :: reallocating buffer to 2097152, current 1048576
Oct 22 10:45:46 :: reallocating buffer to 4194304, current 2097152
Oct 22 10:45:46 :: reallocating buffer to 8388608, current 4194304
Oct 22 10:45:46 :: reallocating buffer to 16777216, current 8388608
Oct 22 10:45:46 :: reallocating buffer to 33554432, current 16777216
Oct 22 10:45:46 :: reallocating buffer to 67108864, current 33554432
Oct 22 10:45:47 :: reallocating buffer to 134217728, current 67108864
Oct 22 10:45:47 :: reallocating buffer to 268435456, current 134217728
Oct 22 10:45:48 :: reallocating buffer to 536870912, current 268435456
Oct 22 10:45:50 :: reallocating buffer to 1073741824, current 536870912
SYSERR: Oct 22 10:45:55 :: safe_create: calloc failed [12] Cannot allocate memory
SYSERR: Oct 22 10:45:55 :: buffer_new: calloc failed [12] Cannot allocate memory

 

Link to comment
https://metin2.dev/topic/19794-cannont-allocate-memory/#findComment-107649
Share on other sites

1 hour ago, KeeA said:

Oct 22 10:45:46 :: reallocating buffer to 2097152, current 1048576
Oct 22 10:45:46 :: reallocating buffer to 4194304, current 2097152
Oct 22 10:45:46 :: reallocating buffer to 8388608, current 4194304
Oct 22 10:45:46 :: reallocating buffer to 16777216, current 8388608
Oct 22 10:45:46 :: reallocating buffer to 33554432, current 16777216
Oct 22 10:45:46 :: reallocating buffer to 67108864, current 33554432
Oct 22 10:45:47 :: reallocating buffer to 134217728, current 67108864
Oct 22 10:45:47 :: reallocating buffer to 268435456, current 134217728
Oct 22 10:45:48 :: reallocating buffer to 536870912, current 268435456
Oct 22 10:45:50 :: reallocating buffer to 1073741824, current 536870912
SYSERR: Oct 22 10:45:55 :: safe_create: calloc failed [12] Cannot allocate memory
SYSERR: Oct 22 10:45:55 :: buffer_new: calloc failed [12] Cannot allocate memory

 

It's an attacking method. Make sure your server accepts connections ONLY from your Client. However, i have this attacking tool, and it's not working when the server has more than 4 gb of ram. Try to build your sources to 64bit. 

🖥️ SysAdmin — Government (HU)
🛠️ Freelance Metin2 Dev • DevOps
🐧 FreeBSD / Linux | 🛡️ Security & WAF | 🚀 Performance | 🔥 Firewalls | ⚙ Automation
Open to work - Contact me on Discord @matteo_r

Link to comment
https://metin2.dev/topic/19794-cannont-allocate-memory/#findComment-107652
Share on other sites

  • Honorable Member

[OFF]
Actually why do you use calloc? It's unnecessary to set them to 0. You'll call your constructor so it'll change the values there and by the way BSDs have a process that nulls out all the free memory.

992404397646696589.png
Former C++ Developer at Gameloft on DML
Join my Discord: Distraught Labs

Link to comment
https://metin2.dev/topic/19794-cannont-allocate-memory/#findComment-108124
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.