https://bugs.documentfoundation.org/show_bug.cgi?id=170100

            Bug ID: 170100
           Summary: cppumaker crash assert on Windows with types.rdb and
                    types/offapi.rdb
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Using cppumaker on Windows with types.rdb and types/offapi.rdb leads to crash
assert.

Steps to Reproduce:
1. Build LibreOffice 26.8 dev master on Windows with --enable-dbgutil and
--enable-odk:
https://wiki.documentfoundation.org/Development/BuildingOnWindows
2. Use cppumaker with the command:
"C:\cygwin64\home\user\lode\dev\core\instdir\sdk/bin/cppumaker" -Gc
-Oc:/libreofficedev26.8_sdk/WINexample.out/inc
C:\cygwin64\home\user\lode\dev\core\instdir\program\types.rdb
C:\cygwin64\home\user\lode\dev\core\instdir\program\types\offapi.rdb

(You may need to tune the path for cppumaker, types.rdb and offapi.rdb
depending on how you build. The above path is for a build with the help of
Cygwin, and not wsl)

Actual Results:
A window showing assertion failure is shown, displaying:

Debug Assertion Failed!

Program:
...\cppumaker.exe
File:
...\include\vector
Line 1941

Expression: vector subscript out of range

[Abort][Retry][Ignore]

Expected Results:
No crash assert should happen in debug mode


Reproducible: Always


User Profile Reset: No

Additional Info:
Crash assert happens in a debug build with odk enabled:

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: f25dbabaec77368a30a8561a9d04120add4e9aa2
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

No crash happens with LibreOffice 25.8 stable (release build):

Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

"C:\Program Files\LibreOffice\sdk\bin\cppumaker.exe" -Gc
-Oc:/libreoffice25.8_sdk/WINexample.out/inc "C:/Program
Files/LibreOffice/program/types.rdb" "C:/Program
Files/LibreOffice/program/types/offapi.rdb"

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

Reply via email to