[Issue 128310] Windows explorer crashes when opening specific file

2021-05-23 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

Matthias Seidel  changed:

   What|Removed |Added

 Latest|4.1.9   |4.1.10
Confirmation in||

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2021-02-25 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

--- Comment #10 from Matthias Seidel  ---
The crash occurs, when hovering with the mouse over the filename in Windows
Explorer.

At this point "infotips" should be displayed. For OpenDocument files this is
part of our ShellExtension (if installed):

https://github.com/apache/openoffice/tree/trunk/main/shell/source/win32/shlxthandler/infotips

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2021-02-25 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

Matthias Seidel  changed:

   What|Removed |Added

   Target Milestone|--- |4.2.0

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2021-02-07 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

Matthias Seidel  changed:

   What|Removed |Added

 Latest|--- |4.1.9
Confirmation in||

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2020-04-28 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

Matthias Seidel  changed:

   What|Removed |Added

   Severity|Normal  |Major

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2020-03-01 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

Matthias Seidel  changed:

   What|Removed |Added

   Keywords|needmoreinfo|crash

--- Comment #9 from Matthias Seidel  ---
Thank you for the info!

However, even if the document wouldn't be valid (which I think is not the case)
the Extension (namely: Infotips) should not crash Explorer.

Thank you for finding that, we have to investigate further...

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2020-03-01 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

--- Comment #8 from Juris  ---
(In reply to Matthias Seidel from comment #3)
> Did some further tests and deleted the two mentioned folders from my saved
> document. I even deleted "manifest.rdf" (which is also missing in your file).
> 
> Still no problems on Windows...
> 
> I think we really need more info about the system that generates the files.

Files are generated using JasperServer API. If some more details are needed I
can probably get them.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2020-02-29 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

--- Comment #7 from Matthias Seidel  ---
I was now able to generate a Windows Crash Dump (explorer.exe):

https://home.apache.org/~mseidel/Issue%20128310/explorer.exe.3920.dmp

Hopefully someone can get useful information from it.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2020-02-29 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

Matthias Seidel  changed:

   What|Removed |Added

 OS|Windows 10  |Windows, all

--- Comment #6 from Matthias Seidel  ---
Unfortunately all I can see in Windows log files is the crash of Explorer.
Maybe Patricia can give more details once she has set up her build environment.

BTW: Confirmed on Windows 7 32-bit, so setting the issue to "Windows, all"

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2020-02-28 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

dam...@apache.org changed:

   What|Removed |Added

 CC||dam...@apache.org

--- Comment #5 from dam...@apache.org ---
(In reply to Matthias Seidel from comment #4)
> The crash occurs when Explorer wants to display the AOO Infotips for the
> file.
> 
> Removing the Windows Explorer Extension is one workaround.
> Even opening the file with a double click anywhere else than on the filename
> in the File Open Dialog will work.
> 
> Most likely the problem is in this code:
> https://github.com/apache/openoffice/blob/trunk/main/shell/source/win32/
> shlxthandler/infotips/infotips.cxx
> 
> But at this point a developer must take over...

---snip---
std::wstring formatSizeOfFile( DWORD dwSize )
{
if ( dwSize < 1000 ) 
{
char buffer[3];
int dFileSize = dwSize;

_itoa( dFileSize, buffer, 10 );
---snip---

If 100 <= dwSize <= 999, that's a buffer overflow, as buffer has only 3 chars,
and we need a 4th char to store the terminating '\0'.

There could be other problems I don't immediately see. Is there a way to get a
stack trace when this error happens?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2020-02-28 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

--- Comment #4 from Matthias Seidel  ---
The crash occurs when Explorer wants to display the AOO Infotips for the file.

Removing the Windows Explorer Extension is one workaround.
Even opening the file with a double click anywhere else than on the filename in
the File Open Dialog will work.

Most likely the problem is in this code:
https://github.com/apache/openoffice/blob/trunk/main/shell/source/win32/shlxthandler/infotips/infotips.cxx

But at this point a developer must take over...

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2020-02-28 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

Matthias Seidel  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1
   Keywords||needmoreinfo

--- Comment #3 from Matthias Seidel  ---
Did some further tests and deleted the two mentioned folders from my saved
document. I even deleted "manifest.rdf" (which is also missing in your file).

Still no problems on Windows...

I think we really need more info about the system that generates the files.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2020-02-28 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

--- Comment #1 from Matthias Seidel  ---
Can you give more details about the system that is generating these ODT files?

Looking at the file with an archive viewer it is missing two folders:
 - Thumbnails
 - Configurations2

I am no expert in OpenDocument Format, but I would say this generated document
is not valid. At least it is missing the Thumbnails folder which the Windows
Shell Extension is probably looking for.

I opened your file on Ubuntu and saved it right away. With this file I have no
problems on Windows (see attachement).

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2020-02-28 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

--- Comment #2 from Matthias Seidel  ---
Created attachment 86863
  --> https://bz.apache.org/ooo/attachment.cgi?id=86863=edit
ODT opened and saved with AOO 4.1.7 on Ubuntu

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 128310] Windows explorer crashes when opening specific file

2020-02-28 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=128310

Matthias Seidel  changed:

   What|Removed |Added

 CC||msei...@apache.org

-- 
You are receiving this mail because:
You are the assignee for the issue.