Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Breakpoint 1, StartElement (userData=0xbfbf7560, name=0x2b920c00 "element", attrs=0x29455800) at config.cpp:1191
- 1191 ps->charData[ps->level] = _T("");
- "config.cpp:1191"(gdb)
- (gdb) s
- String::operator= (this=0xbfbf7974, pszStr=0x2852ead4 L"") at string.cpp:67
- 67 safe_free(m_pszBuffer);
- (gdb) bt
- #0 String::operator= (this=0xbfbf7974, pszStr=0x2852ead4 L"") at string.cpp:67
- #1 0x284fa586 in StartElement (userData=0xbfbf7560, name=0x2b920c00 "element", attrs=0x29455800) at config.cpp:1191
- #2 0x2869e395 in doContent () from /usr/local/lib/libexpat.so.1
- #3 0x2869bb61 in contentProcessor () from /usr/local/lib/libexpat.so.1
- #4 0x2869b4de in doProlog () from /usr/local/lib/libexpat.so.1
- #5 0x286a11a6 in prologInitProcessor () from /usr/local/lib/libexpat.so.1
- #6 0x28696b6f in XML_ParseBuffer () from /usr/local/lib/libexpat.so.1
- #7 0x286967d7 in XML_Parse () from /usr/local/lib/libexpat.so.1
- #8 0x284fa40b in Config::loadXmlConfigFromMemory (this=0x294b0f20,
- xml=0x2b8aae80 "<element>\n <type>1</type>\n <posX>2934</posX>\n <posY>2527</posY>\n <objectId>1339</objectId>\n</element>\n", xmlSize=114,
- name=0x2835f360 L"<\000\000\000d\000\000\000a\000\000\000t\000\000\000a\000\000\000b\000\000\000a\000\000\000s\000\000\000e\000\000\000>\000\000\000",
- topLevelTag=0x2835ffc4 "element", merge=true) at config.cpp:1308
- #9 0x2816f931 in NetworkMap::CreateFromDB (this=0x2a2e3a00, dwId=138) at netmap.cpp:408
- #10 0x281b6e4c in LoadObjects () at objects.cpp:1482
- #11 0x2815ac78 in Initialize () at main.cpp:777
- #12 0x0804925b in main (argc=4, argv=0xbfbfec04) at netxmsd.cpp:455
- (gdb) s
- 68 m_pszBuffer = _tcsdup(CHECK_NULL_EX(pszStr));
- (gdb) s
- Program received signal SIGSEGV, Segmentation fault.
- 0x28ba544e in memcpy () from /lib/libc.so.7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement