Thread: SOF bug
View Single Post
  #10  
Old 04-11-2011, 12:33 AM
KingMort
Banned
 
Join Date: Sep 2006
Posts: 841
Default

Right yeah they are both the same now , it could be something with some items added recently. I'll also have to go in and check out the inventory table.

Thing's I've done THUS FAR:

* Replaced all .conf files
* Gone to latest build
* Confirmed Items Table is the same as PEQ

Here are the two core drops from today , Assuming one of them is yours Trev thanks for the help testing.

Code:
Core was generated by `./zone'.
Program terminated with signal 11, Segmentation fault.
[New process 4633]
[New process 4639]
[New process 4638]
[New process 4637]
[New process 4636]
#0  0x00007fed88b29e42 in std::locale::operator= ()
   from /usr/lib/libstdc++.so.6
(gdb) frame 1
#1  0x00007fed88b28a02 in std::ios_base::_M_init ()
   from /usr/lib/libstdc++.so.6
(gdb) list
153
154     //bool ZoneBootup(int32 iZoneID, bool iStaticZone = false);
155     //char *strsep(char **stringp, const char *delim);
156
157     #ifdef ADDONCMD
158     #include "addoncmd.h"
159     extern  AddonCmd addonCmd;
160     #endif
161
162     int main(int argc, char** argv) {
(gdb) frame 2
#2  0x00007fed88b3be69 in std::basic_ios<char, std::char_traits<char> >::init
    () from /usr/lib/libstdc++.so.6
(gdb) list
163             const char *zone_name;
164
165             if(argc == 3) {
166                     worldserver.SetLauncherName(argv[2]);
167                     worldserver.SetLaunchedName(argv[1]);
168                     if(strncmp(argv[1], "dynamic_", 8) == 0) {
169                             //dynamic zone with a launcher name correlation
170                             zone_name = ".";
171                     } else {
172                             zone_name = argv[1];
(gdb) frame 3
#3  0x000000000073503b in SoD::Strategy::Encode_OP_ZonePlayerToBind (
    p=0x7fffffffe0e8, dest=0x7fed741e98f0, ack_req=<value optimized out>)
    at /usr/include/c++/4.3/istream:587
587           { this->init(0); }
(gdb) list
582           //@}
583
584         protected:
585           basic_istream()
586           : _M_gcount(streamsize(0))
587           { this->init(0); }
588
589           template<typename _ValueT>
590             __istream_type&
591             _M_extract(_ValueT& __v);
(gdb) frame 4
#4  0x0000000000735d64 in StructStrategy::Encode (this=0x7fed88dbdf00,
    p=0x7fffffffdf48, dest=0x7fffffffdd40, ack_req=72)
    at ../common/StructStrategy.cpp:22
22              proc(p, dest, ack_req);
(gdb) list
17      }
18
19      void StructStrategy::Encode(EQApplicationPacket **p, EQStream *dest, bool ack_req) const {
20              EmuOpcode op = (*p)->GetOpcode();
21              Encoder proc = encoders[op];
22              proc(p, dest, ack_req);
23      }
24
25      void StructStrategy::Decode(EQApplicationPacket *p) const {
26              EmuOpcode op = p->GetOpcode();
(gdb) frame 5
#5  0x000000000070790f in EQStreamProxy::FastQueuePacket (
    this=<value optimized out>, p=0x7fffffffdd40, ack_req=224)
    at ../common/EQStreamProxy.cpp:36
36              m_structs->Encode(p, m_stream, ack_req);
(gdb) list
31      }
32
33      void EQStreamProxy::FastQueuePacket(EQApplicationPacket **p, bool ack_req) {
34              if(p == NULL || *p == NULL)
35                      return;
36              m_structs->Encode(p, m_stream, ack_req);
37      }
38
39      EQApplicationPacket *EQStreamProxy::PopPacket() {
40              EQApplicationPacket *pack = m_stream->PopPacket();
(gdb)
Code:
Core was generated by `./zone'.
Program terminated with signal 11, Segmentation fault.
[New process 4641]
[New process 4647]
[New process 4646]
[New process 4645]
[New process 4644]
#0  0x00007f18f325ee42 in std::locale::operator= ()
   from /usr/lib/libstdc++.so.6
(gdb) frame 1
#1  0x00007f18f325da02 in std::ios_base::_M_init ()
   from /usr/lib/libstdc++.so.6
(gdb) list
153
154     //bool ZoneBootup(int32 iZoneID, bool iStaticZone = false);
155     //char *strsep(char **stringp, const char *delim);
156
157     #ifdef ADDONCMD
158     #include "addoncmd.h"
159     extern  AddonCmd addonCmd;
160     #endif
161
162     int main(int argc, char** argv) {
(gdb) frame 2
#2  0x00007f18f3270e69 in std::basic_ios<char, std::char_traits<char> >::init
    () from /usr/lib/libstdc++.so.6
(gdb) list
163             const char *zone_name;
164
165             if(argc == 3) {
166                     worldserver.SetLauncherName(argv[2]);
167                     worldserver.SetLaunchedName(argv[1]);
168                     if(strncmp(argv[1], "dynamic_", 8) == 0) {
169                             //dynamic zone with a launcher name correlation
170                             zone_name = ".";
171                     } else {
172                             zone_name = argv[1];
(gdb) frame 3
#3  0x00000000007314df in SoD::SerializeItem (inst=0x7f18e800ae50,
    slot_id_in=22, length=0x7fffffffb114, depth=0 '\0')
    at /usr/include/c++/4.3/istream:587
587           { this->init(0); }
(gdb) list
582           //@}
583
584         protected:
585           basic_istream()
586           : _M_gcount(streamsize(0))
587           { this->init(0); }
588
589           template<typename _ValueT>
590             __istream_type&
591             _M_extract(_ValueT& __v);
(gdb) frame 4
#4  0x0000000000732f19 in SoD::Strategy::Encode_OP_CharInventory (
    p=<value optimized out>, dest=0x7f18e060f9e0, ack_req=true)
    at ../common/patches/SoD.cpp:1250
1250                    char* Serialized = SerializeItem((const ItemInst*)eq->inst, eq->slot_id, &Length, 0);
(gdb) list
1245
1246            for(int r = 0; r < ItemCount; r++, eq++) {
1247
1248                    uint32 Length = 0;
1249
1250                    char* Serialized = SerializeItem((const ItemInst*)eq->inst, eq->slot_id, &Length, 0);
1251
1252                    if(Serialized) {
1253
1254                            uchar *OldBuffer = in->pBuffer;
(gdb) frame 5
#5  0x0000000000735d64 in StructStrategy::Encode (this=0x7f18f34f2f00,
    p=0x7fffffffaca8, dest=0x7fffffffaa60, ack_req=72)
    at ../common/StructStrategy.cpp:22
22              proc(p, dest, ack_req);
(gdb) list
17      }
18
19      void StructStrategy::Encode(EQApplicationPacket **p, EQStream *dest, bool ack_req) const {
20              EmuOpcode op = (*p)->GetOpcode();
21              Encoder proc = encoders[op];
22              proc(p, dest, ack_req);
23      }
24
25      void StructStrategy::Decode(EQApplicationPacket *p) const {
26              EmuOpcode op = p->GetOpcode();
(gdb)
Reply With Quote