Çözüldü gdb game core

  • Konuyu açan Konuyu açan darkbloodly
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 8
  • Gösterim Gösterim 98
Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

darkbloodly

Üye
Üye
Mesaj
34
Beğeni
3
Puan
46
Ticaret Puanı
0
Kod:
Genişlet Daralt Kopyala
No symbol table info available.
#7  0x28d4f558 in ?? ()
No symbol table info available.
#8  0x080c07fb in ?? ()
No symbol table info available.
#9  0x2b7c53e0 in ?? ()
No symbol table info available.
#10 0x08148966 in ?? ()
No symbol table info available.
#11 0x38fee000 in ?? ()
No symbol table info available.
#12 0x081334f8 in ?? ()
No symbol table info available.
#13 0x38a0439c in ?? ()
No symbol table info available.
#14 0x081088c9 in ?? ()
No symbol table info available.
#15 0x38a0439c in ?? ()
No symbol table info available.
#16 0x08232315 in ?? ()
No symbol table info available.
#17 0x38a04300 in ?? ()
No symbol table info available.
#18 0x0823253e in ?? ()
No symbol table info available.
#19 0x2905d0c0 in ?? ()
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--Quit
(gdb) bt
#0  0x08108abb in ?? ()
#1  0x29012000 in ?? ()
#2  0x0814baee in ?? ()
#3  0x00000001 in ?? ()
#4  0xffbfb246 in ?? ()
#5  0x08151072 in ?? ()
#6  0x28c8b1b3 in ?? ()
#7  0x28d4f558 in ?? ()
#8  0x080c07fb in ?? ()
#9  0x2b7c53e0 in ?? ()
#10 0x08148966 in ?? ()
#11 0x38fee000 in ?? ()
#12 0x081334f8 in ?? ()
#13 0x38a0439c in ?? ()
#14 0x081088c9 in ?? ()
#15 0x38a0439c in ?? ()
#16 0x08232315 in ?? ()
#17 0x38a04300 in ?? ()
#18 0x0823253e in ?? ()
#19 0x2905d0c0 in ?? ()
#20 0x0807217d in ?? ()
#21 0x00000000 in ?? ()
(gdb) bt full
#0  0x08108abb in ?? ()
No symbol table info available.
#1  0x29012000 in ?? ()
No symbol table info available.
#2  0x0814baee in ?? ()
No symbol table info available.
#3  0x00000001 in ?? ()
No symbol table info available.
#4  0xffbfb246 in ?? ()
No symbol table info available.
#5  0x08151072 in ?? ()
No symbol table info available.
#6  0x28c8b1b3 in ?? ()
No symbol table info available.
#7  0x28d4f558 in ?? ()
No symbol table info available.
#8  0x080c07fb in ?? ()
No symbol table info available.
#9  0x2b7c53e0 in ?? ()
No symbol table info available.
#10 0x08148966 in ?? ()
No symbol table info available.
#11 0x38fee000 in ?? ()
No symbol table info available.
#12 0x081334f8 in ?? ()
No symbol table info available.
#13 0x38a0439c in ?? ()
No symbol table info available.
#14 0x081088c9 in ?? ()
No symbol table info available.
#15 0x38a0439c in ?? ()
No symbol table info available.
#16 0x08232315 in ?? ()
No symbol table info available.
#17 0x38a04300 in ?? ()
No symbol table info available.
#18 0x0823253e in ?? ()
No symbol table info available.
#19 0x2905d0c0 in ?? ()
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--bt
#20 0x0807217d in ?? ()
No symbol table info available.
#21 0x00000000 in ?? ()
No symbol table info available.
(gdb) bt
#0  0x08108abb in ?? ()
#1  0x29012000 in ?? ()
#2  0x0814baee in ?? ()
#3  0x00000001 in ?? ()
#4  0xffbfb246 in ?? ()
#5  0x08151072 in ?? ()
#6  0x28c8b1b3 in ?? ()
#7  0x28d4f558 in ?? ()
#8  0x080c07fb in ?? ()
#9  0x2b7c53e0 in ?? ()
#10 0x08148966 in ?? ()
#11 0x38fee000 in ?? ()
#12 0x081334f8 in ?? ()
#13 0x38a0439c in ?? ()
#14 0x081088c9 in ?? ()
#15 0x38a0439c in ?? ()
#16 0x08232315 in ?? ()
#17 0x38a04300 in ?? ()
#18 0x0823253e in ?? ()
#19 0x2905d0c0 in ?? ()
#20 0x0807217d in ?? ()

