Code

Programming Languages: C

License: GNU General Public License version 2.0 (GPLv2)

Repositories

browse code

Our subversion code was migrated to git and is now available on github. You can clone the repository using: git clone git://github.com/gtk-gnutella/gtk-gnutella.git

Show:

What's happening?

  • Comment: Segfault in g it/svn

    Well, CPU usage is variable depending on operating mode (Ultra versus leaf), uploading and downloading, searches, etc... It shouldn't use 100% of CPU for an extended period of time, although it can if it is receiving lots of UDP traffic for instance or if the CPU is too slow (unlikely in a modern multi-core setup). But one problem at a time -- first we need to understand why you can only run...

    2012-05-27 04:48:08 PDT by rmanfredi

  • Comment: Segfault in g it/svn

    $ gtk-gnutella --version gtk-gnutella/0.98.3u-656-gd7fac (2012-05-24; GTK2; Linux x86_64) GLib 2.32.3 Gtk+ 2.24.10 GnuTLS 2.12.19 gtk-gnutella also seems to be consuming an entire core of my CPU, even at idle. (It has already computed the TTH/SHA1 for my shared files.)

    2012-05-26 16:58:40 PDT by https://me.yahoo.com/a/8aZt105_

  • Comment: Segfault in g it/svn

    What is the output of: gtk-gnutella --version I'm interested by the glib/GTK versions.

    2012-05-26 12:28:41 PDT by rmanfredi

  • Comment: Segfault in g it/svn

    I am running Debian (apto)sid with kernel 3.4-0.slh.1-aptosid-amd64 #1 SMP PREEMPT Mon May 21 01:42:58 UTC 2012 x86_64 GNU/Linux $ gdb /usr/local/bin/gtk-gnutella 23870 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and...

    2012-05-26 00:36:30 PDT by https://me.yahoo.com/a/8aZt105_

  • Comment: Segfault in g it/svn

    Ah, that's interesting information. Please try the following: - Launch gtk-gnutella normally without gdb - Run: ps -ef | grep gtk-gnutella to see the PID of the main process. Say it's 1234. - When gtk-gnutella appears stuck, launch the following command: gdb /usr/bin/gtk-gnutella 1234 - At the gdb prompt, run: thread apply all bt Show me the output. Depending on the results, we're...

    2012-05-25 23:31:14 PDT by rmanfredi

  • Comment: Segfault in g it/svn

    Actually, I do need to run it in gdb. This is all I get when starting normally: $ gtk-gnutella 12-05-25 16:48:33 (INFO): gtk-gnutella/0.98.3u-656-gd7fac (2012-05-24; GTK2; Linux x86_64) 12-05-25 16:48:33 (INFO): using our own malloc() replacement 12-05-25 16:48:33 (INFO): INPUTEVT using customized I/O dispatching with epoll() 12-05-25 16:48:33 (INFO): language code: "en"...

    2012-05-25 13:50:24 PDT by https://me.yahoo.com/a/8aZt105_

  • Comment: Segfault in g it/svn

    OK, since workaround makes the program run, lowering priority. Still something is odd and will need to be investigated, so keeping it opened. By the way, there's no need to run under gdb all the time.

    2012-05-25 12:23:57 PDT by rmanfredi

  • Comment: Segfault in g it/svn

    Ok, after I continue after the broken pipe, the program runs as expected.

    2012-05-25 12:08:46 PDT by https://me.yahoo.com/a/8aZt105_

  • Comment: Segfault in g it/svn

    Something is not right for your configuration, yes, and this may be what caused the original problem. Is the current version working for you, i.e. is the program starting and usable?.

    2012-05-25 08:36:47 PDT by rmanfredi

  • Comment: Segfault in g it/svn

    It seems to be having a lot of problems with my hostname. I hope I did this right... (gdb) handle SIGPIPE noprint nostop pass Signal Stop Print Pass to program Description SIGPIPE No No Yes Broken pipe 12-05-24 17:53:55 (WARNING): adns_reply_callback: read() failed: EOF 12-05-24 17:53:55 (WARNING): adns_reply_callback: removed myself 12-05-24 17:53:56 (MESSAGE): BOOT will...

    2012-05-24 14:56:21 PDT by https://me.yahoo.com/a/8aZt105_

Our Numbers