Avbot 8.0.0.1883 本地64位win 7编译版的异常


#1

早上更新代码,编译了最新的版本,运行后发现2个问题:

1,我的配置文件中只有qq号码和密码(再加一个空行,总共就3行) 怎么会提示 now try to auto resovle it … …

2,我手工输入了验证码,输入错误后竟然导致程序停止工作。 编译的时候只有警告,没有报错啊

C:\ws\avbot_ws\build_office>make

[ 1%] Built target avbotgui [ 16%] Built target soci_core [ 16%] Built target sqlite3 [ 24%] Built target soci_sqlite3 Scanning dependencies of target webqq [ 25%] Building CXX object libwebqq/CMakeFiles/webqq.dir/webqq.cpp.obj In file included from C:\ws\avbot_git\avbot_office\libwebqq\webqq.cpp:31:0: C:\ws\avbot_git\avbot_office\libwebqq\impl/webqq_impl.hpp:98:21: warning: ‘webqq ::qqimpl::WebQQ’ declared with greater visibility than the type of its field ‘we bqq::qqimpl::WebQQ::m_verifycode’ [-Wattributes] class SYMBOL_HIDDEN WebQQ : public boost::enable_shared_from_this ^ [ 26%] Building CXX object libwebqq/CMakeFiles/webqq.dir/impl/webqq_face.cpp.obj

In file included from C:\ws\avbot_git\avbot_office\libwebqq\impl\webqq_face.cpp: 21:0: C:\ws\avbot_git\avbot_office\libwebqq\impl\webqq_impl.hpp:98:21: warning: ‘webqq ::qqimpl::WebQQ’ declared with greater visibility than the type of its field ‘we bqq::qqimpl::WebQQ::m_verifycode’ [-Wattributes] class SYMBOL_HIDDEN WebQQ : public boost::enable_shared_from_this ^ [ 26%] Building CXX object libwebqq/CMakeFiles/webqq.dir/impl/webqq_impl.cpp.obj

In file included from C:\ws\avbot_git\avbot_office\libwebqq\impl\webqq_impl.cpp: 42:0: C:\ws\avbot_git\avbot_office\libwebqq\impl\webqq_impl.hpp:98:21: warning: ‘webqq ::qqimpl::WebQQ’ declared with greater visibility than the type of its field ‘we bqq::qqimpl::WebQQ::m_verifycode’ [-Wattributes] class SYMBOL_HIDDEN WebQQ : public boost::enable_shared_from_this ^ [ 27%] Building CXX object libwebqq/CMakeFiles/webqq.dir/impl/webqq_loop.cpp.obj

In file included from C:\ws\avbot_git\avbot_office\libwebqq\impl\webqq_loop.cpp: 7:0: C:\ws\avbot_git\avbot_office\libwebqq\impl\webqq_impl.hpp:98:21: warning: ‘webqq ::qqimpl::WebQQ’ declared with greater visibility than the type of its field ‘we bqq::qqimpl::WebQQ::m_verifycode’ [-Wattributes] class SYMBOL_HIDDEN WebQQ : public boost::enable_shared_from_this ^ Linking CXX static library libwebqq.a [ 29%] Built target webqq [ 30%] Built target irc [ 86%] Built target gloox [ 88%] Built target xmpp [ 89%] Built target mailexchange [ 90%] Built target libavbot [ 90%] Built target avlog Scanning dependencies of target extension [ 91%] Building CXX object extension/CMakeFiles/extension.dir/extension.cpp.obj [ 92%] Building CXX object extension/CMakeFiles/extension.dir/joke.cpp.obj [ 93%] Building CXX object extension/CMakeFiles/extension.dir/urlpreview.cpp.obj