btfull bt vs yaptığımda sadece bu hex codelarını veriyor, satır, hangi kod hatalı vs bunları nasıl öğrenebilirim ?

GDB Versionum :
GNU gdb (GDB) 15.1 [GDB v15.1 for FreeBSD]
CC = gcc10
CXX = g++10

gdb 10 sürümünü bulamadığım için kuramadım ancak biryerde üst sürüm olması önemli değil gibi bişey okumuştum. Eğer onla alakalıysa nasıl gdb 10 kurabilirim bilmiyorum
 
Kod:
Genişlet Daralt Kopyala
No symbol table info available.
#7  0x28d4f558 in ?? ()
No symbol table info available.
#8  0x080c07fb in ?? ()
No symbol table info available.
#9  0x2b7c53e0 in ?? ()
No symbol table info available.
#10 0x08148966 in ?? ()
No symbol table info available.
#11 0x38fee000 in ?? ()
No symbol table info available.
#12 0x081334f8 in ?? ()
No symbol table info available.
#13 0x38a0439c in ?? ()
No symbol table info available.
#14 0x081088c9 in ?? ()
No symbol table info available.
#15 0x38a0439c in ?? ()
No symbol table info available.
#16 0x08232315 in ?? ()
No symbol table info available.
#17 0x38a04300 in ?? ()
No symbol table info available.
#18 0x0823253e in ?? ()
No symbol table info available.
#19 0x2905d0c0 in ?? ()
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--Quit
(gdb) bt
#0  0x08108abb in ?? ()
#1  0x29012000 in ?? ()
#2  0x0814baee in ?? ()
#3  0x00000001 in ?? ()
#4  0xffbfb246 in ?? ()
#5  0x08151072 in ?? ()
#6  0x28c8b1b3 in ?? ()
#7  0x28d4f558 in ?? ()
#8  0x080c07fb in ?? ()
#9  0x2b7c53e0 in ?? ()
#10 0x08148966 in ?? ()
#11 0x38fee000 in ?? ()
#12 0x081334f8 in ?? ()
#13 0x38a0439c in ?? ()
#14 0x081088c9 in ?? ()
#15 0x38a0439c in ?? ()
#16 0x08232315 in ?? ()
#17 0x38a04300 in ?? ()
#18 0x0823253e in ?? ()
#19 0x2905d0c0 in ?? ()
#20 0x0807217d in ?? ()
#21 0x00000000 in ?? ()
(gdb) bt full
#0  0x08108abb in ?? ()
No symbol table info available.
#1  0x29012000 in ?? ()
No symbol table info available.
#2  0x0814baee in ?? ()
No symbol table info available.
#3  0x00000001 in ?? ()
No symbol table info available.
#4  0xffbfb246 in ?? ()
No symbol table info available.
#5  0x08151072 in ?? ()
No symbol table info available.
#6  0x28c8b1b3 in ?? ()
No symbol table info available.
#7  0x28d4f558 in ?? ()
No symbol table info available.
#8  0x080c07fb in ?? ()
No symbol table info available.
#9  0x2b7c53e0 in ?? ()
No symbol table info available.
#10 0x08148966 in ?? ()
No symbol table info available.
#11 0x38fee000 in ?? ()
No symbol table info available.
#12 0x081334f8 in ?? ()
No symbol table info available.
#13 0x38a0439c in ?? ()
No symbol table info available.
#14 0x081088c9 in ?? ()
No symbol table info available.
#15 0x38a0439c in ?? ()
No symbol table info available.
#16 0x08232315 in ?? ()
No symbol table info available.
#17 0x38a04300 in ?? ()
No symbol table info available.
#18 0x0823253e in ?? ()
No symbol table info available.
#19 0x2905d0c0 in ?? ()
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--bt
#20 0x0807217d in ?? ()
No symbol table info available.
#21 0x00000000 in ?? ()
No symbol table info available.
(gdb) bt
#0  0x08108abb in ?? ()
#1  0x29012000 in ?? ()
#2  0x0814baee in ?? ()
#3  0x00000001 in ?? ()
#4  0xffbfb246 in ?? ()
#5  0x08151072 in ?? ()
#6  0x28c8b1b3 in ?? ()
#7  0x28d4f558 in ?? ()
#8  0x080c07fb in ?? ()
#9  0x2b7c53e0 in ?? ()
#10 0x08148966 in ?? ()
#11 0x38fee000 in ?? ()
#12 0x081334f8 in ?? ()
#13 0x38a0439c in ?? ()
#14 0x081088c9 in ?? ()
#15 0x38a0439c in ?? ()
#16 0x08232315 in ?? ()
#17 0x38a04300 in ?? ()
#18 0x0823253e in ?? ()
#19 0x2905d0c0 in ?? ()
#20 0x0807217d in ?? ()

