Page 1 of 3

Keep getting Segmentation fault (core dumped)

Posted: Sat Jul 21, 2007 11:26 pm
by Viscount Caligula
Another topic about this was made, but there was no resolution because the guy having the problem never posted back or something.

This happens every single time I run Deluge. It will run fine for a while but I inevitably get Segmentation fault (core dumped).

Running the latest version from SVN, but this happened before, too.

Code: Select all

no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Loading module TorrentSearch
Initialising plugin TorrentSearch
Loading module DesiredRatio
Initialising plugin DesiredRatio
Loading module TorrentCreator
Initialising plugin TorrentCreator
Loading module NetworkHealth
Initialising plugin NetworkHealth
Loading module NetworkGraph
Initialising plugin NetworkGraph
Loading module TorrentNotification
Initialising plugin TorrentNotification
Loading module Scheduler
Initialising plugin Scheduler
Loading module BlocklistImport
Initialising plugin BlocklistImport
Loading module FirstLast
Initialising plugin FirstLast
Loading module RSS
Initialising plugin RSS
Applying preferences
Starting DHT...
Showing window
Segmentation fault (core dumped)

Re: Keep getting Segmentation fault (core dumped)

Posted: Sun Jul 22, 2007 8:36 am
by markybob
Viscount Caligula wrote:Another topic about this was made, but there was no resolution because the guy having the problem never posted back or something.

This happens every single time I run Deluge. It will run fine for a while but I inevitably get Segmentation fault (core dumped).

Running the latest version from SVN, but this happened before, too.

Code: Select all

no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Loading module TorrentSearch
Initialising plugin TorrentSearch
Loading module DesiredRatio
Initialising plugin DesiredRatio
Loading module TorrentCreator
Initialising plugin TorrentCreator
Loading module NetworkHealth
Initialising plugin NetworkHealth
Loading module NetworkGraph
Initialising plugin NetworkGraph
Loading module TorrentNotification
Initialising plugin TorrentNotification
Loading module Scheduler
Initialising plugin Scheduler
Loading module BlocklistImport
Initialising plugin BlocklistImport
Loading module FirstLast
Initialising plugin FirstLast
Loading module RSS
Initialising plugin RSS
Applying preferences
Starting DHT...
Showing window
Segmentation fault (core dumped)
most segfaults are caused by not running a make clean before recompiling and installing. try to make clean, recompile and reinstall

Re: Keep getting Segmentation fault (core dumped)

Posted: Mon Jul 23, 2007 1:46 pm
by flipe
I get this error when I try start deluge, I try remove "/root/.config/deluge", remove and reinstall, reinstall, remove and install other version. now I try the 0.5.3rc1 and the same problem.

I use a debian-box with kernel 2.6.8-2-686
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
Aborted

with gdb I get this:
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"..."/usr/bin/deluge": not in executable format: File format not recognized

(gdb) run
Starting program:
No executable file specified.
Use the "file" or "exec-file" command.
(gdb)
thanks

Re: Keep getting Segmentation fault (core dumped)

Posted: Mon Jul 23, 2007 3:55 pm
by markybob
flipe wrote:I get this error when I try start deluge, I try remove "/root/.config/deluge", remove and reinstall, reinstall, remove and install other version. now I try the 0.5.3rc1 and the same problem.

I use a debian-box with kernel 2.6.8-2-686
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
Aborted

with gdb I get this:
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"..."/usr/bin/deluge": not in executable format: File format not recognized

(gdb) run
Starting program:
No executable file specified.
Use the "file" or "exec-file" command.
(gdb)
thanks
did you make clean?

Re: Keep getting Segmentation fault (core dumped)

Posted: Mon Jul 23, 2007 5:16 pm
by flipe
yes, I try remove an old version and install a new, but I get the same problem.

thanks.

Re: Keep getting Segmentation fault (core dumped)

Posted: Mon Jul 23, 2007 5:45 pm
by markybob
flipe wrote:yes, I try remove an old version and install a new, but I get the same problem.

thanks.
that's not the same thing nor what i asked. did you make clean?

Re: Keep getting Segmentation fault (core dumped)

Posted: Mon Jul 23, 2007 6:26 pm
by flipe
yes, I do make clean too.

thanks.

Re: Keep getting Segmentation fault (core dumped)

Posted: Mon Jul 23, 2007 6:53 pm
by shirish
hi there,
Perhaps you can see the thread http://forum.deluge-torrent.org/viewtop ... 1003#p1003 which explains how to uninstall the svn version and then do the make & install. Btw have you got all your dependencies too as described in http://forum.deluge-torrent.org/viewtopic.php?f=7&t=78 . I am just suggesting so we cover all the basic stuff. If all of the dependencies which deluge needs are being satisfied & you did the correct way of doing the unisntall & stuff & still are having issues please let us know.

Cheers!

Re: Keep getting Segmentation fault (core dumped)

Posted: Mon Jul 23, 2007 8:53 pm
by jimbo2150
I followed those directions and am getting a segfault too. Without running it through a term window it displays a box saying something like "The error report not for deluge (/usr/bin/deluge)". In a terminal window it just says segfault. It only occurs after running for a while (time it runs before segfault seems to differ).

I cant get it to run gdb:

Code: Select all

$ gdb deluge
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
"/usr/bin/deluge": not in executable format: File format not recognized

Re: Keep getting Segmentation fault (core dumped)

Posted: Tue Jul 24, 2007 9:40 pm
by flipe
shirish wrote:hi there,
Perhaps you can see the thread http://forum.deluge-torrent.org/viewtop ... 1003#p1003 which explains how to uninstall the svn version and then do the make & install. Btw have you got all your dependencies too as described in http://forum.deluge-torrent.org/viewtopic.php?f=7&t=78 . I am just suggesting so we cover all the basic stuff. If all of the dependencies which deluge needs are being satisfied & you did the correct way of doing the unisntall & stuff & still are having issues please let us know.

Cheers!
in my system I have:

libboost 1.34.0-1(all libboost dependencies)
g++ 4.1.2-3 and the 3 series(I used 4.2 now, but already try other versions)
zlib 1.2.3.3.dfsg-3
libssl 0.9.8e-5
I use python-2.4 and all dependencies

thanks.