Jump to content

channel1 down game.core


Recommended Posts

ch1 down game.core ;

 

Core was generated by `game'.
Program terminated with signal 11, Segmentation fault.
Loaded symbols for /usr/lib32/libmd.so.4
Loaded symbols for /usr/lib32/libz.so.4
Reading symbols from /usr/lib32/libstdc++.so.6...Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/lib32/libstdc++.so.6]
Loaded symbols for /usr/lib32/libm.so.5
Loaded symbols for /usr/lib32/libgcc_s.so.1
Loaded symbols for /usr/lib32/libthr.so.3
Loaded symbols for /usr/lib32/libc.so.7
Loaded symbols for /libexec/ld-elf32.so.1
#0  0x080a95ef in CParty::ForEachOnlineMember<NPartyPickupDistribute::FFindOwnership> ()
[New Thread 290030b429003d00 (LWP 100136/<unknown>)]
[New Thread 287735e429003a80 (LWP 100132/<unknown>)]
[New Thread 29003d3429003800 (LWP 100131/<unknown>)]
[New Thread 29003ab429003080 (LWP 100120/<unknown>)]
Cannot find new threads: generic error
(gdb) Quit
(gdb) set gnutarget amd64-marcel-freebsd
(gdb) file game
"/usr/game/channel1/game": could not open as an executable file: Invalid bfd target
(gdb) core game.core
/usr/game/channel1/game.core: No error: 0.
(gdb) set gnutarget i386-marcel-freebsd
(gdb) file game
Reading symbols from game...(no debugging symbols found)...done.
/usr/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c:484: internal-error: void fbsd_thread_new_objfile(struct objfile *): Assertion `proc_handle.pid == 0' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y^[[6

/usr/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c:484: internal-error: void fbsd_thread_new_objfile(struct objfile *): Assertion `proc_handle.pid == 0' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n)
Please answer y or n.
Segmentation fault (core dumped)
root@vogue:/usr/game/channel1 # quit
quit: Command not found.
root@vogue:/usr/game/channel1 # gdb
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".
(gdb) set gnutarget i386-marcel-freebsd
(gdb) file game
Reading symbols from game...(no debugging symbols found)...done.
(gdb) core game.core
Core was generated by `game'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib32/libmd.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libmd.so.4
Reading symbols from /usr/lib32/libz.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libz.so.4
Reading symbols from /usr/lib32/libstdc++.so.6...Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/lib32/libstdc++.so.6]
Reading symbols from /usr/lib32/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libm.so.5
Reading symbols from /usr/lib32/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libgcc_s.so.1
Reading symbols from /usr/lib32/libthr.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libthr.so.3
Reading symbols from /usr/lib32/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /usr/lib32/libc.so.7
Reading symbols from /libexec/ld-elf32.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf32.so.1
#0  0x080a95ef in CParty::ForEachOnlineMember<NPartyPickupDistribute::FFindOwnership> ()
[New Thread 290030b429003d00 (LWP 100136/<unknown>)]
[New Thread 287735e429003a80 (LWP 100132/<unknown>)]
[New Thread 29003d3429003800 (LWP 100131/<unknown>)]
[New Thread 29003ab429003080 (LWP 100120/<unknown>)]
Cannot find new threads: generic error
(gdb) bt full
#0  0x080a95ef in CParty::ForEachOnlineMember<NPartyPickupDistribute::FFindOwnership> ()
No symbol table info available.
#1  0x08099159 in CHARACTER::PickupItem ()
No symbol table info available.
#2  0x08144f5c in CInputMain::Analyze ()
No symbol table info available.
#3  0x0812f20b in CInputProcessor::Process ()
No symbol table info available.
#4  0x080f9413 in DESC::ProcessInput ()
No symbol table info available.
#5  0x0823243b in io_loop ()
No symbol table info available.
#6  0x08232ffe in idle ()
No symbol table info available.
#7  0x08234706 in main ()
No symbol table info available.

 

#0  0x080a95ef in CParty::ForEachOnlineMember<NPartyPickupDistribute::FFindOwner                                                                                        ship> ()
No symbol table info available.
#1  0x08099159 in CHARACTER::PickupItem ()
No symbol table info available.
#2  0x08144f5c in CInputMain::Analyze ()
No symbol table info available.
#3  0x0812f20b in CInputProcessor::Process ()
No symbol table info available.
#4  0x080f9413 in DESC::ProcessInput ()
No symbol table info available.
#5  0x0823243b in io_loop ()
No symbol table info available.
#6  0x08232ffe in idle ()
No symbol table info available.
#7  0x08234706 in main ()
No symbol table info available.

 

