bugmldonkey, a multi-networks file-sharing client - Bugs: bug #16951, SIGABRT with glibc

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16951: SIGABRT with glibc

Submitter:  oliver z <slack21>
Submitted:  Tue 27 Jun 2006 09:53:08 AM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Program malfunction Status:  Duplicate
Assigned to:  None Open/Closed:  Closed
Release:  2.7.7 Release:  2.7.7
Operating System:  Linux Binaries Origin:  CVS / Self compiled
CPU type:  Intel x86

Wed 28 Jun 2006 09:59:27 PM UTC, comment #3: 

From bug #16947:
on slackware-10.2, file-4.17's libmagic is deployed without *.mgc binary compiled databases and mldonkey at some point (not right away nor after some download) fail to load the plain version of /etc/file/magic

Your crash also happens while opening /etc/file/magic, you also
miss magic.mgc. These files are not provided by the Slackware
package, you could circumvent this error by compiling GNU file yourself.

spiralvoice <spiralvoice>
Group administrator
Tue 27 Jun 2006 05:54:03 PM UTC, comment #2: 

Yes, thx.
I downloaded the cvs and used the disable magic flag.
runs fine now, thx :)

best regards,
oliver

oliver z <slack21>
Tue 27 Jun 2006 05:31:14 PM UTC, comment #1: 

It seems Slackware really has problems with its GNU file packages.
Current version of GNU file is 4.17.

To disable it in MLDonkey use --disable-magic, for more configure
options see ./configure --help

spiralvoice <spiralvoice>
Group administrator
Tue 27 Jun 2006 09:53:08 AM UTC, original submission:  

hello.

first of all i encountered the same problem as a bugreporter before with file, so i installed file 4.13 and copied the .mgc file to /etc/file (because mldonkey was looking here...).
i started mldonkey again, everything looks fine, but after some time the core crashed... here is what strace says:

open("/etc/file/magic", O_RDONLY|O_LARGEFILE) = 75
fstat64(75, {st_mode=S_IFREG|0644, st_size=43776, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cb8000
read(75, "\34\4\36\361\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 131072) = 43776
read(75, "", 131072)                    = 0
read(75, "", 131072)                    = 0
close(75)                               = 0
munmap(0xb7cb8000, 131072)              = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_NOCTTY) = 75
writev(75, [{"*** glibc detected * ", 23}, {"free(): invalid next size (norma"..., 34}, {": 0x", 4}, {"085458b8", 8}, {" *\n", 5}], 5*** glibc detected * free(): invalid next size (normal): 0x085458b8 *
) = 74
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(24288, 24288, SIGABRT)           = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Process 24288 detached

[1]+  Done                    strace /3rd_party/bin/mlnet

i just downloaded the source, untar'd it, run ./configure, installed ocaml in the local dir and installed it with make install (prefix=/3rd_party).

i'm running slackware current with gcc 3.4.6, glibc 2.3.6, kernel 2.6.17. is it possible to disable the mime magic in the configure script? would be really nice if mldonkey would run... i dont think i need this feature, do i?

best regards,

oliver

oliver z <slack21>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-06-28 spiralvoice StatusNone Duplicate
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code