[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

--- Comment #12 from Xisco Faulí  ---
Created attachment 173725
  --> https://bugs.documentfoundation.org/attachment.cgi?id=173725=edit
SVG file

Actually the problem is in convert Obj. Steps:
1. Open attached svg file
2. Select it
3. Convert to Curve
4. Convert to Polygon

-> Crash

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

Xisco Faulí  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||noelgran...@gmail.com,
   ||xiscofa...@libreoffice.org
   Severity|normal  |critical
   Keywords||bibisected, bisected,
   ||regression
   Priority|medium  |high
 Status|UNCONFIRMED |NEW

--- Comment #11 from Xisco Faulí  ---
I do reproduce it with the svg and the bas script provided in attachment 173724

Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=2ec1dab4693cd45b475f02452114dd96ec0bda1b

author  Noel  2021-02-02 13:24:24 +0200
committer   Noel Grandin  2021-02-02
16:02:29 +0100
commit  2ec1dab4693cd45b475f02452114dd96ec0bda1b (patch)
tree789e865957c27936d3528989147f182c7a565c20
parent  ebf4e535864f98f3b32799596ae16b752132da0a (diff)
use unique_ptr in SdrEditView::ImpConvertOneObj

Bisected with: bibisect-linux64-7.2

Adding Cc: to Noel Grandin

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

--- Comment #10 from Roland Baudin  ---
I have attached a complete example.

To reproduce the crash:

1. Download Test.zip and unzip it

2. Copy the Test.bas macro in Module1 and edit the line:

  cURL = "file:///home/test/tmpfile.svg"

to reflect the path to tmpfile.svg.

3. Run the Test macro in LO 7.2 => LO 7.2 crashes

4. Set the variable Group to FALSE at line 11 => LO 7.2 does not crash

5. When the variable Group is set to TRUE, the following code is executed
(lines 31-39):

Dim oShapes as Variant
oShapes = createUnoService("com.sun.star.drawing.ShapeCollection")

Dim i as Integer
For i = 0 To oDrawPage.getCount()-1
   oShapes.add(oDrawPage.getByIndex(i))
Next

oDrawPage.group(oShapes)

and then LO 7.2 crahes at line 60:

oDispatcher.executeDispatch( oDrawDocCtrl.Frame, ".uno:ChangeBezier", "", 0,
Array() )

If you set a breakpoint at this line, you will see the Draw document that is
opened and you can check that the graphic elements are grouped, as desired.

There is no crash in LO 7.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

--- Comment #9 from Roland Baudin  ---
Created attachment 173724
  --> https://bugs.documentfoundation.org/attachment.cgi?id=173724=edit
Minimal macro + svg file

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

--- Comment #8 from Julien Nabet  ---
(In reply to Roland Baudin from comment #7)
> Hi,
> 
> I am the author of the TexMaths extension. I was able to isolate the line
> that crashes LO 7.2:
> 
> oDispatcher.executeDispatch( oDrawDocCtrl.Frame, ".uno:ChangeBezier", "", 0,
> Array() )
> 
> This line 189 of the attached file ImportGraphicIntoTexMaths.bas.
> 
> Please note that this line worked in LO 7.1.x.

I dond't know if it's the same pb as Serge's one but I copied pasted the code
in a brand new file, brand new macro.
Then I runned the macro and had:
at line 21 "cURL_ = cURL" this error message box:
"BASIC runtime error.
Argument is not optional."

Would it be possible you attach a minimum example file so when just running the
macro we can reproduce the crash?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

--- Comment #7 from Roland Baudin  ---
Hi,

I am the author of the TexMaths extension. I was able to isolate the line that
crashes LO 7.2:

oDispatcher.executeDispatch( oDrawDocCtrl.Frame, ".uno:ChangeBezier", "", 0,
Array() )

This line 189 of the attached file ImportGraphicIntoTexMaths.bas.

Please note that this line worked in LO 7.1.x.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

Roland Baudin  changed:

   What|Removed |Added

 CC||rolan...@free.fr

--- Comment #6 from Roland Baudin  ---
Created attachment 173714
  --> https://bugs.documentfoundation.org/attachment.cgi?id=173714=edit
Basic code for function in TexMaths that crashes LO 7.2 (at line 189)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

--- Comment #5 from Julien Nabet  ---
On pc Debian testing updated today x86-64 with master sources updated today
too, I've installed texlive and dvipng + TexMaths 0.49 from
https://extensions.libreoffice.org/en/extensions/show/texmaths-1, then I've
given a try, no crash with gtk3, gen or kf5 rendering.

On console, I've noticed these logs:
warn:configmgr:122277:122277:configmgr/source/xcuparser.cxx:159: bad set node
 member in
"file:///home/julien/lo/libreoffice/instdir/program/../program/../user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu4mvsa.tmp/Addons.xcu"
warn:configmgr:122277:122277:configmgr/source/xcuparser.cxx:904: ignoring
modify of unknown set member node "ToolBarItems" in
"file:///home/julien/lo/libreoffice/instdir/program/../program/../user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu4mvsa.tmp/Addons.xcu"
warn:configmgr:122277:122277:configmgr/source/xcuparser.cxx:159: bad set node
 member in
"file:///home/julien/lo/libreoffice/instdir/program/../program/../user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu4mvsa.tmp/Addons.xcu"
warn:configmgr:122277:122277:configmgr/source/xcuparser.cxx:904: ignoring
modify of unknown set member node "ToolBarItems" in
"file:///home/julien/lo/libreoffice/instdir/program/../program/../user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu4mvsa.tmp/Addons.xcu"
...
warn:stoc:122277:122277:stoc/source/inspect/introspection.cxx:1612: object of
type "com.sun.star.awt.XTopWindowListener" lacks XTypeProvider
warn:stoc:122277:122277:stoc/source/inspect/introspection.cxx:1612: object of
type "com.sun.star.awt.XWindowListener" lacks XTypeProvider
warn:stoc:122277:122277:stoc/source/inspect/introspection.cxx:1612: object of
type "com.sun.star.awt.XWindowListener" lacks XTypeProvider

for gtk3 specifically:
(soffice:122277): Gtk-CRITICAL **: 11:14:31.596: gtk_widget_show: assertion
'GTK_IS_WIDGET (widget)' failed

(soffice:122277): Gtk-CRITICAL **: 11:14:31.619: gtk_widget_set_sensitive:
assertion 'GTK_IS_WIDGET (widget)' failed
(soffice:122277): GLib-GObject-WARNING **: 11:14:33.281: invalid (NULL) pointer
instance

(soffice:122277): GLib-GObject-CRITICAL **: 11:14:33.281:
g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE
(instance)' failed

(soffice:122277): GLib-GObject-WARNING **: 11:14:33.281: invalid (NULL) pointer
instance

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

--- Comment #4 from Julien Nabet  ---
(In reply to sergio.callegari from comment #2)
> ...
> What is it needed to get a backtrace?
>...
Sorry, I had forgotten to provide the link:
https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

--- Comment #3 from QA Administrators  ---
[Automated Action] NeedInfo-To-Unconfirmed

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

QA Administrators  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

--- Comment #2 from sergio.calleg...@gmail.com ---
Unfortunately at this time I do not know of other extensions crashing in the
same way.

What is it needed to get a backtrace?

For what concerns LaTeX, it can be rather large to install. Easiest is if you
are on a Linux distro, where you can probably just install some package test
and then remove it. Alternatively texlive lets you do a completely "portable"
install.

In any case, I'll try to contact the texmaths author who may be able to
identify what is specifically disliked of the extension con in LibO 7.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash

2021-07-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143412

Julien Nabet  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||serval2...@yahoo.fr
   Keywords||wantBacktrace
 Status|UNCONFIRMED |NEEDINFO

--- Comment #1 from Julien Nabet  ---
Would it be possible you attach a backtrace or do you know another extension
with this same pb?
Indeed, I had tried once to install LaTeX, it's quite a big new world when you
nothing about it like me.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs