Yardım Clang-cl ile derlenince oluşan çökme

  • Konuyu açan Konuyu açan zodiac160
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 0
  • Gösterim Gösterim 25
Konu sahibi bu konuda soru soruyor. Sorusu ile ilgili bilgisi olanların yanıtlamasını bekliyor.

zodiac160

MT Üye
MT Üye
Mesaj
190
Çözümler
9
Beğeni
81
Puan
479
Ticaret Puanı
0
Client kaynak kodlarını clang-cl ile derleyip oyuna girişi sağlıyorum ekranı alta aldığım anda crt free heap hatası alıp client kapanıyor. bu durum MSVC ile derlenince gerçekleşmiyor. Bu soruna bir çözüm yolu bulamadım Debug sonucu sizinle paylaşıyorum
Ekran görüntüsü 2026-07-08 132345.webp

Kod:
Genişlet Daralt Kopyala
* thread #1, name = 'Main Thread', stop reason = Exception 0x80000003 encountered at address 0x7ffe00189d28
  * frame #0: 0x00007ffe00189d28 ntdll.dll
    frame #1: 0x00007ffe001f5ba2 ntdll.dll
    frame #2: 0x00007ffe0029bb3a ntdll.dll
    frame #3: 0x00007ffe001b30fb ntdll.dll
    frame #4: 0x00007ffe001af9da ntdll.dll
    frame #5: 0x00007ff754d5a04c metin2client.exe`_free_base(block=<unavailable>) at free_base.cpp:105
    frame #6: 0x00007ff754a5d943 metin2client.exe`CGrannyMotion::~CGrannyMotion(this=0x0000011403618218 {m_pgrnAni=0x0000000000000000 {Name=0x0000000000000000 <error>, Duration=???, TimeStep=???, ...}}, should_call_delete=3) at Motion.cpp:10
    frame #7: 0x00007ff754a15a92 metin2client.exe`CGraphicThing::OnClear(this=0x0000011402852350 {m_pgrnFile=0x000001147eaac480 , m_pgrnFileInfo=0x0000011403f97050 {ArtToolInfo=0x0000011403f970e4 {FromArtToolName=0x0000011403fb7478 "3D Studio MAX", ArtToolMajorRevision=9, ArtToolMinorRevision=0, ...}, ExporterInfo=0x0000011403f9713c {...}, ...}, ...}) at Thing.cpp:30
    frame #8: 0x00007ff75499e59e metin2client.exe`CResource::Clear(this=0x0000011402852350 {m_pgrnFile=0x000001147eaac480 , m_pgrnFileInfo=0x0000011403f97050 {ArtToolInfo=0x0000011403f970e4 {FromArtToolName=0x0000011403fb7478 "3D Studio MAX", ArtToolMajorRevision=9, ArtToolMinorRevision=0, ...}, ExporterInfo=0x0000011403f9713c {...}, ...}, ...}) at Resource.cpp:138
    frame #9: 0x00007ff75499a7c8 metin2client.exe`CResourceManager::Update(this=0x0000011463114ac0 {m_pResMap={ size=2996 }, m_pResNewFuncMap={ size=11 }, m_pResNewFuncByTypeMap={ size=0 }, ...}) at ResourceManager.cpp:488
    frame #10: 0x00007ff7548b0769 metin2client.exe`CPythonApplication::Process(this=0x00000114630f6020 {m_pSampleGrabber=0x6c5f31305f32632f , m_pMediaCtrl=0x7364642e74686769 , m_pMediaEvent=0x5dc90c08a8efd1ee , ...}) at PythonApplication.cpp:474
    frame #11: 0x00007ff7548b1005 metin2client.exe`CPythonApplication::Loop(this=0x00000114630f6020 {m_pSampleGrabber=0x6c5f31305f32632f , m_pMediaCtrl=0x7364642e74686769 , m_pMediaEvent=0x5dc90c08a8efd1ee , ...}) at PythonApplication.cpp:818
    frame #12: 0x00007ff7548b5ac0 metin2client.exe`appLoop(_object *,_object *) at PythonApplicationModule.cpp:431
    frame #13: 0x00007ffd1ba6673e python314.dll
    frame #14: 0x00007ffd1ba12528 python314.dll
    frame #15: 0x00007ffd1ba12829 python314.dll
    frame #16: 0x00007ffd1bb5f7d2 python314.dll
    frame #17: 0x00007ffd1bb6a0fb python314.dll
    frame #18: 0x00007ffd1bb5b4cd python314.dll
    frame #19: 0x00007ffd1bb55cd6 python314.dll
    frame #20: 0x00007ffd1bb53299 python314.dll
    frame #21: 0x00007ffd1ba662d1 python314.dll
    frame #22: 0x00007ffd1ba11f01 python314.dll
    frame #23: 0x00007ffd1ba12829 python314.dll
    frame #24: 0x00007ffd1bb5f7d2 python314.dll
    frame #25: 0x00007ffd1bb6a0fb python314.dll
    frame #26: 0x00007ffd1bb5b4cd python314.dll
    frame #27: 0x00007ff7549f01f6 metin2client.exe`CPythonLauncher::RunFile(this=0x00000007ddcff510 {m_poDic=0x0000011464afca80 {={={ob_refcnt_full=43, ob_type=0x00007ffd1bee72f0 {python314.dll!PyDict_Type} {ob_base={ob_base={={={ob_refcnt_full=1407378104778752, ob_type=0x00007ffd1befb110 {python314.dll!PyType_Type} {ob_base={ob_base={=...}, ...}, ...}}, ...}}, ...}, ...}}, ...}}}, c_szFileName=<unavailable>) at PythonLauncher.cpp:283
    frame #28: 0x00007ff7549535af metin2client.exe`RunMainScript(pyLauncher={m_poDic=0x0000011464afca80 {={={ob_refcnt_full=43, ob_type=0x00007ffd1bee72f0 {python314.dll!PyDict_Type} {ob_base={ob_base={={={ob_refcnt_full=1407378104778752, ob_type=0x00007ffd1befb110 {python314.dll!PyType_Type} {ob_base={ob_base={={={ob_refcnt_full=1407378104778752, ...}, ...}}, ...}, ...}}, ...}}, ...}, ...}}, ...}}}, lpCmdLine=0x000001145ee6ba06 "") at UserInterface.cpp:312
    frame #29: 0x00007ff754953cb6 metin2client.exe`Main(hInstance=0x00007ff754870000 {unused=7887437}, lpCmdLine=0x000001145ee6ba06 "") at UserInterface.cpp:386
    frame #30: 0x00007ff754954272 metin2client.exe`WinMain(hInstance=0x00007ff754870000 {unused=7887437}, hPrevInstance=<unavailable>, lpCmdLine=0x000001145ee6ba06 "", nCmdShow=<unavailable>) at UserInterface.cpp:554
    frame #31: 0x00007ff754cef3b2 metin2client.exe`__scrt_common_main_seh() [inlined] invoke_main() at exe_common.inl:102
    frame #32: 0x00007ff754cef391 metin2client.exe`__scrt_common_main_seh() at exe_common.inl:288
    frame #33: 0x00007ffdfe0ee957 kernel32.dll
    frame #34: 0x00007ffe00207c1c ntdll.dll
