From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3376 Path: news.gmane.org!not-for-mail From: plan9assembler Newsgroups: gmane.linux.lib.musl.general Subject: Re: util-linux-2.23 mount segmentation fault error Date: Wed, 29 May 2013 23:32:20 +0900 Message-ID: References: <20130525162604.GY20323@brightrain.aerifal.cx> <20130526091432.GE31915@port70.net> <20130527142929.GF31915@port70.net> <51A60C74.6050500@gentoo.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b41c46ed1c8d304dddc3f46 X-Trace: ger.gmane.org 1369837953 9935 80.91.229.3 (29 May 2013 14:32:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 May 2013 14:32:33 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3380-gllmg-musl=m.gmane.org@lists.openwall.com Wed May 29 16:32:33 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UhhQX-0006Fq-68 for gllmg-musl@plane.gmane.org; Wed, 29 May 2013 16:32:33 +0200 Original-Received: (qmail 29727 invoked by uid 550); 29 May 2013 14:32:32 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 29719 invoked from network); 29 May 2013 14:32:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=O/ceULVEZ4jVoEVBlaV3Z1vTM5GaPbkDZBBohZt1g9Y=; b=gxwzZuyatzQKJTXN0HvRNxrKE1JIHrr1UYT1D80ICZHeH5jg0j8q9CkC+430YZYusa sESCibDyqxS13IzW2HrefgVTvQaEAtkKwnEUHr+HVvehQq2tnPX0Y6ghLzRgkiZnC5+Q CQTMRi0RZ6mOpWbbSZhXUuCSJ/g1OmfEnnu6ZHjzz1cjhWgXh4cA5i2+6tVIURTSYqoU ZK6vNNi54riC2UWU+LV9IIc9QDEf6Xa11WsQAODvrNzRUj4y2FhqzNLKtplXryqFM5r2 +LjcDGAiufXEG8Aq294sOzmrsmCJ66C5Jz6lDyjRdOX60eEEHO7otTtUGAepsk5OTcEt FHmQ== X-Received: by 10.66.122.39 with SMTP id lp7mr3534457pab.208.1369837940096; Wed, 29 May 2013 07:32:20 -0700 (PDT) In-Reply-To: <51A60C74.6050500@gentoo.org> Xref: news.gmane.org gmane.linux.lib.musl.general:3376 Archived-At: --047d7b41c46ed1c8d304dddc3f46 Content-Type: text/plain; charset=ISO-8859-1 sorry i don't know how to run bt, and i don't have gdb. my hdd info: /dev/sda1 # another linux : LMDE(linux mint based on debian) /dev/sda2 # swap /dev/sda3 # bootstrap-linux (using musl-cross as cross compiler instead of bootstrap-linux built-in). and more additional information about latest git-version musl libc. git pull right now. result: # cd util-linux-2.23/.libs # ./mount /dev/sda1 /mnt EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) < 30 - 40 seconds waiting without return to shell> mount: /mnt: filesystem mounted, but mount(8) failedOperation timed out // <-- this is weird. # and umount gets segfaults randomly.. # umount /mnt traps: umount[9444] general protection ip:7f9c48e618fb sp:7fff72447b88 error:0 in libc.so[7f9c48e16000+72000] Segmentation fault. maybe i should have to build new bootstrap-linux again using new musl libc. On Wed, May 29, 2013 at 11:11 PM, Luca Barbato wrote: > On 05/27/2013 11:40 PM, plan9assembler wrote: > > Hi, i am sure but it works for me. > > > > actually, it little strange, because, > > after modification, first time, it getting segfaults, > > later, it works fine. > > A backtrace says anything useful? > > lu > --047d7b41c46ed1c8d304dddc3f46 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
sorry i don't know how to run= bt, and i don't have gdb.

my hdd info:
/dev/sda1= =A0 # another linux : LMDE(linux mint based on debian)
/dev/sda2= =A0 # swap
/dev/sda3=A0 # bootstrap-linux (using musl-cross as cross compiler in= stead of=A0 bootstrap-linux built-in).

and more additional informati= on about latest git-version musl libc. git pull right now.
re= sult:

# cd util-linux-2.23/.libs
# ./mount /dev/sda1= /mnt
EXT4-fs (sda1): mounted filesystem with ordered data mo= de. Opts: (null)

< 30 - 40=A0 seconds waiting without = return to shell>

mount: /mnt: filesystem mounted, but mount(8) failedOperatio= n timed out=A0=A0=A0 // <-- this is weird.
#

and umount gets segfaults randomly..
# umount= /mnt
traps: umount[9444] general protection ip:7f9c48e618fb sp:7fff72= 447b88 error:0 in libc.so[7f9c48e16000+72000]
Segmentation fa= ult.

maybe i should have to build new bootstrap-linux aga= in using new musl libc.







On Wed, May 29, 2013 at 11:11 PM, = Luca Barbato <lu_zero@gentoo.org> wrote:
On 05/27/2013 11:40 PM, pl= an9assembler wrote:
> Hi, i am sure but it works for me.
>
> actually, it little strange, because,
> after modification, first time, it getting segfaults,
> later, it works fine.

A backtrace says anything useful?

lu

--047d7b41c46ed1c8d304dddc3f46--