Backtracing in Windows XP

classic Classic list List threaded Threaded
13 messages Options
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Backtracing in Windows XP

Hi all

I followed the instructions in
https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg

using LO 4.2.0.4 under Windows XP Pro x86 SP3 (yes, I know MS will discontinue it in a couple of months but I'm stuck with it)

I'm trying to get a proof of the crash for Bug #62381 which remains as UNCONFIRMED...

The two methods suggested don't work:
1) Windbg locks soffice.bin as soon as I attach it to the process so I can not open the file that crashes LO
2) procdump does not detect the crash

Any ideas?

Thanks,
Pedro
Christian Lohmaier-3 Christian Lohmaier-3
Reply | Threaded
Open this post in threaded view
|

Re: Backtracing in Windows XP

Hi Pedro, *,

On Fri, Feb 7, 2014 at 1:39 PM, Pedro <[hidden email]> wrote:
>
> I followed the instructions in
> https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg

probably you didn't :-)

> using LO 4.2.0.4 under Windows XP Pro x86 SP3 (yes, I know MS will
> discontinue it in a couple of months but I'm stuck with it)
>
> I'm trying to get a proof of the crash for Bug #62381 which remains as
> UNCONFIRMED...
>
> The two methods suggested don't work:
> 1) Windbg locks soffice.bin as soon as I attach it to the process so I can
> not open the file that crashes LO

you probably missed:
"Type g in the command window (or choose Debug>Go)."

after attaching.

ciao
Christian

PS: If using windows XP, you need to install PowerShell (the windows
management stuff) via the optional updates if you also want the
debugger to be able to download the source-files.
Not necessary for providing a backtrace though.
(Windows update → optional update → make sure to install the .NET
framework, as powershell/windows management stuff depend on it, then
the "Windows Management Framework" including the powershell should be
listed as available update)
_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: Backtracing in Windows XP

Hi Christian, all

Christian Lohmaier-3 wrote
you probably missed:
"Type g in the command window (or choose Debug>Go)."

after attaching.
I did forget to do that on the second run :)

The first time I tried with

CACHE*C:\symbols;SRV*http://dev-builds.libreoffice.org/daily/master/Win-x86@39/symbols;SRV*http://dev-downloads.libreoffice.org/symstore/symbols;SRV*http://msdl.microsoft.com/download/symbols

but got some errors about missing symbols so I changed to

CACHE*C:\symbols;SRV*http://dev-downloads.libreoffice.org/symstore/symbols;SRV*http://msdl.microsoft.com/download/symbols

(but then forgot the "g" part... :) )

After your reminder I was able to run Windbg again but I still get symbol errors...

I'm going to attach the output to the bug report.

My non-dev interpretation is that LO is somehow not happy with PDF Xchange Viewer (my default PDF reader)

Are the missing symbol messages important? What am I'm missing?

Thanks!
Pedro
Christian Lohmaier-3 Christian Lohmaier-3
Reply | Threaded
Open this post in threaded view
|

Re: Backtracing in Windows XP

Hi Pedro, *,

Am 07.02.2014 15:44 schrieb "Pedro" <[hidden email]>:
> […]
> After your reminder I was able to run Windbg again but I still get symbol
> errors...

Can you paste what you geht AS output?

The Debugger probably won't find symbols for suffice.bin, as that's built using a detour and then renamed...

Do you get no symbols at all?

> Are the missing symbol messages important? What am I'm missing?

Kind of. Without the symbols it cannot print where in the code it happened, only where it is in the compiled result..

And to make sure: You're trying with a build that has been signed by the document foundation? I.e. 4.2.0 or 4.1.5 rc/final version.

Ciao
Christian


_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: Backtracing in Windows XP

Hi Christian, all

Christian Lohmaier-3 wrote
Can you paste what you geht AS output?
As I mentioned it was added as an attachment to the Bug report
https://bugs.freedesktop.org/attachment.cgi?id=93616

Christian Lohmaier-3 wrote
And to make sure: You're trying with a build that has been signed by the
document foundation? I.e. 4.2.0 or 4.1.5 rc/final version.
Yes, I'm using the TDF signed 4.2.0.4 release (aka RC4)

Cheers,
Pedro
Christian Lohmaier-3 Christian Lohmaier-3
Reply | Threaded
Open this post in threaded view
|

Re: Backtracing in Windows XP

HI Pedro, *,

On Wed, Feb 12, 2014 at 12:05 AM, Pedro <[hidden email]> wrote:
> Christian Lohmaier-3 wrote
>> Can you paste what you geht AS output?
>
> As I mentioned it was added as an attachment to the Bug report
> https://bugs.freedesktop.org/attachment.cgi?id=93616

Kind of slipped my attention, sorry - but that shows that it does find
LO's symbols, except for the soffice.bin one that I mentioned (but
that shouldn't cause problems with the trace).

If you read the stack from the bottom up, you can follow how it starts
with the soffice!main call (no source-file printed) then goes on with
sofficeapp!soffice_main (in sofficemain.cxx, so here it has the symbol
& source-info available), then goes trhough the various functions in
vcl, then the functions that handle embedded objects, the code that
load the plugin to handle the embedded object, and then the browser
plugin crashes and takes LO down with it. Whether it crashes because
LO feeds it wrong data or of some other reason, that I don't know..

So please go to "about:plugins" in firefox (type that into the
location bar), and please post the info that it prints for the PDF
plugin, you might even attach it (although that might conflict with
the plugin's licencing, depening where it came from, so IANAL, etc)
add that info to the bugreport, that should allow people to install
the same plugin.

google says it is "PDF-XChange Viewer". You can try to move the plugin
away from Firefox' plugin folder, so that LO won't load it/try the
same with the adobe reader plugin for example.

ciao
Christian
_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: Backtracing in Windows XP

Hi Christian, all

Christian Lohmaier-3 wrote
and then the browser
plugin crashes and takes LO down with it. Whether it crashes because
LO feeds it wrong data or of some other reason, that I don't know..
That doesn't make much sense to me. Why is it using the Firefox plugin? What would happen if I didn't use Firefox?

Christian Lohmaier-3 wrote
So please go to "about:plugins" in firefox (type that into the
location bar), and please post the info that it prints for the PDF
plugin, you might even attach it (although that might conflict with
the plugin's licencing, depening where it came from, so IANAL, etc)
add that info to the bugreport, that should allow people to install
the same plugin.
Done.
https://bugs.freedesktop.org/show_bug.cgi?id=62381

Christian Lohmaier-3 wrote
google says it is "PDF-XChange Viewer". You can try to move the plugin
away from Firefox' plugin folder, so that LO won't load it/try the
same with the adobe reader plugin for example.
I don't use Adobe Reader. I tested temporarily removing the plugin. LO still crashes.
I hope the Bug report is enough to provide some ideas to the Devs...

Cheers,
Pedro
Christian Lohmaier-3 Christian Lohmaier-3
Reply | Threaded
Open this post in threaded view
|

Re: Backtracing in Windows XP

Hi Pedro, *,

On Wednesday, February 12, 2014, Pedro <[hidden email]> wrote:
Christian Lohmaier-3 wrote
> and then the browser
> plugin crashes and takes LO down with it. Whether it crashes because
> LO feeds it wrong data or of some other reason, that I don't know..

That doesn't make much sense to me.

That makes perfect sense. The whole point of embedding ole objects is to have other programs handle stuff that the application itself cannot handle.
 
Why is it using the Firefox plugin? What
would happen if I didn't use Firefox?

Because it knows how to use mozilla (and thus firefox) plugin system. firefox itself is not used, only available plugins.
If you didn't use firefox, then you probably wouldn't have the plugins installed in the first place and then LO would not be able to handle the object and only display a placeholder.

Christian Lohmaier-3 wrote
> google says it is "PDF-XChange Viewer". You can try to move the plugin
> away from Firefox' plugin folder, so that LO won't load it/try the
> same with the adobe reader plugin for example.

I don't use Adobe Reader. I tested temporarily removing the plugin. LO still
crashes.

I'm not sure whether that actually was enough. I don't know whether LO/the plugin system searches for multiple paths. Can you double-check with the debugger that it doesn't load the plugin? And of course the trace of a crash without LO loading plugins also would be very helpful for the report.

ciao
Christian

_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: Backtracing in Windows XP

Hi Christian

Christian Lohmaier-3 wrote
> > google says it is "PDF-XChange Viewer". You can try to move the plugin
> > away from Firefox' plugin folder, so that LO won't load it/try the
> > same with the adobe reader plugin for example.
>
> I don't use Adobe Reader. I tested temporarily removing the plugin. LO
> still
> crashes.
>

I'm not sure whether that actually was enough. I don't know whether LO/the
plugin system searches for multiple paths. Can you double-check with the
debugger that it doesn't load the plugin? And of course the trace of a
crash without LO loading plugins also would be very helpful for the report.
I uninstalled PDF Xchange Viewer temporarily (which also uninstalled the plugins, obviously). There is no crash so there is no trace output :) LO simply displays the OLE placeholder as you expected.

However when there is no PDF reader on my system, I can still Insert PDFs in a LO presentation and view previously inserted PDFs... So the plugin is not needed for viewing or inserting PDFs in presentations???

Maybe this connection to the plugin is not needed at all?

Cheers,
Pedro
Michael Stahl-2 Michael Stahl-2
Reply | Threaded
Open this post in threaded view
|

Re: Backtracing in Windows XP

In reply to this post by Christian Lohmaier-3
qOn 11/02/14 20:33, Christian Lohmaier wrote:

> Hi Pedro, *,
>
> Am 07.02.2014 15:44 schrieb "Pedro" <[hidden email]
> <mailto:[hidden email]>>:
>> […]
>> After your reminder I was able to run Windbg again but I still get symbol
>> errors...
>
> Can you paste what you geht AS output?
>
> The Debugger probably won't find symbols for suffice.bin, as that's
> built using a detour and then renamed...

the problem is that there is both a soffice.bin and soffice.exe and with
Kendy's d5dcb3fc160ce9e2235560af35be2c0f44e03a08 "Name the .pdb files so
that WinDbg can consume them." it looks like it's not possible to name
both of them soffice.pdb...


_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
ape ape
Reply | Threaded
Open this post in threaded view
|

Re: Backtracing in Windows XP

Hi Pedro!
I have good news about Windows XP: http://www.ubuntukylin.com/news/shownews.php?lang=en&id=191

Microsoft announced to extend deadline of Windows XP security update Service to July 14, 2015:
News from Microsoft and other majority of IT media: Windows XP security update service will prolong from the original April 8, 2014 to July 14, 2015. This means that individuals and business users who intend to replace the Windows XP operating system products have 15 months to to prepare.
ape
bfoman bfoman
Reply | Threaded
Open this post in threaded view
|

Re: Backtracing in Windows XP

ape wrote
Hi Pedro!
I have good news about Windows XP: http://www.ubuntukylin.com/news/shownews.php?lang=en&id=191
Microsoft announced to extend deadline of Windows XP security update Service to July 14, 2015:
News from Microsoft and other majority of IT media: Windows XP security update service will prolong from the original April 8, 2014 to July 14, 2015. This means that individuals and business users who intend to replace the Windows XP operating system products have 15 months to to prepare.
ape
Hi!
Not quite so. Couldn't open your link, but this one is more official - https://blogs.technet.com/b/mmpc/archive/2014/01/15/microsoft-antimalware-support-for-windows-xp.aspx.
So, April 8, 2014 still stays as the final day of support for Windows XP - after that date there won't be any security updates, patches or hotfixes for the system vulnerabilities. July 14, 2015 is the final date for Microsoft Security Essentials antimalware software updates.
I wouldn't be so optimistic for using and supporting Windows XP after April 8, as any 0-day security issue probably won't be fixed by MS.
Best regards.
Michael Stahl-2 Michael Stahl-2
Reply | Threaded
Open this post in threaded view
|

Re: Backtracing in Windows XP

On 14/02/14 21:40, bfoman wrote:

> ape wrote
>> Hi Pedro!
>> I have good news about Windows XP:
>> http://www.ubuntukylin.com/news/shownews.php?lang=en&id=191
>> Microsoft announced to extend deadline of Windows XP security update
>> Service to July 14, 2015:
>> News from Microsoft and other majority of IT media: Windows XP security
>> update service will prolong from the original April 8, 2014 to July 14,
>> 2015. This means that individuals and business users who intend to replace
>> the Windows XP operating system products have 15 months to to prepare.
>> ape
>
> Hi!
> Not quite so. Couldn't open your link, but this one is more official -
> https://blogs.technet.com/b/mmpc/archive/2014/01/15/microsoft-antimalware-support-for-windows-xp.aspx.
> So, April 8, 2014 still stays as the final day of support for Windows XP -
> after that date there won't be any security updates, patches or hotfixes for
> the system vulnerabilities. July 14, 2015 is the final date for Microsoft
> Security Essentials antimalware software updates.
> I wouldn't be so optimistic for using and supporting Windows XP after April
> 8, as any 0-day security issue probably won't be fixed by MS.

... especially since the April 8 EOL date has been announced a long time
ago, so it can reasonably be assumed that the bad guys are already
sitting on an arsenal of 0-day exploits that they will unleash once they
are confident that MSFT won't fix the exploited bugs any more ...



_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/