(lldb) frame variable
(CGrannyMotion *) this = 0x0000011403618218 {m_pgrnAni=0x0000000000000000 {Name=0x0000000000000000 <error>, Duration=???, TimeStep=???, ...}}
(int) should_call_delete = 3
(lldb) register read
General Purpose Registers:
       rbx = 0x0000011463114b08
       rdi = 0x0000000000000003
       rsi = 0x0000011403618218
       rbp = 0x0000000000000000
       rsp = 0x00000007ddcfdaf0
       r12 = 0x000000000001301b
       r13 = 0x0000011464b72d40
       r14 = 0x0000011403fdddf0
       r15 = 0x0000011402852350
       rip = 0x00007ff754a5d943  metin2client.exe`CGrannyMotion::~CGrannyMotion() + 35 at Motion.cpp:12
8 registers were unavailable.

(lldb) disassemble -f
metin2client.exe`CGrannyMotion::~CGrannyMotion():
    0x7ff754a5d920 <+0>:  pushq  %rsi
    0x7ff754a5d921 <+1>:  pushq  %rdi
    0x7ff754a5d922 <+2>:  subq   $0x28, %rsp
    0x7ff754a5d926 <+6>:  movl   %edx, %edi
    0x7ff754a5d928 <+8>:  movq   %rcx, %rsi
    0x7ff754a5d92b <+11>: callq  0x7ff754a5d7e0            ; CGrannyMotion::~CGrannyMotion() at Motion.cpp:10
    0x7ff754a5d930 <+16>: testb  $0x1, %dil
    0x7ff754a5d934 <+20>: je     0x7ff754a5d943            ; <+35> at Motion.cpp:12
    0x7ff754a5d936 <+22>: movl   $0x10, %edx
    0x7ff754a5d93b <+27>: movq   %rsi, %rcx
    0x7ff754a5d93e <+30>: callq  0x7ff754b4360c            ; operator delete(void *,unsigned long long) at delete_scalar_size.cpp:30
->  0x7ff754a5d943 <+35>: movq   %rsi, %rax
    0x7ff754a5d946 <+38>: addq   $0x28, %rsp
    0x7ff754a5d94a <+42>: popq   %rdi
    0x7ff754a5d94b <+43>: popq   %rsi
    0x7ff754a5d94c <+44>: retq
 
Geri
Üst