分页: 4 / 17

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-05-27 11:24
micleon
在运行过程中遭遇断电的话
会导致个人设定,分类设定和下载统计全部丢失

不知道是不是amule自己的问题
如果是,amule-dlp能不能改善一下?

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-05-27 12:33
Bill Lee
micleon 写了:在运行过程中遭遇断电的话
会导致个人设定,分类设定和下载统计全部丢失

不知道是不是amule自己的问题
如果是,amule-dlp能不能改善一下?
这个是文件系统损坏吧

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-05-27 17:12
hasee.wu
猎户座 写了:launchpad的PPA就是悲剧,卡的要死,本人2M电信。
楼主有没有考虑过放到本站的源?
archive.ubuntu.org.cn

本人深圳电信2M adsl , ppa 半满带宽,100多K/s, 同样的电信,怎么会有这么大的区别?

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-05-30 20:32
LYONNA
patch上了
我下的东西都没什么源,经常挂一次,上传下载比就要2:1,但上传的全被xl吸走了,郁闷但又没有办法,这回世界算是清净了

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-06-01 11:57
adagio
arch64上运行良好
看着这个,爽!
:em11

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-06-02 4:45
hasee.wu
看了楼上的图,感叹吸血骡真多。

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-06-07 21:19
Bill Lee
svn12可用
这个已经通过编译
这次是划时代的改变,这次 DLP 全部采用 unicode 实现。这样才可以和 eMule 保持一致,以前一些很麻烦的宽字符问题都将解决。
最重要的是以前那种一行一行改代码的方法将成为历史。照以前那种方法非累死不可,更是不能保证代码的效果是正确的。
不过,刚刚崩溃了。。。
顺便说以下 Backtrace 我根本不会看,谁能看的告诉我是那个模块崩溃了
从我自己添加的调试输出看来,似乎不是随机出现的。多次测试,最后一条调试输出都是 Function DLPCheck() return.
而且都是在第二次调用 DLPCheck() 返回时。
奇怪的是在 DLPCheck() 返回时发生错误。那条输出语句就放在 return 前的那一句,难道是 return 时错误? DLPCheck() 返回后已经不是 DLP 代码了。
看栈信息,每次崩溃时栈顶都是 [2] ?? in amule[0x808a2d9]

代码: 全选

In function DLPCheck()
Checking Modsting...
In function _tstof
Function _tstof return
Checking Username...
Finished checking.
Function DLPCheck() return.
In function DLPCheck()
Checking Modsting...
In function _tstof
Function _tstof return
Checking Username...
Finished checking.
Function DLPCheck() return.

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://wiki.amule.org/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.6 using wxGTK2 v2.8.10
Running on: Linux 2.6.34-bill-3 i686

[2] ?? in amule[0x808a2d9]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb6d68ba6]
[4] ?? in [0xffffe400]
[5] ?? in /lib/tls/i686/cmov/libc.so.6[0xb6a2183e]
[6] ?? in /lib/tls/i686/cmov/libc.so.6[0xb6a23afd]
[7] __libc_malloc in /lib/tls/i686/cmov/libc.so.6[0xb6a25f9c]
[8] operator new(unsigned int) in /usr/lib/libstdc++.so.6[0xb6c13c07]
[9] ?? in amule[0x81b0d89]
[10] ?? in amule[0x81b0dfc]
[11] ?? in amule[0x81b0ea5]
[12] ?? in amule[0x81b1baf]
[13] ?? in amule[0x81b1db4]
[14] ?? in amule[0x81b1e54]
[15] ?? in amule[0x81b1f3c]
[16] ?? in amule[0x81a849d]
[17] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib/libwx_baseu-2.8.so.0[0xb6d63a98]
[18] wxPthreadStart in /usr/lib/libwx_baseu-2.8.so.0[0xb6d63afd]
[19] ?? in /lib/tls/i686/cmov/libpthread.so.0[0xb76fe96e]
[20] clone in /lib/tls/i686/cmov/libc.so.6[0xb6a83a4e]


--------------------------------------------------------------------------------
已放弃

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-06-07 22:21
Bill Lee
另外谁知道怎么调试呀?
我 configure 时都加了 --enable-debug
可是 gdb 还是说没有调试符号。看来 amule 的 Makefile 里根本就没有把 -g 参数加上去。

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-06-08 12:46
Bill Lee
这次用 gdb 调试,发现出问题的是在很底层的模块

代码: 全选

