[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Patrick Luby  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
 Ever confirmed|0   |1
   Assignee|libreoffice-b...@lists.free |plub...@neooffice.org
   |desktop.org |

--- Comment #24 from Patrick Luby  ---
I have found a fix for this bug and I have posted a patch at:

https://gerrit.libreoffice.org/c/core/+/144329

The patch needs still needs to be reviewed and tested before it appears in a
nightly build. Are there any people who have a macOS LibreOffice build that can
test the patch?

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Sierk Bornemann  changed:

   What|Removed |Added

 Blocks||42082


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=42082
[Bug 42082] [META] Make LibreOffice shine and glow on macOS
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #23 from Patrick Luby  ---
(In reply to Alex Thurgood from comment #22)
> Created attachment 184158 [details]
> LLDB backtrace with 7.5 beta
> 
> @Patrick: I tested this in 7.5 beta from a lldb session and am attaching the
> bt obtained when it crashes.

Your backtrace definitely shows NSAccessibility is active. If you scroll to the
bottom of your backtrace and then scroll up to the bottom-most
NSViewGetVisibleRect call, you will see that the crash occurs within some
AquaA11y* calls so LibreOffice's accessibility code has been activated.

For every LibreOffice accessible object (text, image, button, etc.), a matching
native NSView is added to the native NSWindow to connect LibreOffice's C++
objects to macOS's native accessibility events so adding NSViews is normal.

But what is strange is that in all of our crash logs, adding a new, empty
NSView triggers the infinite recursive NSViewGetVisibleRect calls. I put some
printf's in the code and only about 20 - 25 NSViews are added before the crash
occurs. That isn't very many views (I seen Calc add tens of thousands) so I
suspect that there is something unusually about the relative position or
relationship between those NSViews.

I'll see if I can find anything odd about the NSViews that may be triggering
this crash.

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #22 from Alex Thurgood  ---
Created attachment 184158
  --> https://bugs.documentfoundation.org/attachment.cgi?id=184158=edit
LLDB backtrace with 7.5 beta

@Patrick: I tested this in 7.5 beta from a lldb session and am attaching the bt
obtained when it crashes.

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #21 from Telesto  ---
FWIW, no crash with Intel CPU
Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: da3dd48eaf9086f8ab28d6a6655f9a638e51433a
CPU threads: 8; OS: Mac OS X 12.3.1; UI render: default; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #20 from Alex Thurgood  ---
(In reply to Patrick Luby from comment #19)


> @Alex Thurgood:
> 
> Your last crash log has a truncated stack (due to infinite recursion of
> NSViewGetVisibleRect calls no doubt) so can do you only see this crash when
> VoiceOver or other accessible tool is activated?

@Patrick: the only tool running that might be considered an accessible tool is
Rectangle. 
No Voiceover or any other Apple assistive technology functions are active.

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #19 from Patrick Luby  ---
I can reproduce this bug with attachment 182260 but only when I have activated
macOS VoiceOver. In both Telesto's crash log and my local crash log, this
infinite recursion of NSViewGetVisibleRect calls starts with a macOS
NSAccessibility event (the magic function in the stack trace is
"_NSAccessibilityChildrenInNavigationOrderAttributeValue").

My guess is that macOS is asking for all the accessible "child" objects for all
of the rows in the table view and LibreOffice as in the process of returning a
very large number of child objects.

I see similar, but not the same, behavior when I open an empty Calc spreadsheet
and enable VoiceOver: Calc does into a very, very long loop.

@Alex Thurgood:

Your last crash log has a truncated stack (due to infinite recursion of
NSViewGetVisibleRect calls no doubt) so can do you only see this crash when
VoiceOver or other accessible tool is activated?

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Telesto  changed:

   What|Removed |Added

 CC||plub...@neooffice.org

--- Comment #18 from Telesto  ---
@Patrick Luby
I don't expect you to solve all the unresolved macOS issue. However I do get
slightly excited with macOS developer around. macOS bug don't get that much
attention :-( It's only a poke, feel free to ignore

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Alex Thurgood  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||9717

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #17 from Alex Thurgood  ---
Looks related/identical to bug 149717

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #16 from Alex Thurgood  ---
Created attachment 184144
  --> https://bugs.documentfoundation.org/attachment.cgi?id=184144=edit
Crash dump with 7.5 beta

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-12-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #15 from Alex Thurgood  ---
Still crashing with

Version: 7.5.0.0.beta1 (AARCH64) / LibreOffice Community
Build ID: 3aca23eec42e9d6fbe57071d7633ae1fc4bc5fcc
CPU threads: 8; OS: Mac OS X 13.0.1; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded


Attaching crash dump.

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #14 from Alex Thurgood  ---
(In reply to Michael Warner from comment #13)

Hi Michael,

> 
> I am using an M1.

Are you using the aarch64 version of LO though ?

Also, when you open the form, then display the DSB (data source browser) above
the form, do you see all of the records, or are the bottom ones hidden ?

>From my testing, if you can see all of the records in the DSB, then no crash
will occur. However, if some of the records are not displayed because the DSB
window is too short to do so, then any scroll down mouse movement, e.g. down or
up using the touchpad or the mouse wheel, will trigger the crash.

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-09-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #13 from Michael Warner  
---
No repro for me in:
Version: 7.3.1.3 / LibreOffice Community
Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951
CPU threads: 10; OS: Mac OS X 12.5; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

nor:

Version: 7.4.0.2 / LibreOffice Community
Build ID: 1512ce97d7ed39dce3121f7e15651fd8895f950e
CPU threads: 10; OS: Mac OS X 12.5; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

I am using an M1.

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-09-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Timur  changed:

   What|Removed |Added

   Hardware|All |ARM

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-09-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #12 from Alex Thurgood  ---
Created attachment 182260
  --> https://bugs.documentfoundation.org/attachment.cgi?id=182260=edit
Crash on scrolling within data source browser from database form

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display (macOS Arm)

2022-09-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Alex Thurgood  changed:

   What|Removed |Added

Summary|Base Form - crash when  |Base Form - crash when
   |scrolling in dual form &|scrolling in dual form &
   |"data as table" display |"data as table" display
   ||(macOS Arm)

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display

2022-09-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #11 from Alex Thurgood  ---
Still reproducible in 

Version: 7.3.5.2 / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 8; OS: Mac OS X 12.5.1; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display

2022-03-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #10 from Alex Thurgood  ---
Steps to reproduce:

1) Open Firebird ODB test file

2) Open the form Timetable

3) Click on the DataSourceAsTable icon to obtain the dual display of grid view
data (top pane) above the form (lower pane).

4) Move the mouse pointer into the DataSourceAsTable area, but do not click on
any of the cells of the grid.

5) Now try scrolling up or down with mouse.

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display

2022-03-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #9 from Alex Thurgood  ---
Still instant crash for me when I try and scroll with mouse on DataNavigator
pane using 

Version: 7.2.6.2 / LibreOffice Community
Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754
CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

MacbookPro Apple Silicon M1

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display

2022-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #8 from Alex Thurgood  ---
(In reply to psidiumcode from comment #6)
> I could not reproduce it in ver:
> 
> Version: 7.2.6.2 / LibreOffice Community
> Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754
> CPU threads: 12; OS: Mac OS X 10.16; UI render: default; VCL: osx
> Locale: en-GB (en_GB.UTF-8); UI: en-US
> Calc: threaded

Was your test on an Intel Mac with an Intel build of LO ?

I'll need to test with 7.2.6.2 Intel, but crash still happens in Arm build
7.3.1.3.

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display

2022-03-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #7 from Robert Großkopf  ---
Tested with LO 7.2.5.2 and also LO 7.3.1.3 on OpenSUSE 15.3. Couldn't reproduce
it in this configuration.

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display

2022-03-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

psidiumcode  changed:

   What|Removed |Added

 CC||lbrmk.510@rgn4d.neomailbox.
   ||ch

--- Comment #6 from psidiumcode  ---
I could not reproduce it in ver:

Version: 7.2.6.2 / LibreOffice Community
Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754
CPU threads: 12; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display

2022-01-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #5 from Alex Thurgood  ---
Created attachment 177679
  --> https://bugs.documentfoundation.org/attachment.cgi?id=177679=edit
Test ODB File - embedded Firebird

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display

2022-01-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #4 from Alex Thurgood  ---
(In reply to Telesto from comment #3)
> @Alex,
> You didn't attach a Firebird database

Ah, cr*p, sorry Telesto, here you go.

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display

2022-01-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Alex Thurgood  changed:

   What|Removed |Added

   See Also|https://bugs.documentfounda |
   |tion.org/show_bug.cgi?id=14 |
   |6759|

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display

2022-01-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #3 from Telesto  ---
@Alex,
You didn't attach a Firebird database

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display

2022-01-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Alex Thurgood  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||6759

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & "data as table" display

2022-01-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Alex Thurgood  changed:

   What|Removed |Added

Summary|Base Form - crash when  |Base Form - crash when
   |scrolling in dual form &|scrolling in dual form &
   |data as table display   |"data as table" display

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & data as table display

2022-01-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Alex Thurgood  changed:

   What|Removed |Added

   Keywords||haveBacktrace

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & data as table display

2022-01-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #2 from Alex Thurgood  ---
Created attachment 177548
  --> https://bugs.documentfoundation.org/attachment.cgi?id=177548=edit
LLDB backtrace on crash

That's a lot of NSViewGetVisibleRect frames to be processing...

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & data as table display

2022-01-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

--- Comment #1 from Alex Thurgood  ---
Running the test in a lldb debug session in LO master daily, the output below
is displayed when the soffice process crashes :

Process 38807 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=2, address=0x3038bef68)
frame #0: 0x7ff8070207b7 AppKit`NSViewGetVisibleRect + 210
AppKit`NSViewGetVisibleRect:
->  0x7ff8070207b7 <+210>: callq  0x7ff8070206e5; <+0>
0x7ff8070207bc <+215>: movups (%r12), %xmm0
0x7ff8070207c1 <+220>: movups 0x10(%r12), %xmm1
0x7ff8070207c7 <+226>: movaps %xmm1, -0xd0(%rbp)
Target 0: (soffice) stopped.


Will try and get a bt.

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

[Libreoffice-bugs] [Bug 146765] Base Form - crash when scrolling in dual form & data as table display

2022-01-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146765

Alex Thurgood  changed:

   What|Removed |Added

 OS|All |macOS (All)
   Keywords||regression

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