Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34966 - mldonkey works
Summary: mldonkey works
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc All
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-03 05:20 UTC by Michael Hellwig
Modified: 2006-02-04 06:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
strace of bus error (typescript,8.81 KB, text/plain)
2003-12-04 01:04 UTC, Michael Hellwig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hellwig 2003-12-03 05:20:07 UTC
emerged mldonkey, compiles and works just fine. Well, mlnet works and the telnet and www interface. The gtk interface gives a bus error. whatever that means.
only thing to do: add ~sparc to KEYWORDS ...

net-p2p/mldonkey
      Latest version available: 2.5.4
      Latest version installed: 2.5.4
      Size of downloaded files: 2,475 kB
      Homepage:    http://www.nongnu.org/mldonkey/
      Description: mldonkey is a new client to access the eDonkey network. It is written in Objective-Caml, and comes with its own GTK GUI, an HTTP interface and a telnet interface.
Comment 1 Sven Blumenstein (RETIRED) gentoo-dev 2003-12-03 05:28:41 UTC
Bus error?  Give 'emerge info' output. If this is a permanent error I wont ~sparcify it.
Comment 2 Michael Hellwig 2003-12-03 05:36:14 UTC
emerge info looks as follows (if there's anything completely stupid in there, please tell me):

Portage 2.0.49-r18 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.23-sparc)
=================================================================
System uname: 2.4.23-sparc sparc64 sun4u
Gentoo Base System version 1.4.3.10p1
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -O3 -pipe"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="sparc X aalib avi berkdb cdr crypt cups encode fbcon foomaticdb gdbm gif gpm gtk imlib jpeg kde libwww mad mikmod motif mpeg ncurses nls oggvorbis oss pam pdflib perl png python qt readline sdl slang spell ssl tcltk tcpd tetex truetype xml2 xmms xv zlib"


the "bus error" thing seems to be reproducable, just tried again. mlnet+gui gives the following output on the console where it was started:
Your system supports 1024 file descriptors
Bus error

and then the console returns.

running first mlnet, then mlguistarter gives first the "start the gui?" question box, then, upon clicking OK, returns to console with "Fatal error: out-of-bound access in array or string".

trying to run mlnet and then starting mlgui directly leads to the same message as above with mlnet+gui.

but the pure daemon (with www and telnet frontend) works nicely. hmmmm.
Comment 3 Sven Blumenstein (RETIRED) gentoo-dev 2003-12-03 06:07:11 UTC
What version of gtk+ are you using? And please attach a strace of mldonkey showing the bus error :)

I'll try to reproduce it later when I'm at home.
Comment 4 Ciaran McCreesh 2003-12-03 06:59:05 UTC
1024 file descriptors sounds awfully low... What's cat /proc/sys/fs/file-max
say? If it's low, try echoing something big into it.
Comment 5 Michael Hellwig 2003-12-03 07:21:56 UTC
re ciaranm:
eyesun root # cat /proc/sys/fs/file-max
25492

is that low or not? 'cos I don't know whether it is ..

re bazik:
eyesun root # epm -q gtk+
gtk+-1.2.10-r10
gtk+-2.2.2-r1

will attach the strace later ..
Comment 6 Michael Hellwig 2003-12-04 01:04:00 UTC
Created attachment 21678 [details]
strace of bus error
Comment 7 Jason Wever (RETIRED) gentoo-dev 2003-12-06 13:13:01 UTC
Hrm, for me, mlnet or mldonkey by itself buss errors, but mlnet+gui launches fine.
Comment 8 Gustavo Zacarias (RETIRED) gentoo-dev 2004-01-03 04:41:27 UTC
Doesn't work well for me either.
mlnet dies after some minutes of heavy traffic with bus error also.
Comment 9 Michael Hellwig 2004-01-03 07:56:11 UTC
did some long term testing ..
mlnet on its own (with telnet interface) dies after a few days with:
Fatal error: out-of-bound access in array or string

so .. all in all it doesn't seem to work well, does it? anyway, it works, in a way .. i.e. downloaded quite a bit of stuff with it .. 
Comment 10 Ciaran McCreesh 2004-05-07 08:48:28 UTC
Closing as WONTFIX for now, because it seems it's pretty unstable. Please reopen if future versions will run without crashing.
Comment 11 Antonio 2004-08-05 00:28:17 UTC
With this patch mldonkey work well

gentoonet root # /etc/init.d/mldonkey start
 * Re-caching dependency info (mtimes differ)...
 * Starting mldonkey...
13855: vecchia priorit
Comment 12 Antonio 2004-08-05 00:28:17 UTC
With this patch mldonkey work well

gentoonet root # /etc/init.d/mldonkey start
 * Re-caching dependency info (mtimes differ)...
 * Starting mldonkey...
13855: vecchia priorità 0, nuova priorità 19                              [ ok ]
Comment 13 Antonio 2004-08-05 00:30:40 UTC
Sorry,
this text is for bug 59435