btfull bt vs yaptığımda sadece bu hex codelarını veriyor, satır, hangi kod hatalı vs bunları nasıl öğrenebilirim ?

GDB Versionum :
GNU gdb (GDB) 15.1 [GDB v15.1 for FreeBSD]
CC = gcc10
CXX = g++10

gdb 10 sürümünü bulamadığım için kuramadım ancak biryerde üst sürüm olması önemli değil gibi bişey okumuştum. Eğer onla alakalıysa nasıl gdb 10 kurabilirim bilmiyorum
Game source makefile içerisini atabilir misin? -g flagı yok sanırım.
 
RAM YETERSİZ DİYE VERİYOR
Kod:
Genişlet Daralt Kopyala
No symbol table info available.
#7  0x28d4f558 in ?? ()
No symbol table info available.
#8  0x080c07fb in ?? ()
No symbol table info available.
#9  0x2b7c53e0 in ?? ()
No symbol table info available.
#10 0x08148966 in ?? ()
No symbol table info available.
#11 0x38fee000 in ?? ()
No symbol table info available.
#12 0x081334f8 in ?? ()
No symbol table info available.
#13 0x38a0439c in ?? ()
No symbol table info available.
#14 0x081088c9 in ?? ()
No symbol table info available.
#15 0x38a0439c in ?? ()
No symbol table info available.
#16 0x08232315 in ?? ()
No symbol table info available.
#17 0x38a04300 in ?? ()
No symbol table info available.
#18 0x0823253e in ?? ()
No symbol table info available.
#19 0x2905d0c0 in ?? ()
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--Quit
(gdb) bt
#0  0x08108abb in ?? ()
#1  0x29012000 in ?? ()
#2  0x0814baee in ?? ()
#3  0x00000001 in ?? ()
#4  0xffbfb246 in ?? ()
#5  0x08151072 in ?? ()
#6  0x28c8b1b3 in ?? ()
#7  0x28d4f558 in ?? ()
#8  0x080c07fb in ?? ()
#9  0x2b7c53e0 in ?? ()
#10 0x08148966 in ?? ()
#11 0x38fee000 in ?? ()
#12 0x081334f8 in ?? ()
#13 0x38a0439c in ?? ()
#14 0x081088c9 in ?? ()
#15 0x38a0439c in ?? ()
#16 0x08232315 in ?? ()
#17 0x38a04300 in ?? ()
#18 0x0823253e in ?? ()
#19 0x2905d0c0 in ?? ()
#20 0x0807217d in ?? ()
#21 0x00000000 in ?? ()
(gdb) bt full
#0  0x08108abb in ?? ()
No symbol table info available.
#1  0x29012000 in ?? ()
No symbol table info available.
#2  0x0814baee in ?? ()
No symbol table info available.
#3  0x00000001 in ?? ()
No symbol table info available.
#4  0xffbfb246 in ?? ()
No symbol table info available.
#5  0x08151072 in ?? ()
No symbol table info available.
#6  0x28c8b1b3 in ?? ()
No symbol table info available.
#7  0x28d4f558 in ?? ()
No symbol table info available.
#8  0x080c07fb in ?? ()
No symbol table info available.
#9  0x2b7c53e0 in ?? ()
No symbol table info available.
#10 0x08148966 in ?? ()
No symbol table info available.
#11 0x38fee000 in ?? ()
No symbol table info available.
#12 0x081334f8 in ?? ()
No symbol table info available.
#13 0x38a0439c in ?? ()
No symbol table info available.
#14 0x081088c9 in ?? ()
No symbol table info available.
#15 0x38a0439c in ?? ()
No symbol table info available.
#16 0x08232315 in ?? ()
No symbol table info available.
#17 0x38a04300 in ?? ()
No symbol table info available.
#18 0x0823253e in ?? ()
No symbol table info available.
#19 0x2905d0c0 in ?? ()
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--bt
#20 0x0807217d in ?? ()
No symbol table info available.
#21 0x00000000 in ?? ()
No symbol table info available.
(gdb) bt
#0  0x08108abb in ?? ()
#1  0x29012000 in ?? ()
#2  0x0814baee in ?? ()
#3  0x00000001 in ?? ()
#4  0xffbfb246 in ?? ()
#5  0x08151072 in ?? ()
#6  0x28c8b1b3 in ?? ()
#7  0x28d4f558 in ?? ()
#8  0x080c07fb in ?? ()
#9  0x2b7c53e0 in ?? ()
#10 0x08148966 in ?? ()
#11 0x38fee000 in ?? ()
#12 0x081334f8 in ?? ()
#13 0x38a0439c in ?? ()
#14 0x081088c9 in ?? ()
#15 0x38a0439c in ?? ()
#16 0x08232315 in ?? ()
#17 0x38a04300 in ?? ()
#18 0x0823253e in ?? ()
#19 0x2905d0c0 in ?? ()
#20 0x0807217d in ?? ()

btfull bt vs yaptığımda sadece bu hex codelarını veriyor, satır, hangi kod hatalı vs bunları nasıl öğrenebilirim ?

GDB Versionum :
GNU gdb (GDB) 15.1 [GDB v15.1 for FreeBSD]
CC = gcc10
CXX = g++10

gdb 10 sürümünü bulamadığım için kuramadım ancak biryerde üst sürüm olması önemli değil gibi bişey okumuştum. Eğer onla alakalıysa nasıl gdb 10 kurabilirim bilmiyorum
RAM YETERSİZİ
 
Game source makefile içerisini atabilir misin? -g flagı yok sanırım.
Kod:
Genişlet Daralt Kopyala
CC = gcc10
CXX = g++10

GAME_VERSION := $(shell cat ../../__REVISION__)

GccMajorVersion := $(shell expr `$(CXX) -dumpversion | cut -f1 -d.`)
GccMinorVersion := $(shell expr `$(CXX) -dumpversion | cut -f2 -d.`)
GccMinorEGT8 := $(shell expr $(GccMinorVersion) \>= 8)

INCDIR =
LIBDIR =
BINDIR = ..
OBJDIR = .obj
$(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi)

## LIST OF CONSTANTS BEGIN
ENABLE_GOOGLE_TEST = 0
ENABLE_LUA_5_VERSION = 0
ENABLE_GCC_AUTODEPEND = 1
ENABLE_STATIC = 0
## LIST OF CONSTANTS END

# Depend Path File
ifneq ($(ENABLE_GCC_AUTODEPEND), 1)
DEPFILE = Depend
endif

# Standard Libraries
LIBS = -lm -lmd

# Project Flags
CFLAGS  = -m32 -g -Wall -O2 -pipe -fexceptions -fno-strict-aliasing -pthread -D_THREAD_SAFE -DNDEBUG
CFLAGS += -Wno-deprecated-declarations -Wno-nonnull-compare -Wno-deprecated-declarations -Wno-array-bounds -Wno-address
CFLAGS += -Wno-int-in-bool-context -Wno-format-truncation -Wno-stringop-truncation -Wno-sign-compare
CFLAGS += -Wno-deprecated-enum-enum-conversion
CFLAGS += -L/usr/local/lib32/gcc10 -L/usr/lib32/
CFLAGS += -Wl,-rpath=/usr/local/lib32/gcc10
CXXFLAGS = -std=c++20

ifeq ($(ENABLE_STATIC), 1)
CFLAGS += -static
endif

ifeq ($(GccMinorEGT8), 1)
CFLAGS += -Wno-unused-local-typedefs
endif

# FreeBSD stack protector
CFLAGS += -fstack-protector-all

# Version defines
CFLAGS += -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__GAME_VERSION__=\"$(GAME_VERSION)\"

# Boost
INCDIR += -I../../../Extern/include/boost

# DevIL
INCDIR += -I../../../Extern/include/IL
LIBS += ../../../Extern/lib/libIL.a

#mariadb
# MySQL
INCDIR += -I/usr/local/include/mysql
LIBS += /usr/local/lib/mysql/libmariadbclient.a /usr/lib/libz.a
#mariadb

# CryptoPP
LIBS += ../../../Extern/lib/libcryptopp.a

# GTest
ifeq ($(ENABLE_GOOGLE_TEST), 1)
LIBS += /usr/local/lib/libgtest.a
CFLAGS += -DENABLE_GOOGLE_TEST
endif

# OpenSSL
INCDIR += -I/usr/include
LIBS += -lssl -lcrypto

# Lua
CFLAGS += -DENABLE_LUA_5_VERSION=ENABLE_LUA_5_VERSION
ifeq ($(ENABLE_LUA_5_VERSION), 2)
INCDIR += -I../../liblua/5.2/install/include
LIBDIR += -L../../liblua/5.2/install/lib
LIBS += ../../liblua/5.2/install/lib/liblua.a
else
INCDIR += -I../../liblua/5.0/include
LIBDIR += -L../../liblua/5.0/lib
LIBS += ../../liblua/5.0/lib/liblua.a ../../liblua/5.0/lib/liblualib.a
endif

