recent svn segmentation fault

Suggestions and discussion of future versions
daddy
Seeder
Seeder
Posts: 100
Joined: Sun Jul 22, 2007 12:14 am

Re: recent svn segmentation fault

Post by daddy »

Unfortunately that's not it... When I said "fresh checkout", I meant completely. `rm -rf deluge && svn checkout ... deluge && cd deluge && make`. No build folder. Just did it again to double-check.

Thanks for trying, though :)
scrapmetal
Leecher
Leecher
Posts: 59
Joined: Mon May 28, 2007 12:03 pm

Re: recent svn segmentation fault

Post by scrapmetal »

same problem in 1226
the rc works tho, but the preferences button is dead and the pieces plugin completely freezes the deluge gui
ubuntu intrepid amd64
shirish
Seeder
Seeder
Posts: 163
Joined: Fri May 25, 2007 4:01 am
Location: South Asia, India

Re: recent svn segmentation fault

Post by shirish »

unfortunate to hear that. Daddy & scrapmetal, if you guys have the time in your profile add your signature which has details about the distro. which you guys use so the developers can see that. Earlier somebody had some issues in Cent OS & from whatever discussion or whatever happened markybob did apply a patch about CentOS support. http://dev.deluge-torrent.org/changeset/1203 not saying good or bad, simply saying its better as if many people having the same distro. have the same segmentation fault issue then it will be easier for somebody to spot something or tell something.

I dunno about deluge development or troubleshooting for that matter. Just trying to help, that's all.
Debian Sid, Intel Dual-Core, 512 kbps DL , 64 Kbps UL, deluge-1.3.5, pieces plugin, GNOME 3.4.x

All posts under creative commons http://creativecommons.org/licenses/by-nc/3.0/
scrapmetal
Leecher
Leecher
Posts: 59
Joined: Mon May 28, 2007 12:03 pm

Re: recent svn segmentation fault

Post by scrapmetal »

point taken and sig added :)
ubuntu intrepid amd64
daddy
Seeder
Seeder
Posts: 100
Joined: Sun Jul 22, 2007 12:14 am

Re: recent svn segmentation fault

Post by daddy »

Used valgrind to find the problem. Fix:

Code: Select all

Index: src/deluge_core.cpp
===================================================================
--- src/deluge_core.cpp (revision 1249)
+++ src/deluge_core.cpp (working copy)
@@ -376,7 +376,7 @@
 
     M_ses->add_extension(&libtorrent::create_metadata_plugin);
 
-    M_constants = Py_BuildValue("{s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i}",
+    M_constants = Py_BuildValue("{s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i,s:i}",
         "EVENT_NULL",                         EVENT_NULL,
         "EVENT_FINISHED",                     EVENT_FINISHED,
         "EVENT_PEER_ERROR",                   EVENT_PEER_ERROR,
Which explains why it was appearing so unreliably.
scrapmetal
Leecher
Leecher
Posts: 59
Joined: Mon May 28, 2007 12:03 pm

Re: recent svn segmentation fault

Post by scrapmetal »

nice job finding the problem and fixing it in deluge. 1252 works and so far seems stable too
:D
ubuntu intrepid amd64
Post Reply