Linking CXX static library libextension.a [ 94%] Built target extension Scanning dependencies of target avbot [ 94%] Building CXX object CMakeFiles/avbot.dir/avbot_rpc_server.cpp.obj [ 95%] Building CXX object CMakeFiles/avbot.dir/main.cpp.obj [ 96%] Building RC object CMakeFiles/avbot.dir/avbot.rc.obj Linking CXX executable avbot.exe c:/ws/mingw11.1/mingw/bin/…/lib/gcc/x86_64-w64-mingw32/4.8.1/…/…/…/…/x86_64 -w64-mingw32/bin/ld.exe: skipping incompatible C:\ws\avbot_git\avbot_office\open ssl\lib\libssl.a when searching for -lssl c:/ws/mingw11.1/mingw/bin/…/lib/gcc/x86_64-w64-mingw32/4.8.1/…/…/…/…/x86_64 -w64-mingw32/bin/ld.exe: skipping incompatible C:\ws\avbot_git\avbot_office\open ssl\lib\libcrypto.a when searching for -lcrypto c:/ws/mingw11.1/mingw/bin/…/lib/gcc/x86_64-w64-mingw32/4.8.1/…/…/…/…/x86_64 -w64-mingw32/bin/ld.exe: skipping incompatible C:\ws\avbot_git\avbot_office\libs formingw32\mingw32\libiconv.a when searching for -liconv c:/ws/mingw11.1/mingw/bin/…/lib/gcc/x86_64-w64-mingw32/4.8.1/…/…/…/…/x86_64 -w64-mingw32/bin/ld.exe: skipping incompatible C:\ws\avbot_git\avbot_office\libs formingw32\mingw32\libiconv.a when searching for -liconv [100%] Built target avbot

C:\ws\avbot_ws\build_office>cd “C:\ws\avbot_ws”


#2

补充:

这次还是在第一次登陆的qq群信息小时后,不响应ping指令,过了约6分钟(08:40:44–08:46:44)重新登陆。 第二次登陆显示登陆成功后

源代码才看了一小部分,还有些没有看懂,实际上没有发言权。

不过我现在怀疑的是:没有配置其他信息,是否导致了某些失败的链接尝试(比如irc和xmpp)。


#3

又见一个报错


#4

补全配置文件内容吧…


#5

[2013-09-03 18:53:30.505091] [0x00001cd0] [info] status => online [2013-09-03 18:53:30.512091] [0x00001cd0] [debug] getting group list [2013-09-03 18:53:30.789107] [0x00001cd0] [debug] update_group_list_op start!

[2013-09-03 18:53:30.939116] [0x00001cd0] [info] qq群 1092859448 敏捷之旅 [2013-09-03 18:53:31.050122] [0x00001cd0] [info] qq群 378735882 Lotus Notes中 文社区 [2013-09-03 18:53:31.162128] [0x00001cd0] [info] qq群 2264377497 企业信息化CA MP [2013-09-03 18:53:31.295136] [0x00001cd0] [info] qq群 372952362 果园营地 [2013-09-03 18:53:31.406142] [0x00001cd0] [info] qq群 3782979711 物流120(夜 升) [2013-09-03 18:53:31.645156] [0x00001cd0] [info] qq群 2777214829 物流120(夜升 ) [2013-09-03 18:53:31.817166] [0x00001cd0] [info] qq群 1471181567 上海物流电子 商务群 [2013-09-03 18:53:32.632213] [0x00001cd0] [debug] update_group_member_op star t! [2013-09-03 18:56:17.322632] [0x00001cd0] [debug] update_group_member_op star t! [2013-09-03 18:57:25.929556] [0x00001cd0] [debug] update_group_member_op star t! [2013-09-03 18:57:30.328808] [0x00001cd0] [debug] update_group_member_op star t! [2013-09-03 18:57:58.730432] [0x00001cd0] [debug] update_group_member_op star t! [2013-09-03 18:58:01.241576] [0x00001cd0] [debug] update_group_member_op star t! [2013-09-03 18:58:15.231376] [0x00001cd0] [debug] update_group_member_op star t! [2013-09-03 19:00:20.527543] [0x00001cd0] [debug] poll_message_op start! [2013-09-03 19:00:20.537543] [0x00001cd0] [debug] poll_message_op network ret code=121 [2013-09-03 19:01:20.742987] [0x00001cd0] [debug] Get webqq version from http: //ui.ptlogin2.qq.com/cgi-bin/ver [2013-09-03 19:01:21.485029] [0x00001cd0] [info] Get webqq version: 201309020 931 [2013-09-03 19:01:25.359251] [0x00001cd0] [info] got vercode from TX, now try to auto resovle it … …