Comments (4)
Reading the source code and the package you posted, I couldn't believe that the assertion is failed. This package is sent by the server to ask the client whether to play an "invincible" card against sgs5's "amazinggrace". But all three parameters are strings, therefore shouldn't fail the assertion. I would be really surprised if this assertion fail... Can you upload the dump file in your dmp directory?
from qsanguosha.
well, the core file is 209M... do you really want it?
Server often core dumps and things may be clearer when I print all RX and TX packets in nativesocket.cpp.
I'll re-compile with debug and try more.
from qsanguosha.
I'll give you a core dump backtrace:
Core was generated by `./QSanguosha'.
Program terminated with signal 6, Aborted.
#0 0x00007fea01eba445 in GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007fea01eba445 in GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007fea01ebdbab in GI_abort () at abort.c:91
#2 0x00007fea01eb310e in assert_fail_base (fmt=, assertion=0x7a654d "type == stringValue",
file=0x7a6660 "src/jsoncpp/src/json_value.cpp", line=, function=) at assert.c:94
#3 0x00007fea01eb31b2 in GI___assert_fail (assertion=0x7a654d "type == stringValue", file=0x7a6660 "src/jsoncpp/src/json_value.cpp",
line=692, function=0x7a6d00 "const char* Json::Value::asCString() const") at assert.c:103
#4 0x00000000006a0acb in Json::Value::asCString() const ()
#5 0x00000000006693c9 in QSanRoomSkin::getGeneralPixmapPath(QString const&, QSanRoomSkin::GeneralIconSize) const ()
#6 0x0000000000434022 in Client::askForNullification(Json::Value const&) ()
#7 0x000000000043212d in Client::processServerRequest(QSanProtocol::QSanGeneralPacket const&) ()
#8 0x000000000043dc65 in Client::processServerPacket(char const) ()
#9 0x000000000073b7d1 in Client::qt_static_metacall(QObject, QMetaObject::Call, int, void**) ()
#10 0x00007fea02dfd281 in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x000000000077d18d in ClientSocket::message_got(char const) ()
#12 0x000000000067ded0 in NativeClientSocket::getMessage() ()
#13 0x00007fea02dfd281 in QMetaObject::activate(QObject, QMetaObject const, int, void_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007fea0320c68f in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#15 0x00007fea03214201 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#16 0x00007fea03657894 in QApplicationPrivate::notify_helper(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007fea0365c713 in QApplication::notify(QObject_, QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007fea02de8e9c in QCoreApplication::notifyInternal(QObject_, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007fea02e17a97 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007fea0067ad53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fea0067b0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fea0067b164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fea02e183bf in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007fea036ffd5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007fea02de7c82 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007fea02de7ed7 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007fea02decf67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x000000000042bd56 in main ()
from qsanguosha.
@gaodayihao Another issue with that stupid nullification prompt box. Please
help remove it as soon as possible...
2012/7/17 pansz <
[email protected]
I'll give you a core dump backtrace:
Core was generated by `./QSanguosha'.
Program terminated with signal 6, Aborted.
#0 0x00007fea01eba445 in GI_raise (sig=) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007fea01eba445 in GI_raise (sig=) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007fea01ebdbab in GI_abort () at abort.c:91
#2 0x00007fea01eb310e in assert_fail_base (fmt=,
assertion=0x7a654d "type == stringValue",
file=0x7a6660 "src/jsoncpp/src/json_value.cpp", line=,
function=) at assert.c:94
#3 0x00007fea01eb31b2 in GI___assert_fail (assertion=0x7a654d "type ==
stringValue", file=0x7a6660 "src/jsoncpp/src/json_value.cpp",
line=692, function=0x7a6d00 "const char* Json::Value::asCString()
const") at assert.c:103
#4 0x00000000006a0acb in Json::Value::asCString() const ()
#5 0x00000000006693c9 in QSanRoomSkin::getGeneralPixmapPath(QString
const&, QSanRoomSkin::GeneralIconSize) const ()
#6 0x0000000000434022 in Client::askForNullification(Json::Value const&)
()
#7 0x000000000043212d in
Client::processServerRequest(QSanProtocol::QSanGeneralPacket const&) ()
#8 0x000000000043dc65 in Client::processServerPacket(char const) ()
#9 0x000000000073b7d1 in Client::qt_static_metacall(QObject,
QMetaObject::Call, int, void**) ()
#10 0x00007fea02dfd281 in QMetaObject::activate(QObject, QMetaObject
const, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x000000000077d18d in ClientSocket::message_got(char const) ()
#12 0x000000000067ded0 in NativeClientSocket::getMessage() ()
#13 0x00007fea02dfd281 in QMetaObject::activate(QObject, QMetaObject
const, int, void_) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007fea0320c68f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#15 0x00007fea03214201 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#16 0x00007fea03657894 in QApplicationPrivate::notify_helper(QObject_,
QEvent_) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007fea0365c713 in QApplication::notify(QObject_, QEvent_) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007fea02de8e9c in QCoreApplication::notifyInternal(QObject_,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007fea02e17a97 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007fea0067ad53 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fea0067b0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fea0067b164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fea02e183bf in
QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag)
()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007fea036ffd5e in ?? () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007fea02de7c82 in
QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007fea02de7ed7 in
QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007fea02decf67 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x000000000042bd56 in main ()
Reply to this email directly or view it on GitHub:
#29 (comment)
from qsanguosha.
Related Issues (20)
- Debian wheezy编译错误。 HOT 3
- git 版运行时错误 HOT 2
- 陆逊加淑慎伏皇后死循环 HOT 3
- Linux下4个包无法加载,选将界面看不到图片,怎么解决? HOT 6
- Lua脚本错误 HOT 3
- 2013-06-10 tag 版本linux下编译错误,以前曾经好像编译通过的 HOT 2
- vs2010下调试无图像显示,即使已经拷贝了qjpeg4.dll HOT 1
- Lua error in Kubuntu 12.04 64bit HOT 1
- 继续 make -f linux.mk 编译后无法make install HOT 4
- ubuntu13.04 X64,完全不会编译什么的……能不能帮忙打个deb包或者编译好…… HOT 1
- vs2010 build failed HOT 9
- sp-ai.lua 报错 HOT 2
- 凌统旋风依旧无法发动 HOT 3
- 关于 serverplayer 里面存在的循环依赖的问题。 HOT 1
- 编译时候sanguosha_wrap.cxx好多错误 HOT 11
- 编译问题 HOT 5
- 64位 Fedora 20下编译问题 HOT 10
- 这玩意现在该咋编译= = HOT 16
- [solved]swig/pregen_sanguosha_wrap.cxx编译错误 HOT 6
- windows+qt5下编译问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qsanguosha.