[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

Caolán McNamara  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Assignee|libreoffice-b...@lists.free |caol...@redhat.com
   |desktop.org |

--- Comment #12 from Caolán McNamara  ---
seems to work, backport to 7-3 in gerrit

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

--- Comment #11 from Commit Notification 
 ---
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-4":

https://git.libreoffice.org/core/commit/9647f34412814ff9b14cd28a5c84a66d5f791ea5

tdf#149626 use recursive_mutex to fix hang in macro callback during dnd

It will be available in 7.4.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|target:7.5.0|target:7.5.0
   ||target:7.4.0.0.beta2

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

--- Comment #10 from Commit Notification 
 ---
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/328b7a34255ed1ffb0029fa1f247d16ba92f18cd

tdf#149626 use recursive_mutex to fix hang in macro callback during dnd

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.5.0

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

Caolán McNamara  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #9 from Caolán McNamara  ---
I can reproduce. Looks to me that
https://gerrit.libreoffice.org/c/core/+/136401 solves it and its a problem
since:

commit 8de81db4e3fca488d50db2d74734109b31541a6f
Date:   Mon Aug 2 09:21:17 2021 +0200

osl::Mutex->std::mutex in DNDEventDispatcher

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

Mike Kaganski  changed:

   What|Removed |Added

 CC||caol...@redhat.com

--- Comment #8 from Mike Kaganski  ---
Caolan: maybe you can repro or suggest what info is missing? Thanks.

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

--- Comment #7 from dominic.coo...@domelia.co.uk  
---
(In reply to Mike Kaganski from comment #6)
Hi Mike,

Is there anything further you'd like me to do? This is pretty critical to the
system I use it for, so I've just gone back to LibO 7.2. If this turns out to
be a "won't print on Tuesdays" type bug, then any tips on how to diagnose
further?

Thank you!

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

--- Comment #6 from Mike Kaganski  ---
(In reply to Andreas Heinisch from comment #5)

The code in the macro is non-portable (just as our own transferable flavor
types), so it works differently (does not work) on Windows. And in any case,
the internals (call stacks, locking, etc.) of DnD would be *completely*
different on Windows compared to (different integrations for) Linux (the bug is
against gtk3).

Having said that: I wasn't able to repro the hang/crash on Ubuntu, using
7.3.4.2 (non-debug), and current master (dbgutil). There may be some additional
specifics involved (like different kernel versions or other system
differences), or it may be a heizenbug, dependent on e.g. timing, and thus
~reliably reproducible with debug builds on come CPU, but not with release
build on another CPU (or something like that - you get the idea).

Hope that there appear reliable repro steps allowing to repro on any Linux gtk3
system.

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

--- Comment #5 from Andreas Heinisch  ---
It oscillates between these two functions:
https://opengrok.libreoffice.org/xref/core/vcl/win/window/salframe.cxx?r=5bb5763e#5903

and 

https://opengrok.libreoffice.org/xref/core/vcl/win/window/salframe.cxx?r=5bb5763e#5502

at least in:
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4369640b86d2d15cb0c05706d92b29804de716f7
CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

raal  changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #4 from raal  ---
Created attachment 180941
  --> https://bugs.documentfoundation.org/attachment.cgi?id=180941&action=edit
infostring result

Tested with Version: 7.4.0.0.beta1+ / LibreOffice Community
Build ID: 6ab56a4fc946f6294513f23a3ea47aa0aa154b7d
CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo

and if I correctly understand description, it works. See printscreen.

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 CC||79045_79...@mail.ru,
   ||andreas.heini...@yahoo.de,
   ||mikekagan...@hotmail.com

--- Comment #3 from Roman Kuznetsov <79045_79...@mail.ru> ---
Mike, Andreas, could you please look at it?

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

--- Comment #2 from dominic.coo...@domelia.co.uk  
---
Created attachment 180884
  --> https://bugs.documentfoundation.org/attachment.cgi?id=180884&action=edit
Backtrace

Further to the above, I have added a backtrace. I am nowhere near enough
knowlegdable about the workings of the LibO engine, but the point of hanging
seems to be when it acquires a mutex lock at
vcl/source/window/dndeventdispatcher.cxx:156.

Only problem is that this code has been in place for some months now, so it
doesn't explain the sudden crash, but perhaps something else has also obtained
a mutex on another thread or in the background? Hope this helps!

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

[Libreoffice-bugs] [Bug 149626] HANG during basic macro using com.sun.star.datatransfer.dnd

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

--- Comment #1 from dominic.coo...@domelia.co.uk  
---
Created attachment 180837
  --> https://bugs.documentfoundation.org/attachment.cgi?id=180837&action=edit
test document with macro

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