[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#196085: marked as done (elf/do-lookup.h:do_lookup can signal SEGV)



Your message dated Mon, 11 Aug 2003 15:49:13 +0300
with message-id <3F3790C9.8040809@fmi.uni-sofia.bg>
and subject line The bug was in the Hurd
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 Jun 2003 14:01:40 +0000
>From ogi@fmi.uni-sofia.bg Wed Jun 04 09:01:36 2003
Return-path: <ogi@fmi.uni-sofia.bg>
Received: from cs.fmi.uni-sofia.bg (ds.fmi.uni-sofia.bg) [62.44.101.6] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19NYpb-0003gB-00; Wed, 04 Jun 2003 09:01:35 -0500
Received: from fmi.uni-sofia.bg (magid.fmi.uni-sofia.bg [62.44.101.57])
 by ds.fmi.uni-sofia.bg (iPlanet Messaging Server 5.2 (built Feb 21 2002))
 with ESMTP id <FWWM08OIQIRKLQ002F@ds.fmi.uni-sofia.bg> for
 submit@bugs.debian.org; Wed,
 04 Jun 2003 16:59:19 +0300 (E. Europe Daylight Time)
Date: Wed, 04 Jun 2003 17:03:32 +0300
From: Ognyan Kulev <ogi@fmi.uni-sofia.bg>
Subject: Device files are not accepted under the Hurd
To: submit@bugs.debian.org
Message-id: <3EDDFC34.4040600@fmi.uni-sofia.bg>
Organization: Faculty of Mathematics and Informatics
MIME-version: 1.0
Content-type: multipart/mixed; boundary="Boundary_(ID_DR9pE8nnPSL6LS7BobnIOA)"
X-Accept-Language: bg, en-us, en
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030527
 Debian/1.3.1-2
X-Debbugs-CC: bug-hurd@gnu.org
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-20.6 required=4.0
	tests=HAS_PACKAGE,PATCH_UNIFIED_DIFF,USER_AGENT_MOZILLA_UA,
	      X_DEBBUGS_CC
	autolearn=ham version=2.53-bugs.debian.org_2003_05_24
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_24 (1.174.2.15-2003-03-30-exp)

This is a multi-part message in MIME format.

--Boundary_(ID_DR9pE8nnPSL6LS7BobnIOA)
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT

Package: parted
Version: 1.6.5-1
Severity: important
Tags: patch, upstream

Under the Hurd, when device file is passed as an argument to "parted",
Segmentation fault occurs.  More detailed report can be found in
http://mail.gnu.org/archive/html/bug-hurd/2002-10/msg00036.html

The reason is using store_typed_open instead of store_open.  More
information can be found in $HURD/libstore/store.h (or
/include/hurd/store.h).  Basicly, store_typed_open expects something
like "device:hd0", while store_open expects something like "/dev/hd0".
Needless to say, the latter is what everyone would try.  The first style
is equivalent of (MAJOR,MINOR) pair in *nix, and the second style is
equivalent of block device file name.

I forward this bug report to bug-hurd, as I'm not completly sure if this
is the right fix.

Regards
-- 
Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""
7D9F 66E6 68B7 A62B 0FCF  EB04 80BF 3A8C A252 9782


--Boundary_(ID_DR9pE8nnPSL6LS7BobnIOA)
Content-type: text/plain; name=parted.diff
Content-transfer-encoding: 7BIT
Content-disposition: inline; filename=parted.diff

--- parted-1.6.5.orig/libparted/gnu.c
+++ parted-1.6.5/libparted/gnu.c
@@ -235,12 +235,12 @@
        arch_specific->consume = 1;
  
  retry_open:
-       err = store_typed_open (dev->path, 0, NULL, &arch_specific->store);
+       err = store_open (dev->path, 0, NULL, &arch_specific->store);
        if (err) {
                error_t rw_err = err;
  
-               err = store_typed_open (dev->path, STORE_READONLY, NULL,
-                                       &arch_specific->store);
+               err = store_open (dev->path, STORE_READONLY, NULL,
+                                 &arch_specific->store);
                if (err) {
                        if (ped_exception_throw (
                                PED_EXCEPTION_ERROR,


--Boundary_(ID_DR9pE8nnPSL6LS7BobnIOA)--

---------------------------------------
Received: (at 196085-done) by bugs.debian.org; 11 Aug 2003 12:46:28 +0000
>From ogi@fmi.uni-sofia.bg Mon Aug 11 07:46:26 2003
Return-path: <ogi@fmi.uni-sofia.bg>
Received: from ns.uni-sofia.bg (su.uni-sofia.bg) [62.44.96.1] 
	by master.debian.org with smtp (Exim 3.35 1 (Debian))
	id 19mC48-0000Kj-00; Mon, 11 Aug 2003 07:46:25 -0500
Received: (qmail 25984 invoked by uid 503); 11 Aug 2003 12:42:50 -0000
Received: from ogi@fmi.uni-sofia.bg by su.uni-sofia.bg by uid 500 with qmail-scanner-1.12 (F-PROT: 3.11. Clear:. Processed in 0.361534 secs); 11 Aug 2003 12:42:50 -0000
Received: from magid.fmi.uni-sofia.bg (HELO fmi.uni-sofia.bg) (62.44.101.57)
  by ns.uni-sofia.bg with SMTP; 11 Aug 2003 12:42:49 -0000
Message-ID: <3F3790C9.8040809@fmi.uni-sofia.bg>
Date: Mon, 11 Aug 2003 15:49:13 +0300
From: Ognyan Kulev <ogi@fmi.uni-sofia.bg>
Organization: Faculty of Mathematics and Informatics
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030714 Debian/1.4-2
X-Accept-Language: bg, en-us
MIME-Version: 1.0
To: 196085-done@bugs.debian.org
Subject: The bug was in the Hurd
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: 196085-done@bugs.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0
	tests=BAYES_30,USER_AGENT_MOZILLA_UA
	version=2.53-bugs.debian.org_2003_07_20
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (1.174.2.15-2003-03-30-exp)

I'm closing this bug because the bug was in the Hurd itself.  The 
relevant commit is 
http://mail.gnu.org/archive/html/commit-hurd/2003-08/msg00007.html

Regards
-- 
Ognyan Kulev <ogi@{fmi.uni-sofia.bg,fsa-bg.org}>
7D9F 66E6 68B7 A62B 0FCF  EB04 80BF 3A8C A252 9782



Reply to: