Bug 163169 - When finding and replacing in selection in BASIC IDE: void rtl::str::newFromSubString(rtl_tString **, const rtl_tString *, sal_Int32, sal_Int32) [rtl_tString = _rtl_uString]: Assertion `false' failed.
Summary: When finding and replacing in selection in BASIC IDE: void rtl::str::newFromS...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2024-09-26 17:14 UTC by Buovjaga
Modified: 2024-09-26 17:39 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Document with two macro modules (9.81 KB, application/vnd.oasis.opendocument.text)
2024-09-26 17:14 UTC, Buovjaga
Details
GDB trace (8.14 KB, text/plain)
2024-09-26 17:15 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Buovjaga 2024-09-26 17:14:51 UTC
Created attachment 196727 [details]
Document with two macro modules

Use a debug build.

1. Open the attachment
2. Tools - Macros - Edit Macros, either one of the embedded macros
3. Select some text in the editor
4. Find & Replace (Ctrl+H)
5. Other options - Current selection only
6. Have some findable string in the find field and click Replace All, Yes

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4787fd4fc86230893a6da309f45964116b3a67df
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland) and gtk3 as well
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 Buovjaga 2024-09-26 17:15:27 UTC
Created attachment 196728 [details]
GDB trace
Comment 2 Julien Nabet 2024-09-26 17:39:10 UTC
I confirm on pc Debian x86-64 with master sources updated today.