Jump to content

7teendev

Member
  • Posts

    17
  • Joined

  • Last visited

  • Feedback

    0%

1 Follower

About 7teendev

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

7teendev's Achievements

Enthusiast

Enthusiast (6/16)

  • Collaborator
  • One Month Later
  • Dedicated
  • First Post
  • Conversation Starter

Recent Badges

1

Reputation

  1. We are talking about server side, so compile it somehow to windows version and run it under visual? That's about as hard as using AddressSanitizer
  2. Does anyone know, what should the next steps be?
  3. As this comment suggests: LINK Wouldn't be easier to compile the source into windows(visual code) and debug it from there? Maybe it would be easier?
  4. Hopefully I will manage.. not many threads about this issue anywhere Thanks for the direction I'm finally going somewhere(nowhere) ==15740==ERROR: AddressSanitizer: heap-use-after-free on address 0x2b90a7b1 at pc 0x290c1671 bp 0xffbf8668 sp 0xffbf8240 READ of size 1 at 0x2b90a7b1 thread T0 #0 0x290c1670 (/usr/local/lib/gcc11/libasan.so.6+0x48670) #1 0x290c1e7c (/usr/local/lib/gcc11/libasan.so.6+0x48e7c) #2 0x8b022c9 (/usr/home/src/Srcs/Server/game/game_r41226+0x8b022c9) #3 0x83a326b (/usr/home/src/Srcs/Server/game/game_r41226+0x83a326b) #4 0x83a7dfb (/usr/home/src/Srcs/Server/game/game_r41226+0x83a7dfb) #5 0x892ffa1 (/usr/home/src/Srcs/Server/game/game_r41226+0x892ffa1) #6 0x8930c44 (/usr/home/src/Srcs/Server/game/game_r41226+0x8930c44) #7 0x89332ee (/usr/home/src/Srcs/Server/game/game_r41226+0x89332ee) #8 0x80a43dc (/usr/home/src/Srcs/Server/game/game_r41226+0x80a43dc) 0x2b90a7b1 is located 1 bytes inside of 65-byte region [0x2b90a7b0,0x2b90a7f1) freed by thread T0 here: #0 0x290f6d5b (/usr/local/lib/gcc11/libasan.so.6+0x7dd5b) #1 0x83a3253 (/usr/home/src/Srcs/Server/game/game_r41226+0x83a3253) #2 0x83a7dfb (/usr/home/src/Srcs/Server/game/game_r41226+0x83a7dfb) #3 0x892ffa1 (/usr/home/src/Srcs/Server/game/game_r41226+0x892ffa1) #4 0x8930c44 (/usr/home/src/Srcs/Server/game/game_r41226+0x8930c44) #5 0x89332ee (/usr/home/src/Srcs/Server/game/game_r41226+0x89332ee) #6 0x80a43dc (/usr/home/src/Srcs/Server/game/game_r41226+0x80a43dc) #7 0x80a453f (/usr/home/src/Srcs/Server/game/game_r41226+0x80a453f) previously allocated by thread T0 here: #0 0x290f5f63 (/usr/local/lib/gcc11/libasan.so.6+0x7cf63) #1 0x8488486 (/usr/home/src/Srcs/Server/game/game_r41226+0x8488486) #2 0x848894b (/usr/home/src/Srcs/Server/game/game_r41226+0x848894b) #3 0x847f14f (/usr/home/src/Srcs/Server/game/game_r41226+0x847f14f) #4 0x83afeef (/usr/home/src/Srcs/Server/game/game_r41226+0x83afeef) #5 0x892f14b (/usr/home/src/Srcs/Server/game/game_r41226+0x892f14b) #6 0x8930d6b (/usr/home/src/Srcs/Server/game/game_r41226+0x8930d6b) #7 0x89332ee (/usr/home/src/Srcs/Server/game/game_r41226+0x89332ee) #8 0x80a43dc (/usr/home/src/Srcs/Server/game/game_r41226+0x80a43dc) #9 0x80a453f (/usr/home/src/Srcs/Server/game/game_r41226+0x80a453f) SUMMARY: AddressSanitizer: heap-use-after-free (/usr/local/lib/gcc11/libasan.so.6+0x48670) Shadow bytes around the buggy address: 0x457214a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x457214b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x457214c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x457214d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x457214e0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 =>0x457214f0: 00 fa fa fa fa fa[fd]fd fd fd fd fd fd fd fd fa 0x45721500: fa fa fa fa 00 00 00 00 00 00 00 00 00 fa fa fa 0x45721510: fa fa 00 00 00 00 00 00 00 00 00 fa fa fa fa fa 0x45721520: 00 00 00 00 00 00 00 00 00 fa fa fa fa fa 00 00 0x45721530: 00 00 00 00 00 00 00 fa fa fa fa fa 00 00 00 00 0x45721540: 00 00 00 00 00 fa fa fa fa fa 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==15740==ABORTING
  5. Hello, to begin with, I'm a beginner when it comes to optimization/debugging. I was looking for possible ways to find server side memory allocation, what is taking up the most/not getting cleaned(memory leak) etc. Because currently my 4 core, ch99 core + db are taking 3,5Gb of RAM. Does anyone here have experience with jemalloc, Heaptrack, possibly Valgrind? Which one is best to use in my position? Honestly I've also tried but I'm not too wise with the OUTPUT. I'd be grateful for any advice and thank you in advance!
  6. GameWindow.Open - <type 'exceptions.RuntimeError'>:skill.GetSkillType - Failed to find skill by 36 With every single char(but ofc different skill ID)
  7. Im having issues with Visual Studio, every single SF I try to compile gives me this error, including this SF: CWebBrowser.lib is not a valid Win32 application. I have tried compile with 2022(which should be valid, based on Platform Toolkit - v143) and also tried VS19(which has v142) and still the same problem I'm not really smart from other thread I found, which is only for debug(Not my problem rn). Could anyonem point me to the right way?
  8. Hello, I'm looking for solid at least 1-120(better would be 180+) server files with everything(website with backend and itemshop). Also support with VSCode settings/extern(for 2022 version) and maybe beginner questions regarding the files structure. Thanks for your offers
  9. Hey, I haven't found any usefull informations about nginx. Maybe someone here can help I'm currently running Location aZU0XBqAa7qt2XNhrbdsk is linked to phpmyadmin with secured auth_basic. Problem is this: When I'm at 127.0.0.1/index.php, the website display works as it should, when you go into other page from index.php to let's say download.php, you get 404 Not Found. PhpMyAdmin doesn't have the issue with going within the app anywhere, but the root directory does have this problem. Would anyone know, how to configure the nginx.conf? Parametrs are transfer within nginx, so I'm not really sure, where to look -> what to look for Thanks in advance brothers
  10. Hello everyone, I'm still trying to run some SF's and I came across Pr0jectX, where I'm able to start the server without any errors. But the game cores from "top" will die within few seconds. I have searched throughlogs, mysql logs but there is literally not a single error Would anyone know, what might cause this problem? TIA
  11. Even 10.6 is for most SF too much, same as 10.5 and MySQL 5.7.. And If I would install lower version on my OVH VPS, let's say FreeBSD 12.4, I wouldn't have DNS, DHCP and sometimes mount is fucked up.. And if I install 13.2 and take all network settings, I'm still getting no connections what's so ever 13.2 has no issues at all..
  12. Hello, does anyone know, how to install mysql5.6 on FreeBSD 13.2? I haven't found a single repo, from where I could take it + I haven't found any usefull informations on this topic. Instalation from ports alreads fails on "mysql56-server-5.6.51 cannot install: unknown MySQL version: 56." Most of SF can't be run on MySQL 5.7, so I'm looking for your advices
  13. Actual solution is located here: [Hidden Content]
  14. Hello, I'm having problems with loading the server. I'm currently running BSD 13.2 with mariadb 10.5 (max_connection / max_user_connections = 5000), on OVH VPS with 8cores, 16Gb of RAM I have reloaded quests and tried everything on the internet(dump mysql, create user, dumb backup back and change owner) but nothing works Would anyone have an idea? Logs contains: safe_create: calloc failed [12] Cannot allocate memory buffer_new: calloc failed [12] Cannot allocate memory But parametrs are already set to be: kern.ipc.shmall=4294967296 kern.ipc.shmmax=4294967296 Anyone who knows?
  15. I'm currently at point, where I'm at installation, but this is the problems, I have now: The 160GB disk is dedicated for FreeBSD, formated and in right type. But the installation doesn't recognize him and from somewhere it drops out this 2GB disk, that isn't even there.. There is securehdd mounted, which doesn't have 1GB free space, so it doesn't make any sense.. Anybody who would know?
×
×
  • 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.