Re: [Libreoffice] LoadComponentFromUrl misuse lead to crash

2011-12-21 Thread Laurent Godard
Hi Caolan > Checked this locally (finally), and I get no crash. I get a "unsupported > url" dialog from starbasic. > i checked under windows, ok "unsupported url" seems that the only persons that reproduces the crash are under ubuntu (10.00 for me, 11.10 for jbfaure) you and cedric (i assume yo

Re: [Libreoffice] LoadComponentFromUrl misuse lead to crash

2011-12-20 Thread Laurent Godard
Hi Caolan > This still a problem for you? if so can you run it under gdb and get a > backtrace. cedric & noel submited a patch yesterday i did not have the time to check, but will do Thanks a lot, i let you know Laurent ___ LibreOffice mailing list Li

Re: [Libreoffice] LoadComponentFromUrl misuse lead to crash

2011-12-20 Thread Caolán McNamara
On Tue, 2011-11-29 at 13:58 +0100, Laurent Godard wrote: > Hi caolan > > > Can you attach a demo ? > > > > here is a macro showing the problem > just change the myFile.ods so that it points to a file of your filestem Checked this locally (finally), and I get no crash. I get a "unsupported url"

Re: [Libreoffice] LoadComponentFromUrl misuse lead to crash

2011-11-29 Thread Laurent Godard
Hi caolan > Can you attach a demo ? > here is a macro showing the problem just change the myFile.ods so that it points to a file of your filestem Laurent Sub testLoad url = "/home/lgodard/myFile.ods" url1 = convertToUrl(url) 'starts with file:// aDoc1 = StarDe

Re: [Libreoffice] LoadComponentFromUrl misuse lead to crash

2011-11-29 Thread Caolán McNamara
On Mon, 2011-11-28 at 18:22 +0100, Laurent Godard wrote: > Hi > > here is a summary of the bug i encounter, present in all LibO versions > (master, 344, 322), but safe in OOo321 > > inside a macro, i launch a stardesktop.loadComponentFromUrl(firstArg, ...). > > if firstArg is an URL, starting wi

[Libreoffice] LoadComponentFromUrl misuse lead to crash

2011-11-28 Thread Laurent Godard
Hi here is a summary of the bug i encounter, present in all LibO versions (master, 344, 322), but safe in OOo321 inside a macro, i launch a stardesktop.loadComponentFromUrl(firstArg, ...). if firstArg is an URL, starting with file://, no problem if firstArg is a path, /the/path/to/my/file, LibO