kernelhcy / gtkqq

a qq client based on gtk+ uses webqq protocol
http://code.google.com/p/gtk-qq/
GNU General Public License v3.0
181 stars 42 forks source link

*** stack smashing detected ***: gtkqq terminated #6

Closed gutenye closed 12 years ago

gutenye commented 12 years ago
$ gtkqq
DEBUG : Open db connection to /home/guten/.gtkqq/gtkqq.db (dao.c, 81)
DEBUG : GQQConfig setter: info (gqqconfig.c, 146)
DEBUG : Start Send main loop...(msgloop.c, 36)
DEBUG : DEBUG : Start Get Number and face images main loop...(msgloop.c, 36)Start Get informain main loop...(msgloop.c, 36)
DEBUG : Start login... qqnum: gutenye@qq.com, status: online (loginpanel.c, 314)
DEBUG : Run login state machine...(loginpanel.c, 317)
DEBUG : GQQConfig setter: qqnum (gqqconfig.c, 146)
DEBUG : GQQConfig setter: passwd (gqqconfig.c, 146)
DEBUG : GQQConfig setter: status (gqqconfig.c, 146)
DEBUG : Check veriry code...(qqlogin.c, 45)
DEBUG : check vc return: ptui_checkVC('0','!0GB');(qqlogin.c, 95)
DEBUG : Verify code : !0GB (qqlogin.c, 112)
DEBUG : Cookie ptvfsession=bfea698262ae42180d36810cbff2140a48146358080548f6e59301a94ca371c8007518a4e7122701abcb800a0b3e7eea (qqlogin.c, 32)
DEBUG : Get version...(qqlogin.c, 620)
DEBUG : Content-Length: 20.(url.c, 318)
DEBUG : Version: 1111141030(qqlogin.c, 264)
DEBUG : Login...(qqlogin.c, 634)
DEBUG : Get ptcz and skey...(qqlogin.c, 637)
DEBUG : Success.(qqlogin.c, 376)
DEBUG : Cookie ptcz=1d9b1e37157935df2681d141085f62988f5b6c3b7441111221d02ec22a1032b9 (qqlogin.c, 32)
DEBUG : Cookie skey=@FJrp2hy5m (qqlogin.c, 32)
DEBUG : Cookie ptwebqq=5e999da7c5ee9faab7d04b5f4bbe3d149e7b122a8b5c028c15543acd50bda7fb (qqlogin.c, 32)
DEBUG : Cookie ptuserinfo=477574656e205965 (qqlogin.c, 32)
DEBUG : Cookie uin=o0993829730 (qqlogin.c, 32)
DEBUG : Cookie ptisp=ctc (qqlogin.c, 32)
DEBUG : Cookie pt2gguin=o0993829730 (qqlogin.c, 32)
*** stack smashing detected ***: gtkqq terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7f8939739cf7]
/lib/libc.so.6(__fortify_fail+0x0)[0x7f8939739cc0]
/usr/lib/libwebqq.so.0(+0xb751)[0x7f893a196751]
/usr/lib/libwebqq.so.0(qq_login+0x287)[0x7f893a196ef7]
gtkqq[0x413abf]
gtkqq[0x408a4e]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1dd)[0x7f8939eda84d]
/usr/lib/libglib-2.0.so.0(+0x45048)[0x7f8939edb048]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x162)[0x7f8939edb582]
gtkqq[0x408acb]
/usr/lib/libglib-2.0.so.0(+0x6a076)[0x7f8939f00076]
/lib/libpthread.so.0(+0x7df0)[0x7f89399dedf0]
/lib/libc.so.6(clone+0x6d)[0x7f893972439d]
======= Memory map: ========
00400000-0041f000 r-xp 00000000 08:04 10786395                           /usr/bin/gtkqq
0061e000-0061f000 r--p 0001e000 08:04 10786395                           /usr/bin/gtkqq
0061f000-00620000 rw-p 0001f000 08:04 10786395                           /usr/bin/gtkqq
01589000-0178b000 rw-p 00000000 00:00 0                                  [heap]
7f892c000000-7f892c024000 rw-p 00000000 00:00 0 
7f892c024000-7f8930000000 ---p 00000000 00:00 0 
7f8931333000-7f8931348000 r-xp 00000000 08:04 10768539                   /usr/lib/libgcc_s.so.1
7f8931348000-7f8931548000 ---p 00015000 08:04 10768539                   /usr/lib/libgcc_s.so.1
7f8931548000-7f8931549000 rw-p 00015000 08:04 10768539                   /usr/lib/libgcc_s.so.1
7f8931549000-7f893154e000 r-xp 00000000 08:04 4587537                    /lib/libnss_dns-2.14.1.so
7f893154e000-7f893174d000 ---p 00005000 08:04 4587537                    /lib/libnss_dns-2.14.1.so
7f893174d000-7f893174e000 r--p 00004000 08:04 4587537                    /lib/libnss_dns-2.14.1.so
7f893174e000-7f893174f000 rw-p 00005000 08:04 4587537                    /lib/libnss_dns-2.14.1.so
7f893174f000-7f89317af000 rw-s 00000000 00:04 1638414                    /SYSV00000000 (deleted)
7f89317af000-7f89317b0000 ---p 00000000 00:00 0 
7f89317b0000-7f8931fb0000 rw-p 00000000 00:00 0 
7f8931fb0000-7f8931ff3000 r-xp 00000000 08:04 10783124                   /usr/lib/libibus-1.0.so.0.400.0
7f8931ff3000-7f89321f2000 ---p 00043000 08:04 10783124                   /usr/lib/libibus-1.0.so.0.400.0
7f89321f2000-7f89321f4000 r--p 00042000 08:04 10783124                   /usr/lib/libibus-1.0.so.0.400.0
7f89321f4000-7f89321f5000 rw-p 00044000 08:04 10783124                   /usr/lib/libibus-1.0.so.0.400.0
7f89321f5000-7f89321f6000 rw-p 00000000 00:00 0 
7f89321f6000-7f8932239000 r-xp 00000000 08:04 10753836                   /usr/lib/libdbus-1.so.3.5.8
7f8932239000-7f8932438000 ---p 00043000 08:04 10753836                   /usr/lib/libdbus-1.so.3.5.8
7f8932438000-7f8932439000 r--p 00042000 08:04 10753836                   /usr/lib/libdbus-1.so.3.5.8
7f8932439000-7f893243a000 rw-p 00043000 08:04 10753836                   /usr/lib/libdbus-1.so.3.5.8
7f893243a000-7f8932440000 r-xp 00000000 08:04 11670568                   /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so
7f8932440000-7f893263f000 ---p 00006000 08:04 11670568                   /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so
7f893263f000-7f8932640000 r--p 00005000 08:04 11670568                   /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so
7f8932640000-7f8932641000 rw-p 00006000 08:04 11670568                   /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so
7f8932641000-7f8933048000 r--p 00000000 08:04 4080845                    /home/guten/.fonts/simsun.ttc
7f8933048000-7f8933049000 ---p 00000000 00:00 0 
7f8933049000-7f8933849000 rw-p 00000000 00:00 0 
7f8933849000-7f893384a000 ---p 00000000 00:00 0 
7f893384a000-7f893404a000 rw-p 00000000 00:00 0 
7f893404a000-7f893404b000 ---p 00000000 00:00 0 
7f893404b000-7f893484b000 rw-p 00000000 00:00 0 
7f893484b000-7f8934856000 r-xp 00000000 08:04 4591704                    /lib/libnss_files-2.14.1.so
7f8934856000-7f8934a56000 ---p 0000b000 08:04 4591704                    /lib/libnss_files-2.14.1.so
7f8934a56000-7f8934a57000 r--p 0000b000 08:04 4591704                    /lib/libnss_files-2.14.1.so
7f8934a57000-7f8934a58000 rw-p 0000c000 08:04 4591704                    /lib/libnss_files-2.14.1.so
7f8934a58000-7f8934c1d000 r--p 00000000 08:04 10754518                   /usr/lib/locale/locale-archive
7f8934c1d000-7f8934c22000 r-xp 00000000 08:04 10761882                   /usr/lib/libXdmcp.so.6.0.0
7f8934c22000-7f8934e21000 ---p 00005000 08:04 10761882                   /usr/lib/libXdmcp.so.6.0.0
7f8934e21000-7f8934e22000 rw-p 00004000 08:04 10761882                   /usr/lib/libXdmcp.so.6.0.0
7f8934e22000-7f8934e24000 r-xp 00000000 08:04 10762043                   /usr/lib/libXau.so.6.0.0
7f8934e24000-7f8935023000 ---p 00002000 08:04 10762043                   /usr/lib/libXau.so.6.0.0
7f8935023000-7f8935024000 rw-p 00001000 08:04 10762043                   /usr/lib/libXau.so.6.0.0
7f8935024000-7f8935033000 r-xp 00000000 08:04 4591784                    /lib/libbz2.so.1.0.6
7f8935033000-7f8935232000 ---p 0000f000 08:04 4591784                    /lib/libbz2.so.1.0.6
7f8935232000-7f8935234000 rw-p 0000e000 08:04 4591784                    /lib/libbz2.so.1.0.6
7f8935234000-7f893525b000 r-xp 00000000 08:04 10753817                   /usr/lib/libexpat.so.1.5.2
7f893525b000-7f893545b000 ---p 00027000 08:04 10753817                   /usr/lib/libexpat.so.1.5.2
7f893545b000-7f893545d000 r--p 00027000 08:04 10753817                   /usr/lib/libexpat.so.1.5.2
7f893545d000-7f893545e000 rw-p 00029000 08:04 10753817                   /usr/lib/libexpat.so.1.5.2
7f893545e000-7f8935471000 r-xp 00000000 08:04 4587534                    /lib/libresolv-2.14.1.so
7f8935471000-7f8935671000 ---p 00013000 08:04 4587534                    /lib/libresolv-2.14.1.so
7f8935671000-7f8935672000 r--p 00013000 08:04 4587534                    /lib[1]    19186 abort      gtkqq