# Project Libraries
INCDIR += -I../../../Extern/include
INCDIR += -I/usr/local/include
LIBDIR += -L/usr/local/lib

LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib
LIBS += -lthecore -lpoly -lsql -lgame

# PROJECT_SRC_FILES BEGIN
MAINCPP = main.cpp

CFILE    = minilzo.c

CPPFILE = FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp ani.cpp\
          arena.cpp banword.cpp battle.cpp blend_item.cpp buffer_manager.cpp building.cpp castle.cpp\
          char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp\
          char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp\
          cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp\
          desc_client.cpp desc_manager.cpp desc_p2p.cpp dungeon.cpp empire_text_convert.cpp entity.cpp\
          entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp\
          guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp\
          input_login.cpp input_main.cpp input_p2p.cpp input_udp.cpp\
          item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp\
          locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp\
          messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp\
          party.cpp polymorph.cpp priv_manager.cpp pvp.cpp\
          questevent.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_building.cpp\
          questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_game.cpp questlua_global.cpp\
          questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp\
          questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp\
          questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp\
          refine.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp\
          skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp\
          wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp\
          BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp\
          skill_power.cpp affect.cpp\
          FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp\
          buff_on_attributes.cpp dragon_soul_table.cpp DragonSoul.cpp\
          group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp\
          shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp shutdown_manager.cpp\
          questlua_dnd.cpp
# PROJECT_SRC_FILES END

# PROJECT_OBJ_FILES BEGIN
COBJS    = $(CFILE:%.c=$(OBJDIR)/%.o)
CPPOBJS    = $(CPPFILE:%.cpp=$(OBJDIR)/%.o)
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
CDEPS    = $(COBJS:%.o=%.d)
CPPDEPS    = $(CPPOBJS:%.o=%.d)
endif

MAINOBJ = $(MAINCPP:%.cpp=$(OBJDIR)/%.o)
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
MAINDEPS = $(MAINOBJ:%.o=%.d)
endif

# PROJECT_OBJ_FILES END

# Target Paths
MAIN_TARGET = $(BINDIR)/game_r$(GAME_VERSION)

default: $(MAIN_TARGET)

$(OBJDIR)/%.o: %.c
    @echo compiling $<
    @$(CXX) $(CFLAGS) $(INCDIR) -c $< -o $@
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
    @$(CXX) -MM -MG -MP $(CFLAGS) $(INCDIR) -c $< -o $(OBJDIR)/$*.d
    @sed -i '' -e's/$*.o:/$(OBJDIR)\/$*.o:/g' $(OBJDIR)/$*.d
endif

$(OBJDIR)/%.o: %.cpp
    @echo compiling $<
    @$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCDIR) -c $< -o $@
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
    @$(CXX) -MM -MG -MP $(CFLAGS) $(CXXFLAGS) $(INCDIR) -c $< -o $(OBJDIR)/$*.d
    @sed -i '' -e's/$*.o:/$(OBJDIR)\/$*.o:/g' $(OBJDIR)/$*.d
endif

limit_time:
    @echo update limit time
    @python update_limit_time.py