#0  0xb72de83e in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0xb72e0afd in ?? () from /lib/tls/i686/cmov/libc.so.6
#2  0xb72e2f9c in malloc () from /lib/tls/i686/cmov/libc.so.6
#3  0xb75dec64 in wxStringBase::AllocBuffer(unsigned int) () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb75e006f in wxStringBase::AllocBeforeWrite(unsigned int) () from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb75e0109 in wxString::GetWriteBuf(unsigned int) () from /usr/lib/libwx_baseu-2.8.so.0
#6  0xb75e1418 in wxString::PrintfV(wchar_t const*, char*) () from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb75e15da in wxString::Format(wchar_t const*, ...) () from /usr/lib/libwx_baseu-2.8.so.0
#8  0x08251539 in CKadDlg::UpdateGraph (this=0xac74d78, update=...) at KadDlg.cpp:132
#9  0x08240cd8 in CamuleDlg::OnGUITimer (this=0x8c5f178) at amuleDlg.cpp:1065
#10 0xb7582a9f in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb7621379 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb7622424 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#13 0xb7622523 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#14 0xb7905917 in wxTimerBase::Notify() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0xb77f752d in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0xb6b3cd5c in ?? () from /lib/libglib-2.0.so.0
#17 0xb6b3c5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0xb6b402d8 in ?? () from /lib/libglib-2.0.so.0
#19 0xb6b40817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#20 0xb6fd1309 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb77edc78 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#22 0xb7880e3e in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#23 0xb7880a31 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#24 0xb75bc7aa in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#25 0xb75bc987 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
#26 0x08237969 in main (argc=1, argv=0xbffff464) at amule-gui.cpp:95
崩溃时是段错误,栈顶都如上面,但再下面的栈就不一样了。
在 malloc() 时出错,而且可能是任何函数在调用 malloc()
看起来根本和上层的代码无关。

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-06-08 13:05
Bill Lee
重新试了, free() 也可能引起段错误。

代码: 全选

#0  0xb72de83e in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0xb72dfd65 in ?? () from /lib/tls/i686/cmov/libc.so.6
#2  0xb72e2ecd in free () from /lib/tls/i686/cmov/libc.so.6
#3  0xb74ce741 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#4  0x081cd15b in __gnu_cxx::new_allocator<ThrottledControlSocket*>::deallocate (this=0xbe1d630, __p=0xd212e68)
    at /usr/include/c++/4.4/ext/new_allocator.h:95
#5  0x081cbca6 in std::__norm::_Deque_base<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::_M_deallocate_node (this=0xbe1d630, 
    __p=0xd212e68) at /usr/include/c++/4.4/bits/stl_deque.h:450
#6  0x081cad3e in std::__norm::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::_M_pop_front_aux (this=0xbe1d630)
    at /usr/include/c++/4.4/bits/deque.tcc:445
#7  0x081c93ec in std::__norm::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::pop_front (this=0xbe1d630)
    at /usr/include/c++/4.4/bits/stl_deque.h:1241
#8  0x081c7b3f in std::__debug::deque<ThrottledControlSocket*, std::allocator<ThrottledControlSocket*> >::pop_front (this=0xbe1d630)
    at /usr/include/c++/4.4/debug/deque:370
#9  0x081c6196 in UploadBandwidthThrottler::Entry (this=0xbe1d618) at UploadBandwidthThrottler.cpp:391
#10 0xb7620a98 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb7620afd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb7fbb96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb7340a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-06-08 13:12
Bill Lee
看来关键都是 0xb72de83e in ?? () from /lib/tls/i686/cmov/libc.so.6 引发了问题。
这个 0xb72de83e 是虚拟地址吧
有没有办法转换成 libc.so.6 的偏移地址?

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-06-08 17:59
daf3707
micleon 写了:在运行过程中遭遇断电的话
会导致个人设定,分类设定和下载统计全部丢失

不知道是不是amule自己的问题
如果是,amule-dlp能不能改善一下?
我也断了,从头再来 :em20

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-06-08 20:00
Bill Lee
daf3707 写了:
micleon 写了:在运行过程中遭遇断电的话
会导致个人设定,分类设定和下载统计全部丢失

不知道是不是amule自己的问题
如果是,amule-dlp能不能改善一下?
我也断了,从头再来 :em20
如果有重要数据,那么断电重启后,进入 recovery mode 把 分区 umount 掉手工执行 fsck -f 可以多一重保险

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-06-09 19:33
LYONNA
daf3707 写了:
micleon 写了:在运行过程中遭遇断电的话
会导致个人设定,分类设定和下载统计全部丢失

不知道是不是amule自己的问题
如果是,amule-dlp能不能改善一下?
我也断了,从头再来 :em20
握个手 :em20

Re: amule-dlp 开发动态(DLP41 正式版发布)

发表于 : 2010-06-10 16:48
Bill Lee
svn15 可用

代码: 全选

svn export -r15 http://amule-dlp.googlecode.com/svn/trunk/ aMule-2.2.6/
修复了两处内存越界的问题,已运行 7 分钟不崩溃。
大家可以试用