Debian Bug report logs - #507818
mldonkey-server: mlnet does not start, logs syntax error in downloads.ini

version graph

Package: mldonkey-server; Maintainer for mldonkey-server is Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>; Source for mldonkey-server is src:mldonkey.

Reported by: Maciej Czub <m.czub@newcomo.pl>

Date: Thu, 4 Dec 2008 18:12:01 UTC

Severity: important

Tags: unreproducible

Found in version mldonkey/2.9.5-1.1

Fixed in version mldonkey/2.9.5-2

Done: Mehdi Dogguy <dogguy@pps.jussieu.fr>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>:
Bug#507818; Package mldonkey-server. (Thu, 04 Dec 2008 18:12:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maciej Czub <m.czub@newcomo.pl>:
New Bug report received and forwarded. Copy sent to Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>. (Thu, 04 Dec 2008 18:12:03 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Maciej Czub <m.czub@newcomo.pl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mldonkey-server: mlnet does not start, logs syntax error in downloads.ini
Date: Thu, 04 Dec 2008 19:12:38 +0100
Package: mldonkey-server
Version: 2.9.5-1.1
Severity: grave
Justification: renders package unusable

After the installation mlnet is running.

After the:
# /etc/init.d/mldonkey-server stop
# /etc/init.d/mldonkey-server start
the server does not start anymore.

/var/log/mldonkey/mlnet.log is empty.

After remove '--background' from /etc/init.d/mldonkey-server, daemon logs:

Syntax error while parsing file downloads.ini at pos 29792:(Failure("float_of_string"))
it seems that downloads.ini is corrupt,
try to use a backup from /var/lib/mldonkey/old_config

Corresponding line in /var/lib/mldonkey/downloads.ini is:
buffer_writes_delay = 30.



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mldonkey-server depends on:
ii  adduser                3.110             add and remove users and groups
ii  debconf [debconf-2.0]  1.5.24            Debian configuration management sy
ii  dpkg                   1.14.20           Debian package management system
ii  libc6                  2.7-16            GNU C Library: Shared libraries
ii  libfreetype6           2.3.7-2           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.3.2-1         GCC support library
ii  libgd2-xpm             2.0.36~rc1~dfsg-3 GD Graphics Library version 2
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libpng12-0             1.2.27-2          PNG library - runtime
ii  libstdc++6             4.3.2-1           The GNU Standard C++ Library v3
ii  mime-support           3.44-1            MIME files 'mime.types' & 'mailcap
ii  ucf                    3.0010            Update Configuration File: preserv
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

mldonkey-server recommends no packages.

Versions of packages mldonkey-server suggests:
pn  makejail                      <none>     (no description available)

-- debconf information:
  mldonkey-server/password: (password omitted)
  mldonkey-server/repassword: (password omitted)
  mldonkey-server/max_hard_download_rate: 0
* mldonkey-server/launch_at_startup: true
  mldonkey-server/run_as_user: mldonkey
  mldonkey-server/reown_file: false
  mldonkey-server/mldonkey_group: mldonkey
  mldonkey-server/mldonkey_niceness: 0
  mldonkey-server/false_password:
  mldonkey-server/fasttrack_problem:
  mldonkey-server/mldonkey_dir: /var/lib/mldonkey
  mldonkey-server/mldonkey_move: false
  mldonkey-server/max_hard_upload_rate: 0




Bug marked as fixed in version 2.9.5-2. Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Sun, 14 Dec 2008 09:36:02 GMT) Full text and rfc822 format available.

Information stored :
Bug#507818; Package mldonkey-server. (Sun, 14 Dec 2008 09:36:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Paleino <d.paleino@gmail.com>:
Extra info received and filed, but not forwarded. (Sun, 14 Dec 2008 09:36:04 GMT) Full text and rfc822 format available.

Message #12 received at 507818-quiet@bugs.debian.org (full text, mbox):

From: David Paleino <d.paleino@gmail.com>
To: 507818-quiet@bugs.debian.org
Cc: Maciej Czub <m.czub@newcomo.pl>, Debian OCaml Maintainers
 <debian-ocaml-maint@lists.debian.org>
Subject: Cannot reproduce #507818
Date: Sun, 14 Dec 2008 10:32:43 +0100
[Message part 1 (text/plain, inline)]
fixed 507818 2.9.5-2
thanks

Hello Maciej,
I cannot reproduce this bug with 2.9.5-2, and reading debian/changelog, there
seems to be no changes which could be related to the issue.
Maintainers: I suggest to lower the bug severity, or at least tag it as
unreproducible.

My mlnet.log:

---8<---
2008/12/14 10:27:12 [cO] Starting MLDonkey 2.9.5 ... 
2008/12/14 10:27:12 [cO] Language IT, locale UTF-8, ulimit for open files 1024
2008/12/14 10:27:12 [cO] MLDonkey is working in .
2008/12/14 10:27:12 [Gettext] Loading language resource mlnet_strings.it_IT.UTF-
8
2008/12/14 10:27:12 [cO] loaded language resource file
2008/12/14 10:27:12 [DNS] Resolving [pingu] ...
2008/12/14 10:27:12 [DNS] Resolving [www.mldonkey.org] ...

Attention!
This core is running with glibc 2.8 but it was compiled with glibc 2.7.
This can lead to unexpected behaviour. Consider compiling the core yourself
or getting a binary compiled with glibc 2.7.

2008/12/14 10:27:12 [cO] Logging in ./mlnet.log
2008/12/14 10:27:14 [dMain] Core started
--->8---

(fresh installation: never used it before ;) )

Kindly,
David

P.S.: a possible bug would be that, if --background is used
in /etc/init.d/mldonkey-server, no log is written, while without we have log,
but the process hanging in the shell.

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]

Tags added: unreproducible Request was from Samuel Mimram <smimram@debian.org> to control@bugs.debian.org. (Tue, 13 Jan 2009 11:42:06 GMT) Full text and rfc822 format available.

Severity set to `important' from `grave' Request was from Samuel Mimram <smimram@debian.org> to control@bugs.debian.org. (Tue, 13 Jan 2009 11:42:07 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>:
Bug#507818; Package mldonkey-server. (Sat, 31 Jan 2009 18:12:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maciej Czub <m.czub@newcomo.pl>:
Extra info received and forwarded to list. Copy sent to Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>. (Sat, 31 Jan 2009 18:12:05 GMT) Full text and rfc822 format available.

Message #21 received at 507818@bugs.debian.org (full text, mbox):

From: Maciej Czub <m.czub@newcomo.pl>
To: 507818@bugs.debian.org
Subject: complete log
Date: Sat, 31 Jan 2009 19:04:33 +0100
Hello David,

By default mldonkey does not log anything.

Without '--background' flag my mlnet.log is:

---
2009/01/31 18:48:46 [cO] Starting MLDonkey 2.9.5 ...
2009/01/31 18:48:46 [cO] Language PL, locale UTF-8, ulimit for open 
files 1024
2009/01/31 18:48:46 [cO] MLDonkey is working in .
2009/01/31 18:48:46 [Gettext] Loading language resource 
mlnet_strings.pl_PL.UTF-8
2009/01/31 18:48:46 [cO] loaded language resource file
2009/01/31 18:48:46 [DNS] Resolving [carbon] ...
2009/01/31 18:48:46 [DNS] Resolving [www.mldonkey.org] ...
Syntax error while parsing file downloads.ini at pos 
5709:(Failure("float_of_string"))
it seems that downloads.ini is corrupt,
try to use a backup from /var/lib/mldonkey/old_config
---

I want to analyse this situation better but I don't know where to start. 
Are there some tests that I could execute?

--
Maciej




Information forwarded to debian-bugs-dist@lists.debian.org, Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>:
Bug#507818; Package mldonkey-server. (Fri, 20 Feb 2009 15:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maciej Czub <m.czub@newcomo.pl>:
Extra info received and forwarded to list. Copy sent to Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>. (Fri, 20 Feb 2009 15:09:02 GMT) Full text and rfc822 format available.

Message #26 received at 507818@bugs.debian.org (full text, mbox):

From: Maciej Czub <m.czub@newcomo.pl>
To: 507818@bugs.debian.org
Subject: mlnet problem
Date: Fri, 20 Feb 2009 16:02:30 +0100
On 2.9.5-2 version I have the same problem.

I have try to compile mlnet from source (2.9.7) - successfully.

First running of mlnet:

---
[cO] Starting MLDonkey 2.9.7 ...
[cO] Language PL, locale UTF-8, ulimit for open files 1024
[cO] MLDonkey is working in /root/.mldonkey
[cO] creating new MLDonkey base directory in /root/.mldonkey
[cO] loaded language resource file
[DNS] Resolving [carbon] ...
[DNS] Resolving [www.mldonkey.org] ...
[cO] Logging in /root/.mldonkey/mlnet.log
[dMain] Core started
---

Everything OK.

Second running of mlnet:

---
[cO] Starting MLDonkey 2.9.7 ...
[cO] Language PL, locale UTF-8, ulimit for open files 1024
[cO] MLDonkey is working in /root/.mldonkey
[Gettext] Loading language resource mlnet_strings.pl_PL.UTF-8
[cO] loaded language resource file
[DNS] Resolving [carbon] ...
[DNS] Resolving [www.mldonkey.org] ...
Syntax error while parsing file downloads.ini at pos 
29817:(Failure("float_of_string"))
it seems that downloads.ini is corrupt,
try to use a backup from /root/.mldonkey/old_config
---


What's wrong? Mlnet creates corrupted "downloads.ini"?

---
# perl -e '$aa+=length; if ($aa>29817){print;exit};' -n downloads.ini

buffer_writes_delay = 30.
---

So in my case the bug is very reproducible ;)


--
Maciej




Information forwarded to debian-bugs-dist@lists.debian.org, Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>:
Bug#507818; Package mldonkey-server. (Sat, 28 Feb 2009 10:33:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maciej Czub <m.czub@newcomo.pl>:
Extra info received and forwarded to list. Copy sent to Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>. (Sat, 28 Feb 2009 10:33:09 GMT) Full text and rfc822 format available.

Message #31 received at 507818@bugs.debian.org (full text, mbox):

From: Maciej Czub <m.czub@newcomo.pl>
To: 507818@bugs.debian.org
Subject: solution
Date: Sat, 28 Feb 2009 11:30:25 +0100
I have a solution:
"export LANG=C"
fixes the problem.

Ronny Chilinski - thank you.

I've put this line to /etc/init.d/mldonkey-server and now everything is 
working well.

--
Maciej Czub




Bug closed, send any further explanations to Maciej Czub <m.czub@newcomo.pl> Request was from Mehdi Dogguy <dogguy@pps.jussieu.fr> to control@bugs.debian.org. (Wed, 11 Mar 2009 20:12:06 GMT) Full text and rfc822 format available.

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 09 Apr 2009 07:27:29 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Feb 9 19:43:32 2010; Machine Name: busoni.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.