$(MAIN_TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ)
    @echo linking $(MAIN_TARGET)
    @$(CXX) $(CFLAGS) $(CXXFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(MAIN_TARGET)

symlink:
    @ln -fs game_r$(GAME_VERSION) $(BINDIR)/game_symlink

strip:
    @cp $(MAIN_TARGET) $(BINDIR)/game_r
    @strip $(BINDIR)/game_r

clean:
    @echo cleaning $(MAIN_TARGET) $(OBJDIR)
    @rm -f $(COBJS) $(CPPOBJS) $(MAINOBJ)
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
    @rm -f $(CDEPS) $(CPPDEPS) $(MAINDEPS)
endif
    @rm -f $(BINDIR)/game_r*

dep:
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
    @echo "Note: gcc autodepend is autodetected, so target dep skipped"
else
    makedepend -f $(DEPFILE) $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(CPPFILE) $(CFILE) $(MAINCPP) 2> /dev/null > $(DEPFILE)
endif

# AUTO_DEPEND_CHECK BEGIN
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
sinclude $(CDEPS)
sinclude $(CPPDEPS)
sinclude $(MAINDEPS)
else
sinclude $(DEPFILE)
endif
# AUTO_DEPEND_CHECK END

RAM YETERSİZ DİYE VERİYOR

RAM YETERSİZİ
kaç olmalı ram hocam 4gb verdim aslında
 
Kod:
Genişlet Daralt Kopyala
CC = gcc10
CXX = g++10

GAME_VERSION := $(shell cat ../../__REVISION__)

GccMajorVersion := $(shell expr `$(CXX) -dumpversion | cut -f1 -d.`)
GccMinorVersion := $(shell expr `$(CXX) -dumpversion | cut -f2 -d.`)
GccMinorEGT8 := $(shell expr $(GccMinorVersion) \>= 8)

INCDIR =
LIBDIR =
BINDIR = ..
OBJDIR = .obj
$(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi)

## LIST OF CONSTANTS BEGIN
ENABLE_GOOGLE_TEST = 0
ENABLE_LUA_5_VERSION = 0
ENABLE_GCC_AUTODEPEND = 1
ENABLE_STATIC = 0
## LIST OF CONSTANTS END

# Depend Path File
ifneq ($(ENABLE_GCC_AUTODEPEND), 1)
DEPFILE = Depend
endif

# Standard Libraries
LIBS = -lm -lmd

# Project Flags
CFLAGS  = -m32 -g -Wall -O2 -pipe -fexceptions -fno-strict-aliasing -pthread -D_THREAD_SAFE -DNDEBUG
CFLAGS += -Wno-deprecated-declarations -Wno-nonnull-compare -Wno-deprecated-declarations -Wno-array-bounds -Wno-address
CFLAGS += -Wno-int-in-bool-context -Wno-format-truncation -Wno-stringop-truncation -Wno-sign-compare
CFLAGS += -Wno-deprecated-enum-enum-conversion
CFLAGS += -L/usr/local/lib32/gcc10 -L/usr/lib32/
CFLAGS += -Wl,-rpath=/usr/local/lib32/gcc10
CXXFLAGS = -std=c++20

ifeq ($(ENABLE_STATIC), 1)
CFLAGS += -static
endif

ifeq ($(GccMinorEGT8), 1)
CFLAGS += -Wno-unused-local-typedefs
endif

# FreeBSD stack protector
CFLAGS += -fstack-protector-all

# Version defines
CFLAGS += -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__GAME_VERSION__=\"$(GAME_VERSION)\"

# Boost
INCDIR += -I../../../Extern/include/boost

# DevIL
INCDIR += -I../../../Extern/include/IL
LIBS += ../../../Extern/lib/libIL.a

#mariadb
# MySQL
INCDIR += -I/usr/local/include/mysql
LIBS += /usr/local/lib/mysql/libmariadbclient.a /usr/lib/libz.a
#mariadb

# CryptoPP
LIBS += ../../../Extern/lib/libcryptopp.a

# GTest
ifeq ($(ENABLE_GOOGLE_TEST), 1)
LIBS += /usr/local/lib/libgtest.a
CFLAGS += -DENABLE_GOOGLE_TEST
endif

# OpenSSL
INCDIR += -I/usr/include
LIBS += -lssl -lcrypto

# Lua
CFLAGS += -DENABLE_LUA_5_VERSION=ENABLE_LUA_5_VERSION
ifeq ($(ENABLE_LUA_5_VERSION), 2)
INCDIR += -I../../liblua/5.2/install/include
LIBDIR += -L../../liblua/5.2/install/lib
LIBS += ../../liblua/5.2/install/lib/liblua.a
else
INCDIR += -I../../liblua/5.0/include
LIBDIR += -L../../liblua/5.0/lib
LIBS += ../../liblua/5.0/lib/liblua.a ../../liblua/5.0/lib/liblualib.a
endif

# Project Libraries
INCDIR += -I../../../Extern/include
INCDIR += -I/usr/local/include
LIBDIR += -L/usr/local/lib

LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib
LIBS += -lthecore -lpoly -lsql -lgame

# PROJECT_SRC_FILES BEGIN
MAINCPP = main.cpp

CFILE    = minilzo.c

CPPFILE = FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp ani.cpp\
          arena.cpp banword.cpp battle.cpp blend_item.cpp buffer_manager.cpp building.cpp castle.cpp\
          char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp\
          char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp\
          cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp\
          desc_client.cpp desc_manager.cpp desc_p2p.cpp dungeon.cpp empire_text_convert.cpp entity.cpp\
          entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp\
          guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp\
          input_login.cpp input_main.cpp input_p2p.cpp input_udp.cpp\
          item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp\
          locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp\
          messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp\
          party.cpp polymorph.cpp priv_manager.cpp pvp.cpp\
          questevent.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_building.cpp\
          questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_game.cpp questlua_global.cpp\
          questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp\
          questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp\
          questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp\
          refine.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp\
          skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp\
          wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp\
          BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp\
          skill_power.cpp affect.cpp\
          FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp\
          buff_on_attributes.cpp dragon_soul_table.cpp DragonSoul.cpp\
          group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp\
          shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp shutdown_manager.cpp\
          questlua_dnd.cpp
# PROJECT_SRC_FILES END

# PROJECT_OBJ_FILES BEGIN
COBJS    = $(CFILE:%.c=$(OBJDIR)/%.o)
CPPOBJS    = $(CPPFILE:%.cpp=$(OBJDIR)/%.o)
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
CDEPS    = $(COBJS:%.o=%.d)
CPPDEPS    = $(CPPOBJS:%.o=%.d)
endif

MAINOBJ = $(MAINCPP:%.cpp=$(OBJDIR)/%.o)
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
MAINDEPS = $(MAINOBJ:%.o=%.d)
endif

# PROJECT_OBJ_FILES END

# Target Paths
MAIN_TARGET = $(BINDIR)/game_r$(GAME_VERSION)

default: $(MAIN_TARGET)

$(OBJDIR)/%.o: %.c
    @echo compiling $<
    @$(CXX) $(CFLAGS) $(INCDIR) -c $< -o $@
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
    @$(CXX) -MM -MG -MP $(CFLAGS) $(INCDIR) -c $< -o $(OBJDIR)/$*.d
    @sed -i '' -e's/$*.o:/$(OBJDIR)\/$*.o:/g' $(OBJDIR)/$*.d
endif

$(OBJDIR)/%.o: %.cpp
    @echo compiling $<
    @$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCDIR) -c $< -o $@
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
    @$(CXX) -MM -MG -MP $(CFLAGS) $(CXXFLAGS) $(INCDIR) -c $< -o $(OBJDIR)/$*.d
    @sed -i '' -e's/$*.o:/$(OBJDIR)\/$*.o:/g' $(OBJDIR)/$*.d
