Bug#347465: mldonkey-server: bus error on sparc

2006-01-16 Thread spiral voice

Hi,

testing MLDonkey 2.7.1 on Solaris 9/Sparc did not show the tiger tree error.

This error was fixed in 2.7.1:
2005/12/01
4657: Fix for C files for AMD64, mipsel platforms
 improve endianness checking in tiger.c, md5_c.c and CryptoPP.h,
 print endianness in buildinfo, removed sha1_old code

Therefore I am a bit surprised that this error still exists.
Could you please compile Ocaml and MLDonkey yourself?

Remove all Ocaml and MLDonkey stuff from Debian/Sparc

wget http://caml.inria.fr/pub/distrib/ocaml-3.09/ocaml-3.09.1.tar.bz2
tar -xjvf ocaml-3.09.1.tar.bz2
cd ocaml-3.09.1
./configure
make world.opt
make install

wget 
http://download.savannah.gnu.org/releases/mldonkey/mldonkey-2.7.2.tar.bz2

tar -xjvf mldonkey-2.7.2.tar.bz2
cd mldonkey-2.7.2
./configure
make
./mlnet -stdout

No tiger tree error should appear now. If it still does, please check
/usr/local/lib/ocaml/caml/config.h. A sparc CPU is big-endian
(this should also be reported by MLDonkey buildinfo command)
and ARCH_BIG_ENDIAN should be defined in config.h.
MLDonkey uses this header file since the patch mentioned above.
So if 2.7.1 still reports failed tiger tree check then something could
be wrong when detecting endianess.

- spiralvoice




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#347465: mldonkey-server: bus error on sparc

2006-01-16 Thread Sylvain Le Gall
Hello,

On Mon, Jan 16, 2006 at 11:21:48PM +0100, spiral voice wrote:
 Hi,
 
 testing MLDonkey 2.7.1 on Solaris 9/Sparc did not show the tiger tree error.
 
 This error was fixed in 2.7.1:
 2005/12/01
 4657: Fix for C files for AMD64, mipsel platforms
  improve endianness checking in tiger.c, md5_c.c and CryptoPP.h,
  print endianness in buildinfo, removed sha1_old code
 
 Therefore I am a bit surprised that this error still exists.
 Could you please compile Ocaml and MLDonkey yourself?
 
 Remove all Ocaml and MLDonkey stuff from Debian/Sparc
 
 wget http://caml.inria.fr/pub/distrib/ocaml-3.09/ocaml-3.09.1.tar.bz2
 tar -xjvf ocaml-3.09.1.tar.bz2
 cd ocaml-3.09.1
 ./configure
 make world.opt
 make install
 
 wget 
 http://download.savannah.gnu.org/releases/mldonkey/mldonkey-2.7.2.tar.bz2
 tar -xjvf mldonkey-2.7.2.tar.bz2
 cd mldonkey-2.7.2
 ./configure
 make
 ./mlnet -stdout
 
 No tiger tree error should appear now. If it still does, please check
 /usr/local/lib/ocaml/caml/config.h. A sparc CPU is big-endian
 (this should also be reported by MLDonkey buildinfo command)
 and ARCH_BIG_ENDIAN should be defined in config.h.
 MLDonkey uses this header file since the patch mentioned above.
 So if 2.7.1 still reports failed tiger tree check then something could
 be wrong when detecting endianess.
 

I just can't use a custom ocaml binary (it will be really complicated).
However, i think ocaml 3.09.1 doesn't suffer the tiger tree problem (the
problem arise on ocaml 3.09.0). I think it should be fixed in the next
upload (mldonkey 2.7.2 + ocaml 3.09.1). But for now, i am waiting for a
fixed lablgtk2 version (one that will compile on all debian arches).

Kind regard
Sylvain Le Gall


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#347465: mldonkey-server: bus error on sparc

2006-01-10 Thread Bruno Kleinert
Package: mldonkey-server
Severity: grave
Justification: renders package unusable

since i upgraded mldonkey-server on my sparc to version 2.7.1-2 i
receive a bus error in /var/log/syslog every time the mlnet binary
binary is tried to start.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#347465: mldonkey-server: bus error on sparc

2006-01-10 Thread Sylvain Le Gall
Hello,

On Tue, Jan 10, 2006 at 10:09:54PM +0100, Bruno Kleinert wrote:
 Package: mldonkey-server
 Severity: grave
 Justification: renders package unusable
 
 since i upgraded mldonkey-server on my sparc to version 2.7.1-2 i
 receive a bus error in /var/log/syslog every time the mlnet binary
 binary is tried to start.
 
 -- System Information:
 Debian Release: testing/unstable
   APT prefers unstable
   APT policy: (500, 'unstable')
 Architecture: amd64 (x86_64)
^^ 
Do you own a sparc or amd64 ?

Please give me the full syslog lines to see if i can guess anything from
it...

Regard
Sylvain Le Gall



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#347465: mldonkey-server: bus error on sparc