myplatform is Arch Linux.

shwangdev commented 12 years ago

这是个bug,我在看。

shwangdev commented 12 years ago

有个work round的方法,把~/.gtkqq这个目录删除掉就可以了。

gutenye commented 12 years ago

thanks for your hard work.

删除~/.gtkqq这个方法能用, 不过gtkqq不稳定, 用了10分钟就segmentation fault了.

(gtkqq:4871): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
[1]    4871 segmentation fault  gtkqq

现在腾讯发布的linux qq也有问题... https://gist.github.com/1407357 qq没的用了...

billzt commented 12 years ago

我刚刚亲自试了一下,把 .gtkqq 删掉,登陆还是出错,* stack smashing detected *: gtkqq terminated

shwangdev commented 12 years ago

坑爹的是我这里不能重现。。。 On Thu, Dec 8, 2011 at 8:32 PM, billzt < reply@reply.github.com

wrote:

我刚刚亲自试了一下,把 .gtkqq 删掉,登陆还是出错,* stack smashing detected *: gtkqq terminated


Reply to this email directly or view it on GitHub: https://github.com/kernelhcy/gtkqq/issues/6#issuecomment-3061801

*

Best Regards, **

Devil Wang| Engineer of Linux

Gtalk: wxjeacen AT gmail DOT com wxjeacen@gmail.com

