From owner-freebsd-openoffice Mon Aug 26 1:46:35 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A483137B400; Mon, 26 Aug 2002 01:46:31 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8436343E42; Mon, 26 Aug 2002 01:46:30 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.3/8.12.3) with ESMTP id g7Q8kStr001911; Mon, 26 Aug 2002 10:46:28 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g7Q8kSYW1149044; Mon, 26 Aug 2002 10:46:28 +0200 (MES) Date: Mon, 26 Aug 2002 10:47:58 +0200 (CEST) From: Martin Blapp To: "Kevin B. Hendricks" Cc: , , Subject: Re: [porting-dev] FreeBSD: 3 different crashes in OO.1.0.1 In-Reply-To: <200208252257.48271.kevin.hendricks@sympatico.ca> Message-ID: <20020826102020.U59651-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, > I have put a breakpoint at Frame 5 right on the throw statement (see your > frame 5 source below) and then tried to open the url file:///junk.txt > which does not exist. And happily received the dialog box that says the > file does not exist BUT the breakpoint was never hit! I note that you use three ///, I always used two slashes. Now to the funny part ! If I use three slashes I get a different error. I get two times the errorbox "file does not exist", and then a crash ! Crash at the same location then. (gdb) print aMedium $1 = {<> = {}, eError = 283, bDirect = 0 '\0', bRoot = 0 '\0', bSetFilter = 0 '\0', bTriedStorage = 0 '\0', nStorOpenMode = 2051, pURLObj = 0x29970a98, aName = {mpData = 0x29970e00}, aFilterClass = {pImp = 0x2859be70}, pInStream = 0x0, pOutStream = 0x0, aStorage = {pObj = 0x0}, pFilter = 0x0, pSet = 0x299707b0, pImp = 0x29970960, aLogicName = {mpData = 0x29970640}, aLongName = {mpData = 0x28596200}, bRemote = 0 '\0'} (gdb) print *aMedium.aName.mpData $2 = {mnRefCount = 1, mnLen = 9, maStr = {47}} (gdb) x/9s aMedium.aName.mpData.maStr 0x29970e08: "/" 0x29970e0a: "j" 0x29970e0c: "u" 0x29970e0e: "n" 0x29970e10: "k" 0x29970e12: "." 0x29970e14: "t" 0x29970e16: "x" 0x29970e18: "t" > Here is what mine says trying to open the url file:///junk.html > > (gdb) print aMedium > $1 = {<> = {}, eError = 0, bDirect = 0 '\0', bRoot = 0 '\0', > bSetFilter = 0 '\0', bTriedStorage = 0 '\0', nStorOpenMode = 2051, > pURLObj = 0x31218310, aName = {mpData = 0x312182e8}, aFilterClass = { > pImp = 0xfa9a8ec}, pInStream = 0x0, pOutStream = 0x0, aStorage = {pObj = 0x0}, > pFilter = 0x0, pSet = 0x31219938, pImp = 0x31219600, aLogicName = { > mpData = 0x312590d8}, aLongName = {mpData = 0xfa9302c}, bRemote = 0 > '\0'} (gdb) print aMedium $2 = {<> = {}, eError = 770, bDirect = 0 '\0', bRoot = 0 '\0', bSetFilter = 0 '\0', bTriedStorage = 0 '\0', nStorOpenMode = 2051, pURLObj = 0x80f5080, aName = {mpData = 0x80f2840}, aFilterClass = {pImp = 0x285cbe50}, pInStream = 0x0, pOutStream = 0x0, aStorage = {pObj = 0x0}, pFilter = 0x0, pSet = 0x84cdf40, pImp = 0x80ec800, aLogicName = {mpData = 0x84cdd80}, aLongName = {mpData = 0x285c61e0}, bRemote = 0 '\0'} (gdb) print *aMedium.aName.mpData $1 = {mnRefCount = 1, mnLen = 9, maStr = {106}} (gdb) x/9s aMedium.aName.mpData.maStr 0x80f2848: "j" 0x80f284a: "u" 0x80f284c: "n" 0x80f284e: "k" 0x80f2850: "." 0x80f2852: "t" 0x80f2854: "x" 0x80f2856: "t" 0x80f2858: "/" > > (gdb) print *aMedium.aName.mpData > $4 = {mnRefCount = 1, mnLen = 10, maStr = {47}} > (gdb) x/20s aMedium.aName.mpData.maStr > 0x312182f0: "" > 0x312182f1: "/" > 0x312182f3: "j" > 0x312182f5: "u" > 0x312182f7: "n" > 0x312182f9: "k" > 0x312182fb: "." > 0x312182fd: "h" > 0x312182ff: "t" > 0x31218301: "m" > 0x31218303: "l" > 0x31218305: "" Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message