https://bugs.documentfoundation.org/show_bug.cgi?id=166749

            Bug ID: 166749
           Summary: Dual gui / server mode failing when using
                    programmatically server mode with uno python
           Product: LibreOffice
           Version: 24.2.7.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: [email protected]
          Reporter: [email protected]

Description:
1) LO launch: `soffice --nologo
'--accept=socket,host=localhost,port=2002;urp;'` => gui is launched and server
mode available.
2) python script called and doing some operations by python with uno
(conversion, table of content, ...)
* When LO is launched in headless mode (--headless) => no problem.
* When LO is launched like the first command, LO crashes (stop and restart)
randomly and sometimes not at all (doing the same operations).
I have the following output in my terminal:
```
(soffice:252910): Gtk-CRITICAL **: 09:21:36.134: gtk_widget_get_window:
assertion 'GTK_IS_WIDGET (widget)' failed

(soffice:252910): GLib-GObject-CRITICAL **: 09:21:36.134: g_object_get_data:
assertion 'G_IS_OBJECT (object)' failed

(soffice:252910): GLib-GObject-CRITICAL **: 09:21:36.134: g_object_get_data:
assertion 'G_IS_OBJECT (object)' failed

** (soffice:252910): CRITICAL **: 09:21:36.134: void
g_lo_menu_insert_section(GLOMenu*, gint, const gchar*, GMenuModel*): assertion
'G_IS_LO_MENU (menu)' failed

(soffice:252910): Gtk-CRITICAL **: 09:21:36.134: gtk_grid_insert_row: assertion
'GTK_IS_GRID (grid)' failed

(soffice:252910): Gtk-CRITICAL **: 09:21:36.134: gtk_grid_attach: assertion
'GTK_IS_GRID (grid)' failed
```


Steps to Reproduce:
Not easy to reproduce.

Actual Results:
crash and restart

Expected Results:
no crash


Reproducible: Sometimes


User Profile Reset: Yes

Additional Info:
Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.4
Calc: threaded

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

Reply via email to