*

billzt commented 12 years ago

是不是用的平台不一样啊?你的是用哪个发行版?

shwangdev commented 12 years ago

sabayon On Thu, Dec 8, 2011 at 8:47 PM, billzt < reply@reply.github.com

wrote:

是不是用的平台不一样啊?你的是用哪个发行版?


Reply to this email directly or view it on GitHub: https://github.com/kernelhcy/gtkqq/issues/6#issuecomment-3061924

*

Best Regards, **

Devil Wang| Engineer of Linux

Gtalk: wxjeacen AT gmail DOT com wxjeacen@gmail.com

*

billzt commented 12 years ago

天哪,好陌生。你至少应该在 ubuntu 或 debian 上测试一下

shwangdev commented 12 years ago

sabayon 是基于gentoo的发行版 On Thu, Dec 8, 2011 at 8:51 PM, billzt < reply@reply.github.com

wrote:

天哪,好陌生。你至少应该在 ubuntu 或 debian 上测试一下


Reply to this email directly or view it on GitHub: https://github.com/kernelhcy/gtkqq/issues/6#issuecomment-3061962

*

Best Regards, **

Devil Wang| Engineer of Linux

Gtalk: wxjeacen AT gmail DOT com wxjeacen@gmail.com

*

gutenye commented 12 years ago

@billzt 你是哪个版本的?

问下大家: linux官方qq能用不? (难道说是我一个人的问题。。)

gentoo 听说很不错, 不过没用过。

billzt commented 12 years ago

@GutenYe 我用 Ubuntu 11.10,

建议开发软件时还应该在用户多的品台上通过测试才行

shwangdev commented 12 years ago

没办法,我就是不喜欢ub和fc,只喜欢sabayon... On Fri, Dec 9, 2011 at 9:50 AM, billzt < reply@reply.github.com

wrote:

@GutenYe 我用 Ubuntu 11.10,

建议开发软件时还应该在用户多的品台上通过测试才行


Reply to this email directly or view it on GitHub: https://github.com/kernelhcy/gtkqq/issues/6#issuecomment-3074359

*

Best Regards, **

Devil Wang| Engineer of Linux

Gtalk: wxjeacen AT gmail DOT com wxjeacen@gmail.com

*

billzt commented 12 years ago

@wxjeacen 你自己可以用自己喜欢的平台,我的意思是在其它发行版上测试一下,这个很简单的,装个虚拟机就可以了。一般如果代码规范的话在不同发行版之间的效果应该是一样的

mathslinux commented 12 years ago

@billzt 我在 fedora 的64位和 gentoo的 32位和64位测试过了, 现在的情况是相对稳定了, 但不确定还有其他bug, 总之我使用的时候是没有问题的(包括程序菜单什么的都加进去了.). 欢迎提供 crash 信息.

ps: git clone 最新的代码.

mathslinux commented 12 years ago

gentoo, fedora, ubuntu, archlinux 平台已经测试过, 没有问题.