#0  0x080a95ef in CParty::ForEachOnlineMember<NPartyPickupDistribute::FFindOwner                                                                                        ship> ()
No symbol table info available.
#1  0x08099159 in CHARACTER::PickupItem ()
No symbol table info available.
#2  0x08144f5c in CInputMain::Analyze ()
No symbol table info available.
#3  0x0812f20b in CInputProcessor::Process ()
No symbol table info available.
#4  0x080f9413 in DESC::ProcessInput ()
No symbol table info available.
#5  0x0823243b in io_loop ()
No symbol table info available.
#6  0x08232ffe in idle ()
No symbol table info available.
#7  0x08234706 in main ()
No symbol table info available.

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

open char_item.cpp


namespace NPartyPickupDistribute :Change code block
 

namespace NPartyPickupDistribute
{
    struct FFindOwnership
    {
        LPITEM item;
        LPCHARACTER owner;

        FFindOwnership(LPITEM item) 
            : item(item), owner(NULL)
        {
        }

        void operator () (LPCHARACTER ch)
        {
            if (item->IsOwnership(ch))
                owner = ch;
        }
    };

    struct FCountNearMember
    {
        int        total;
        int        x, y;

        FCountNearMember(LPCHARACTER center )
            : total(0), x(center->GetX()), y(center->GetY())
        {
        }

        void operator () (LPCHARACTER ch)
        {
            if (DISTANCE_APPROX(ch->GetX() - x, ch->GetY() - y) <= PARTY_DEFAULT_RANGE)
                total += 1;
        }
    };

    struct FMoneyDistributor
    {
        int        total;
        LPCHARACTER    c;
        int        x, y;
        int        iMoney;

        FMoneyDistributor(LPCHARACTER center, int iMoney) 
            : total(0), c(center), x(center->GetX()), y(center->GetY()), iMoney(iMoney) 
        {
        }

        void operator ()(LPCHARACTER ch)
        {
            if (ch!=c)
                if (DISTANCE_APPROX(ch->GetX() - x, ch->GetY() - y) <= PARTY_DEFAULT_RANGE)
                {
                    ch->PointChange(POINT_GOLD, iMoney, true);

                    if (iMoney > 1000) // 천원 이상만 기록한다.
                        LogManager::instance().CharLog(ch, iMoney, "GET_GOLD", "");
                }
        }
    };
}

I think you tried to make a change to the item that falls in the name of someone else while in the group.
Using each encoding is only safe.

Link to comment
Share on other sites

4 hours ago, Daenerys said:

open char_item.cpp


namespace NPartyPickupDistribute :Change code block
 

namespace NPartyPickupDistribute
{
    struct FFindOwnership
    {
        LPITEM item;
        LPCHARACTER owner;

        FFindOwnership(LPITEM item) 
            : item(item), owner(NULL)
        {
        }

        void operator () (LPCHARACTER ch)
        {
            if (item->IsOwnership(ch))
                owner = ch;
        }
    };

    struct FCountNearMember
    {
        int        total;
        int        x, y;

        FCountNearMember(LPCHARACTER center )
            : total(0), x(center->GetX()), y(center->GetY())
        {
        }

        void operator () (LPCHARACTER ch)
        {
            if (DISTANCE_APPROX(ch->GetX() - x, ch->GetY() - y) <= PARTY_DEFAULT_RANGE)
                total += 1;
        }
    };

    struct FMoneyDistributor
    {
        int        total;
        LPCHARACTER    c;
        int        x, y;
        int        iMoney;

        FMoneyDistributor(LPCHARACTER center, int iMoney) 
            : total(0), c(center), x(center->GetX()), y(center->GetY()), iMoney(iMoney) 
        {
        }

        void operator ()(LPCHARACTER ch)
        {
            if (ch!=c)
                if (DISTANCE_APPROX(ch->GetX() - x, ch->GetY() - y) <= PARTY_DEFAULT_RANGE)
                {
                    ch->PointChange(POINT_GOLD, iMoney, true);

                    if (iMoney > 1000) // 천원 이상만 기록한다.
                        LogManager::instance().CharLog(ch, iMoney, "GET_GOLD", "");
                }
        }
    };
}

I think you tried to make a change to the item that falls in the name of someone else while in the group.
Using each encoding is only safe.

I'm using 34083 game :S

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.