endif

limit_time:
    @echo update limit time
    @python update_limit_time.py

$(MAIN_TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ)
    @echo linking $(MAIN_TARGET)
    @$(CXX) $(CFLAGS) $(CXXFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(MAIN_TARGET)

symlink:
    @ln -fs game_r$(GAME_VERSION) $(BINDIR)/game_symlink

strip:
    @cp $(MAIN_TARGET) $(BINDIR)/game_r
    @strip $(BINDIR)/game_r

clean:
    @echo cleaning $(MAIN_TARGET) $(OBJDIR)
    @rm -f $(COBJS) $(CPPOBJS) $(MAINOBJ)
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
    @rm -f $(CDEPS) $(CPPDEPS) $(MAINDEPS)
endif
    @rm -f $(BINDIR)/game_r*

dep:
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
    @echo "Note: gcc autodepend is autodetected, so target dep skipped"
else
    makedepend -f $(DEPFILE) $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(CPPFILE) $(CFILE) $(MAINCPP) 2> /dev/null > $(DEPFILE)
endif

# AUTO_DEPEND_CHECK BEGIN
ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
sinclude $(CDEPS)
sinclude $(CPPDEPS)
sinclude $(MAINDEPS)
else
sinclude $(DEPFILE)
endif
# AUTO_DEPEND_CHECK END


kaç olmalı ram hocam 4gb verdim aslında
Bilmiyorum 6 - 8gb yap yada . yüklediğiniz dosya sayısından disk dolmuş olabilir gereksiz dosyaları silip logları temizleyebilirsiniz.
 
Kod:
Genişlet Daralt Kopyala
No symbol table info available.
#7  0x28d4f558 in ?? ()
No symbol table info available.
#8  0x080c07fb in ?? ()
No symbol table info available.
#9  0x2b7c53e0 in ?? ()
No symbol table info available.
#10 0x08148966 in ?? ()
No symbol table info available.
#11 0x38fee000 in ?? ()
No symbol table info available.
#12 0x081334f8 in ?? ()
No symbol table info available.
#13 0x38a0439c in ?? ()
No symbol table info available.
#14 0x081088c9 in ?? ()
No symbol table info available.
#15 0x38a0439c in ?? ()
No symbol table info available.
#16 0x08232315 in ?? ()
No symbol table info available.
#17 0x38a04300 in ?? ()
No symbol table info available.
#18 0x0823253e in ?? ()
No symbol table info available.
#19 0x2905d0c0 in ?? ()
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--Quit
(gdb) bt
#0  0x08108abb in ?? ()
#1  0x29012000 in ?? ()
#2  0x0814baee in ?? ()
#3  0x00000001 in ?? ()
#4  0xffbfb246 in ?? ()
#5  0x08151072 in ?? ()
#6  0x28c8b1b3 in ?? ()
#7  0x28d4f558 in ?? ()
#8  0x080c07fb in ?? ()
#9  0x2b7c53e0 in ?? ()
#10 0x08148966 in ?? ()
#11 0x38fee000 in ?? ()
#12 0x081334f8 in ?? ()
#13 0x38a0439c in ?? ()
#14 0x081088c9 in ?? ()
#15 0x38a0439c in ?? ()
#16 0x08232315 in ?? ()
#17 0x38a04300 in ?? ()
#18 0x0823253e in ?? ()
#19 0x2905d0c0 in ?? ()
#20 0x0807217d in ?? ()
#21 0x00000000 in ?? ()
(gdb) bt full
#0  0x08108abb in ?? ()
No symbol table info available.
#1  0x29012000 in ?? ()
No symbol table info available.
#2  0x0814baee in ?? ()
No symbol table info available.
#3  0x00000001 in ?? ()
No symbol table info available.
#4  0xffbfb246 in ?? ()
No symbol table info available.
#5  0x08151072 in ?? ()
No symbol table info available.
#6  0x28c8b1b3 in ?? ()
No symbol table info available.
#7  0x28d4f558 in ?? ()
No symbol table info available.
#8  0x080c07fb in ?? ()
No symbol table info available.
#9  0x2b7c53e0 in ?? ()
No symbol table info available.
#10 0x08148966 in ?? ()
No symbol table info available.
#11 0x38fee000 in ?? ()
No symbol table info available.
#12 0x081334f8 in ?? ()
No symbol table info available.
#13 0x38a0439c in ?? ()
No symbol table info available.
#14 0x081088c9 in ?? ()
No symbol table info available.
#15 0x38a0439c in ?? ()
No symbol table info available.
#16 0x08232315 in ?? ()
No symbol table info available.
#17 0x38a04300 in ?? ()
No symbol table info available.
#18 0x0823253e in ?? ()
No symbol table info available.
#19 0x2905d0c0 in ?? ()
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--bt
#20 0x0807217d in ?? ()
No symbol table info available.
#21 0x00000000 in ?? ()
No symbol table info available.
(gdb) bt
#0  0x08108abb in ?? ()
#1  0x29012000 in ?? ()
#2  0x0814baee in ?? ()
#3  0x00000001 in ?? ()
#4  0xffbfb246 in ?? ()
#5  0x08151072 in ?? ()
#6  0x28c8b1b3 in ?? ()
#7  0x28d4f558 in ?? ()
#8  0x080c07fb in ?? ()
#9  0x2b7c53e0 in ?? ()
#10 0x08148966 in ?? ()
#11 0x38fee000 in ?? ()
#12 0x081334f8 in ?? ()
#13 0x38a0439c in ?? ()
#14 0x081088c9 in ?? ()
#15 0x38a0439c in ?? ()
#16 0x08232315 in ?? ()
#17 0x38a04300 in ?? ()
#18 0x0823253e in ?? ()
#19 0x2905d0c0 in ?? ()
#20 0x0807217d in ?? ()

btfull bt vs yaptığımda sadece bu hex codelarını veriyor, satır, hangi kod hatalı vs bunları nasıl öğrenebilirim ?

GDB Versionum :
GNU gdb (GDB) 15.1 [GDB v15.1 for FreeBSD]
CC = gcc10
CXX = g++10

gdb 10 sürümünü bulamadığım için kuramadım ancak biryerde üst sürüm olması önemli değil gibi bişey okumuştum. Eğer onla alakalıysa nasıl gdb 10 kurabilirim bilmiyorum

FTP'den bir fotoğraf atar mısın ? Corenin olduğu yeri
 
Hocam şuan mobilim ama normal game_41xxx.core şeklinde core vermişti db'yide açamıyorum uzun süredir böyle martysama 5.8
büyük ihtimalle kısayol olarak game orada bulunuyor şöyle dene.

file srv1-ch1-core1

core game_rxxx.core

bt full

ch ve core yi aldığın kanal ve coreye göre değiştir sorunun çözülür
 
Çözüm
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst