https://bugs.freedesktop.org/show_bug.cgi?id=86745

            Bug ID: 86745
           Summary: Possible exception/segfault in jurt jpipe.dll under
                    Windows with pipe connection
           Product: LibreOffice
           Version: 4.5.0.0.alpha0+ Master
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 110072
  --> https://bugs.freedesktop.org/attachment.cgi?id=110072&action=edit
Test this exception with this JAVA Class

On Windows when you start a java-uno-connection via pipe then on some machines
you can get the following exception/segfault in the jpipe.dll. 

Detailed Description (sorry for the German UI language settings):
Problemereignisname:    APPCRASH
  Anwendungsname:    javaw.exe
  Anwendungsversion:    7.0.110.21
  Anwendungszeitstempel:    50f13a25
  Fehlermodulname:    jpipe.dll
  Fehlermodulversion:    4.2.5.2
  Fehlermodulzeitstempel:    53bc1d00
  Ausnahmecode:    c00000fd
  Ausnahmeoffset:    000011c7
  Betriebsystemversion:    6.1.7601.2.1.0.256.48
  Gebietsschema-ID:    1031
  Zusatzinformation 1:    022d
  Zusatzinformation 2:    022d20d2f136501747c7b284fa79af41
  Zusatzinformation 3:    171f
  Zusatzinformation 4:    171fb495ef00f99cffbb09f85224e710

The problem is reprocible with LO 4.2.5 and current master.

How to reproduce:

- Download
http://wollmux.googlecode.com/files/wollmux-config-de-utf8-11.11a.tar.gz and
extracting in your home-dir e.g. C:\Users\<user-name>
- Copy the WollMuxBar.jar in your preferred directory
- Start with:
"c:\Program Files (x86)\Java\jdk1.7.0_67/bin\java.exe" -cp
"WollMuxBar.jar;<Your-Path>\lo-core\instdir\URE\java\juh.jar;<Your-Path>\lo-core\instdir\program\classes\unoil.jar"
de.muenchen.allg.itd51.wollmux.dialog.WollMuxBar
- Sometimes now the segfault appears

When the bar appears you are a lucky guy, but you were not able to reproduce
the bug - it is a sporadic bug.



Analysis result / solution:

In the jpipe.dll DLLMain there's a call to the WinApi's LoadLibraryExW function
and that is not allowed. Please see
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682583(v=vs.85).aspx
in the Remarks section. It is clearly mentioned there, that the behaviour for
such usage is not defined and risky.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to