Bug 161940

Summary: Calc: UI: erratic cursor jumps, cursor stalls and the like, finally crash.
Product: LibreOffice Reporter: b. <newbie-02>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal CC: miguelangelrv, telesto
Priority: medium    
Version: 24.2.0.3 release   
Hardware: All   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description b. 2024-07-07 16:04:48 UTC
Description:
having cells B6:J6 filled with formulas, copied and want to shift-Pg-down to paste there, somewhere around row 15000 -> crash, 
pasted in portions, filled to around row 20000 -> cell focus doesn't follow cursor, erratic jump around, further actions impossible, 
also in other attempts, fresh sheet, same formulas, similar fill -> cursor stops working, neither pg-down, -up, cursor-down, -up, -left, -right nor pos1 or end have any effect, pointing and scrolling with the mouse still possible, input in cells not, 
:-(

Steps to Reproduce:
1. see description, 
2.
3.

Actual Results:
crashes and stalls

Expected Results:
usable program


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: 420(Build:3)
CPU threads: 8; OS: Linux 6.6; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 4:24.2.0-1
Calc: threaded
Comment 1 m_a_riosv 2024-07-07 17:14:55 UTC
Please test in safe mode, Menu/Help/Restart in Safe Mode
Comment 2 b. 2024-07-08 02:34:39 UTC
Same, rows up to ~13k filled, copied from last row, selected cells from there up to row ~26k, ctrl-v, no reaction, jump to last data with ctrl-cursor-up doesn't work, some moves up and crash. 
Second try, filling in smaller chunks works, trying to mark cells up to exactly 65536 at some point cursor moves switch to random move in intended or opposite direction, while trying to understand crash. 
Third try, normal mode, filling in chunks smaller than 10k works to even more than 100k rows, at some point ctrl-cursor-down marks the cells as like shift-ctrl-cursor-down, after that sometimes up or down switches columns, left or right moves up or down, while trying around crash. 
With other programs on that machine no such problems. 
Do we have something like log in terminal or crash-backlog? 
More experimenting once Calc has a working hidpi mode, as of now it's eye-torture on a 4k screen.
Comment 3 b. 2024-07-08 02:47:47 UTC
in terminal: 
X-Error: BadLength (poly request too large or internal Xlib length error)
        Major opcode: 18 (X_ChangeProperty)
        Resource ID:  0x3e2
        Serial No:    610806 (610806)
These errors are reported asynchronously,
set environment variable SAL_SYNCHRONIZE to 1 to help debugging
Unspecified Application Error