Date: Mon, 26 Aug 2002 10:47:58 +0200 (CEST) From: Martin Blapp <mb@imp.ch> To: "Kevin B. Hendricks" <kevin.hendricks@sympatico.ca> Cc: <dev@porting.openoffice.org>, <kan@freebsd.org>, <openoffice@freebsd.org> Subject: Re: [porting-dev] FreeBSD: 3 different crashes in OO.1.0.1 Message-ID: <20020826102020.U59651-100000@levais.imp.ch> In-Reply-To: <200208252257.48271.kevin.hendricks@sympatico.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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 = {<> = {<No data fields>}, 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 = {<> = {<No data fields>}, 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 = {<> = {<No data fields>}, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020826102020.U59651-100000>