2006-01-10 Thread Steve Langasek
severity 347465 important
user debian-release@lists.debian.org
usertag 347465 rc-sparc
thanks

On Tue, Jan 10, 2006 at 11:15:44PM +0100, Sylvain Le Gall wrote:

 On Tue, Jan 10, 2006 at 10:09:54PM +0100, Bruno Kleinert wrote:
  Package: mldonkey-server
  Severity: grave
  Justification: renders package unusable
  
  since i upgraded mldonkey-server on my sparc to version 2.7.1-2 i
  receive a bus error in /var/log/syslog every time the mlnet binary
  binary is tried to start.
  
  -- System Information:
  Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
  Architecture: amd64 (x86_64)
 ^^ 
 Do you own a sparc or amd64 ?

 Please give me the full syslog lines to see if i can guess anything from
 it...

Lots of ocaml code has been sigbussing on sparc.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


signature.asc
Description: Digital signature


Bug#347465: mldonkey-server: bus error on sparc

2006-01-10 Thread Bruno Kleinert
On Tue, 10 Jan 2006 19:01:08 -0800
Steve Langasek [EMAIL PROTECTED] wrote:

 severity 347465 important
 user debian-release@lists.debian.org
 usertag 347465 rc-sparc
 thanks
 
 On Tue, Jan 10, 2006 at 11:15:44PM +0100, Sylvain Le Gall wrote:
 
  On Tue, Jan 10, 2006 at 10:09:54PM +0100, Bruno Kleinert wrote:
   Package: mldonkey-server
   Severity: grave
   Justification: renders package unusable
   
   since i upgraded mldonkey-server on my sparc to version 2.7.1-2 i
   receive a bus error in /var/log/syslog every time the mlnet
   binary binary is tried to start.
   
   -- System Information:
   Debian Release: testing/unstable
 APT prefers unstable
 APT policy: (500, 'unstable')
   Architecture: amd64 (x86_64)
  ^^ 
  Do you own a sparc or amd64 ?
 
  Please give me the full syslog lines to see if i can guess anything
  from it...
 
 Lots of ocaml code has been sigbussing on sparc.
 
 -- 
 Steve Langasek   Give me a lever long enough and a
 Free OS Debian Developer   to set it on, and I can
 move the world. [EMAIL PROTECTED]
 http://www.debian.org/

sorry for confusing - i ran reportbug from my amd64 machine, but
mldonkey-server is installed on a sparc64, running a 64bit 2.6.15 kernel
with debian unstable for sparc. to be more verbose this time:

if i call /etc/init.d/mldonkey-server force-start (i disabled it
in /etc/default/mldonkey for startup) there are no processes of
mldonkey running and in /var/log/syslog i see these lines:

Jan 11 06:52:38 localhost mldonkey_server: Set niceness of the process: 10
Jan 11 06:52:38 localhost mldonkey_server: Set uid/gid of the process (101, 
1001)
Jan 11 06:52:38 localhost mldonkey_server: Set umask of the process: 2
Jan 11 06:52:38 localhost mldonkey_server: Chdir to home dir: /var/mldonkey
Jan 11 06:52:38 localhost mldonkey_server: Fork the process
Jan 11 06:52:38 localhost mldonkey_server: Reset the group leader
Jan 11 06:52:38 localhost mldonkey_server: Fork a second time the process
Jan 11 06:52:38 localhost mldonkey_server: Close standard IO
Jan 11 06:52:38 localhost mldonkey_server: Process is running in the background
Jan 11 06:52:38 localhost mldonkey_server: Writing PID (713) to pidfile: 
/var/run/mldonkey/mlnet.pid
Jan 11 06:52:38 localhost mldonkey_server: Launching MLnet process
Jan 11 06:52:38 localhost mldonkey_server: Launching MLnet stderr logger
Jan 11 06:52:38 localhost mlnet_error: TigerTree: Exception File 
src/utils/lib/md4.ml, line 0, characters 509-10: Assertion failed
Jan 11 06:52:38 localhost mlnet_error: Unable to compute correct Tiger trees.
Jan 11 06:52:38 localhost mlnet_error: Send a bug report with your configuration
Jan 11 06:52:38 localhost mlnet_error: and how you obtained this executable.
Jan 11 06:52:38 localhost mlnet_error: Running with Tiger tree corruption 
detection disabled.
Jan 11 06:52:38 localhost mlnet_error: (used only if you run the Gnutella 
plugin)
Jan 11 06:52:38 localhost mlnet_error: 2006/01/11 06:52:38 Starting MLDonkey 
2.7.1 ... 
Jan 11 06:52:38 localhost mlnet_error: 2006/01/11 06:52:38 Language EN, locale 
ISO-8859-1
Jan 11 06:52:38 localhost mlnet_error: 2006/01/11 06:52:38 MLDonkey is working 
in .
Jan 11 06:52:39 localhost mldonkey_server: Launching MLnet stdout logger
Jan 11 06:52:39 localhost mlnet_error: 2006/01/11 06:52:39 [DNS] Resolving 
[lumpi] ...
Jan 11 06:52:39 localhost mldonkey_server: Process PID ( 718 ) was killed by 
signal 10
Jan 11 06:52:39 localhost mldonkey_server: Process respawning too fast : only 
live 0.
Jan 11 06:52:39 localhost mldonkey_server: Stopping processes PID ( 718 720 722 
)
Jan 11 06:52:39 localhost mldonkey_server: Waiting termination of process 718
Jan 11 06:52:39 localhost mldonkey_server: Process 718 terminated
Jan 11 06:52:39 localhost mldonkey_server: Waiting termination of process 720
Jan 11 06:52:39 localhost mldonkey_server: Process 720 terminated
Jan 11 06:52:39 localhost mldonkey_server: Waiting termination of process 722
Jan 11 06:52:39 localhost mldonkey_server: Process 722 terminated
Jan 11 06:52:39 localhost mldonkey_server: Process stopped PID ( 718 720 722 )
Jan 11 06:52:39 localhost mldonkey_server: MLDonkey server end
Jan 11 06:52:39 localhost mldonkey_server: Removing pidfile: 
/var/run/mldonkey/mlnet.pid


to see what's going wrong i tried to start mlnet as a regular user:

[EMAIL PROTECTED]:~$ mlnet
TigerTree: Exception File src/utils/lib/md4.ml, line 0, characters 509-10: 
Assertion failed
Unable to compute correct Tiger trees.
Send a bug report with your configuration
and how you obtained this executable.
Running with Tiger tree corruption detection disabled.
(used only if you run the Gnutella plugin)
2006/01/11 07:01:45 Starting MLDonkey 2.7.1 ... 
2006/01/11 07:01:45 Language EN, locale ISO-8859-1
2006/01/11 07:01:45 MLDonkey is working in /home/fuddl/.mldonkey
2006/01/11 07:01:45 [DNS] Resolving [lumpi] ...
Bus error


i don't think the tigertree errors are involved in the 

Bug#347465: mldonkey-server: bus error on sparc

2006-01-10 Thread Sylvain Le Gall
Hello,

On Wed, Jan 11, 2006 at 07:05:21AM +0100, Bruno Kleinert wrote:
 On Tue, 10 Jan 2006 19:01:08 -0800
 Steve Langasek [EMAIL PROTECTED] wrote:
 
  severity 347465 important
  user debian-release@lists.debian.org
  usertag 347465 rc-sparc
  thanks
  
  On Tue, Jan 10, 2006 at 11:15:44PM +0100, Sylvain Le Gall wrote:
  
   On Tue, Jan 10, 2006 at 10:09:54PM +0100, Bruno Kleinert wrote:
Package: mldonkey-server
Severity: grave
Justification: renders package unusable

since i upgraded mldonkey-server on my sparc to version 2.7.1-2 i
receive a bus error in /var/log/syslog every time the mlnet
binary binary is tried to start.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
   ^^ 
   Do you own a sparc or amd64 ?
  
   Please give me the full syslog lines to see if i can guess anything
   from it...
  
  Lots of ocaml code has been sigbussing on sparc.
  
 sorry for confusing - i ran reportbug from my amd64 machine, but
 mldonkey-server is installed on a sparc64, running a 64bit 2.6.15 kernel
 with debian unstable for sparc. to be more verbose this time:
 
 
 [EMAIL PROTECTED]:~$ mlnet
 TigerTree: Exception File src/utils/lib/md4.ml, line 0, characters 509-10: 
 Assertion failed
 Unable to compute correct Tiger trees.
 Send a bug report with your configuration
 and how you obtained this executable.
 Running with Tiger tree corruption detection disabled.
 (used only if you run the Gnutella plugin)
 2006/01/11 07:01:45 Starting MLDonkey 2.7.1 ... 
 2006/01/11 07:01:45 Language EN, locale ISO-8859-1
 2006/01/11 07:01:45 MLDonkey is working in /home/fuddl/.mldonkey
 2006/01/11 07:01:45 [DNS] Resolving [lumpi] ...
 Bus error
 

Well, as Steve Langasek explains above, there is a lot of ocaml code
that shows sigbus error on sparc with ocaml 3.09.0... I am not really
sure this bug is only mldonkey bug (maybe it should be assigned to
ocaml... ).

 
 i don't think the tigertree errors are involved in the bus error,
 because they occured in earlier package versions of mldonkey-server,
 which were running fine.
 

I don't think also, tigertree bug is a well known one...

 strace'ing mlnet showed several errors like:
 
 mmap(0x70338000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, 
 MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xcc000) = -1 ERRNO_1882447872 
 (Unknown error 1882447872)
 and
 close(3)= -1 ERRNO_1879149776 (Unknown error 
 1879149776)
 

Really unknown error ;-)

 if i can do anything else for you, just ask!

Yes, maybe, i will reassign the bug to the package ocaml, so you'll have
to follow the indication of the ocaml maintainer...

Kind regard
Sylvain Le Gall


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]