meseretakalu / iptux

Automatically exported from code.google.com/p/iptux
0 stars 0 forks source link

iptux-0.5.1 #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
我用的是gentoo,iptux-0.4.5版本一直用的非常好,换成0.5.1版本�
��现一点问题。
我的系统是:
Linux kingbo 2.6.30-gentoo-r5 #2 SMP Thu Nov 5 10:12:53 CST 2009 x86_64
Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz GenuineIntel GNU/Linux

软件一直“段错误”异常退出,使用gdb iptux取得以下信息:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fda37d86950 (LWP 14440)]
0x000000000040e56c in CoreThread::GetPalRegularItem (this=0x63d260,
pal=0x0) at CoreThread.cpp:535
535         if (((GroupInfo *)tlist->data)->grpid == pal->ipv4)

请诊断一下,谢谢

Original issue reported on code.google.com by kingbo.l...@gmail.com on 5 Nov 2009 at 7:28

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
好象CoreThread.cpp中AttachPalToList方法缺少一个判断:

void CoreThread::AttachPalToList(PalInfo *pal)
{
    GroupInfo *grpinf;

//add start

if(!pal){
printf("Attach a NULL Pal !\n");
return;
}

//add end

Original comment by kingbo.l...@gmail.com on 6 Nov 2009 at 5:52

GoogleCodeExporter commented 8 years ago
另外我还是喜欢启动时进入群显示方式:
MainWindow.cpp中737行:
    model = GTK_TREE_MODEL(g_datalist_get_data(&mdlset, "regular-paltree-model"));
改为了
    model = GTK_TREE_MODEL(g_datalist_get_data(&mdlset, "group-paltree-model"));

Original comment by kingbo.l...@gmail.com on 6 Nov 2009 at 5:55

GoogleCodeExporter commented 8 years ago
每次都是第二个创建的线程在一定时间内异常死掉退出,在��
�创建第二个线程的位置。

Original comment by kingbo.l...@gmail.com on 6 Nov 2009 at 7:00

GoogleCodeExporter commented 8 years ago
继续加清空判断:

CoreThread.cpp中:

GroupInfo *CoreThread::GetPalRegularItem(PalInfo *pal)
{
    GSList *tlist;

//add start
if(!pal)return NULL;
//add end

GroupInfo *CoreThread::GetPalSegmentItem(PalInfo *pal)
{
    GSList *tlist;
    char *name;
    GQuark grpid;

//add start
if(!pal)return NULL;
//add end

GroupInfo *CoreThread::GetPalGroupItem(PalInfo *pal)
{
    GSList *tlist;
    GQuark grpid;

//add start
if(!pal)return NULL;
//add end

MainWindow.cppk中:

bool MainWindow::GroupGetPaltreeItem(GtkTreeModel *model, GtkTreeIter *iter,
                             GroupInfo *grpinf)
{
    GroupInfo *pgrpinf;

//add start
if(!grpinf)return false;
//add end

好象就这些了,基本上加上对GroupInfo指针判断,一下午没出��
�题了

Original comment by kingbo.l...@gmail.com on 6 Nov 2009 at 9:43

GoogleCodeExporter commented 8 years ago
郁闷,最近几天都在学校外面找工作,估计我自己是没机会修�
��这个错误了.
我已经把你加入项目成员了,你先把这个问题解决一下吧,谢�
��!

Original comment by jal...@163.com on 6 Nov 2009 at 12:08

GoogleCodeExporter commented 8 years ago
google这动作模式我还不会,不知道怎么去做

Original comment by kingbo.l...@gmail.com on 6 Nov 2009 at 12:17

GoogleCodeExporter commented 8 years ago
晕,看了半天svn,最后看好象是权限问题,提交不上去

svn commit CoreThread.cpp MainWindow.cpp

日志信息未修改,或未指定
a)终止,c)继续,e)编辑:
c
认证领域: <http://iptux.googlecode.com:80> Google Code Subversion Repository
“kingbo”的密码: 
认证领域: <http://iptux.googlecode.com:80> Google Code Subversion Repository
用户名: kingbo@126.com
“kingbo@126.com”的密码: 
认证领域: <http://iptux.googlecode.com:80> Google Code Subversion Repository
用户名: kingbo@126.com
“kingbo@126.com”的密码: 
svn: 提交失败(细节如下): 
svn: 方法 MKACTIVITY 失败于 
“/svn/!svn/act/07b6b6ef-e1fa-4836-85df-71c46b26da1a”: 认
证失败: 不能认证到服务器: 被拒绝的 Basic 挑战 
(http://iptux.googlecode.com)

Original comment by kingbo.l...@gmail.com on 6 Nov 2009 at 3:54

GoogleCodeExporter commented 8 years ago
commiter要按https重新co一次,才能有权限修改的

Original comment by Pentie on 8 Nov 2009 at 6:18

GoogleCodeExporter commented 8 years ago

Original comment by jal...@163.com on 20 Nov 2009 at 10:08