Bug 161440 - Assertion when starting with generic VCL
Summary: Assertion when starting with generic VCL
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-06 10:00 UTC by Heiko Tietze
Modified: 2024-06-21 14:42 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Tietze 2024-06-06 10:00:02 UTC
SAL_USE_VCLPLUGIN=gen instdir/program/swriter (also for scalc)
soffice.bin: /home/ht/Sources/libreoffice/sal/rtl/strtmpl.hxx:148: sal_Int32 rtl::str::getLength(const T*) [with T = char; sal_Int32 = int]: Assertion `pStr' failed.

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ecfd9f96eed33a6a0055978203c035a8ae4d5569
CPU threads: 32; OS: Linux 6.9; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Heiko Tietze 2024-06-06 10:06:31 UTC
pClientID is nullptr at SessionManagerClient::open() in vcl/unx/generic/app/sm.cxx
Comment 2 Xisco Faulí 2024-06-06 10:08:23 UTC
I can't reproduce it in

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: a80972a41e7bca6acfb64c7fb519f4d5430c5aa4
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: x11
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 3 Xisco Faulí 2024-06-06 10:08:59 UTC
(In reply to Heiko Tietze from comment #0)
> Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
> Build ID: ecfd9f96eed33a6a0055978203c035a8ae4d5569
> CPU threads: 32; OS: Linux 6.9; UI render: default; VCL: kf5 (cairo+xcb)
> Locale: de-DE (en_US.UTF-8); UI: en-US
> Calc: threaded

According to the info, you are not using GEN but Kf5
Comment 4 Heiko Tietze 2024-06-06 11:55:19 UTC
Well, gen crashes on start :-).

My autogen.input looks like:

--with-system-libxml=no
--with-system-openssl
--with-system-curl
--enable-debug
--enable-kf5
--enable-qt6
--without-doxygen
--without-help
--without-myspell-dicts
--with-lang=en-US de zh-TW

Maybe --enable-debug vs. --enable-dbgutil?
Comment 5 Julien Nabet 2024-06-06 12:22:01 UTC
On pc Debian x86-64 with master sources updated today (+ enable-dbgutil included in my autogen.input), I don't reproduce this. I tried with gen and kf5 rendering. 3e7478ef9706e74ac551c1f94090e163e74c7fd8
tdf#157931 sfx2: fix modified status of Base forms
Comment 6 Heiko Tietze 2024-06-06 14:09:30 UTC
Both --enable-debug and --enable-dbgutil run in the assertion for me (after make clean).
Comment 7 Stéphane Guillou (stragu) 2024-06-21 14:42:56 UTC
No repro with latest daily debug build:

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 151d997365f7bf271d63af535d29a9c3439c6d46
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: x11
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

Can you test again with a recent build, Heiko?