bugGNU Octave - Bugs: bug #57210, GUI crashes with Qt style set to...

 
 

bug #57210: GUI crashes with Qt style set to gtk2

Submitter:  None
Submitted:  Mon 11 Nov 2019 11:45:16 PM UTC
   
 
Category:  GUI Severity:  2 - Minor
Priority:  3 - Low Item Group:  Segfault, Bus Error, etc.
Status:  Confirmed Assigned to:  None
Originator Name:  drl Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 05 Mar 2020 10:52:31 PM UTC, comment #5: 

Confirmed here with the default branch, Qt 5.12.5, GTK2 2.24.32, and the latest revision of "qtstyleplugins".

Best workaround for now is to avoid these "additional" style plugins, staying with the core style plugins easily avoids the crash, but fixes for this would be welcome if you want to investigate this further.

Mike Miller <mtmiller>
Group Member
Tue 12 Nov 2019 11:51:33 PM UTC, comment #4: 

The version of gtk2 is 2.24.32-1, and I install it from official repositories.

yuanjun.zhong <drl999>
Tue 12 Nov 2019 03:02:11 PM UTC, comment #3: 

Thank you for reporting back.  Then the reason for the crash can be narrowed down to gtk2 and I lower the priority.  Can you tell the gtk2 version of Arch Linux?  Did you install a particular or custom version of it?

Kai Torben Ohlhus <siko1056>
Group Member
Tue 12 Nov 2019 12:42:27 PM UTC, comment #2: 

@Kai Torben Ohlhus
Thank you for your replying.

> If you are not able to start Octave with your custom configuration, please delete the ~/.config/octave directory to get rid of any custom settings that might force the GUI to death.

This method solves my problem.


> Does this crash happen when changing to any style, or does this only happen for certain ones?

It only crashes when I set the style to gtk2.

PS. The original submission is posted by me (I has not registered at the time, so it was anonymous).

yuanjun.zhong <drl999>
Tue 12 Nov 2019 08:38:47 AM UTC, comment #1: 

Thank you for your bug report.  I cannot confirm this problem with 5.1.0, stable, or dev.  Maybe this problem is specific to your system configuration.

> I have not been able to start since then.


If you are not able to start Octave with your custom configuration, please delete the

~/.config/octave

directory to get rid of any custom settings that might force the GUI to death.

Does this crash happen when changing to any style, or does this only happen for certain ones?

Kai Torben Ohlhus <siko1056>
Group Member
Mon 11 Nov 2019 11:45:16 PM UTC, original submission:  

The octave-gui has crashed since I set the style. I have not been able to start since then.

```
uname -a
# Linux pc.me 5.3.10-arch1-1

```

The log is as follows:
```
Nov 11 08:06:48 pc.me org.octave.Octave.desktop[1574]: octave exited with signal 11
Nov 11 08:06:48 pc.me systemd-coredump[18073]: Process 18030 (octave-gui) of user 1000 dumped core.
                                              

                                           Stack trace of thread 18030:
                                           #0  0x00007fd0ed625342 gdk_display_open (libgdk-x11-2.0.so.0)
                                           #1  0x00007fd0ed5f4052 gdk_display_open_default_libgtk_only (libgdk-x11-2.0.so.0)
                                           #2  0x00007fd0ed9b7c83 gtk_init (libgtk-x11-2.0.so.0)
                                           #3  0x00007fd1000f892b n/a (libqgtk2style.so)
                                           #4  0x00007fd1000fa242 n/a (libqgtk2style.so)
                                           #5  0x00007fd110b2687e _ZN13QStyleFactory6createERK7QString (libQt5Widgets.so.5)
                                           #6  0x00007fd116dc6f4e _ZN6octave11main_window15notice_settingsEPK9QSettings (liboctgui.so.5)
                                           #7  0x00007fd116e3e3b8 n/a (liboctgui.so.5)
                                           #8  0x00007fd110097a11 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                           #9  0x00007fd116e3d4c3 _ZN6octave11main_window16settings_changedEPK9QSettings (liboctgui.so.5)
                                           #10 0x00007fd116dc504f _ZN6octave11main_window13read_settingsEv (liboctgui.so.5)
                                           #11 0x00007fd116dcb364 _ZN6octave11main_windowC2ERNS_13octave_qt_appEPNS_14octave_qt_linkE (liboctgui.so.5)
                                           #12 0x00007fd116dcb62b _ZN6octave13octave_qt_app18create_main_windowEv (liboctgui.so.5)
                                           #13 0x00007fd116dcbb4a _ZN6octave13octave_qt_appC2ERNS_15gui_applicationE (liboctgui.so.5)
                                           #14 0x00007fd116dda2b7 _ZN6octave15gui_application7executeEv (liboctgui.so.5)
                                           #15 0x0000563ec75d725c n/a (octave-gui)
                                           #16 0x00007fd114603ee3 __libc_start_main (libc.so.6)
                                           #17 0x0000563ec75d754e n/a (octave-gui)
                                          
                                           Stack trace of thread 18032:
                                           #0  0x00007fd1146ce667 __poll (libc.so.6)
                                           #1  0x00007fd10e4b2a80 n/a (libglib-2.0.so.0)
                                           #2  0x00007fd10e4b2b51 g_main_context_iteration (libglib-2.0.so.0)
                                           #3  0x00007fd10e4b2ba2 n/a (libglib-2.0.so.0)
                                           #4  0x00007fd10e48fa31 n/a (libglib-2.0.so.0)
                                           #5  0x00007fd10f86e57f start_thread (libpthread.so.0)
                                           #6  0x00007fd1146d90e3 __clone (libc.so.6)
                                          
                                          Stack trace of thread 18062:
                                           #0  0x00007fd113b3689b n/a (libz.so.1)
                                           #1  0x00007fd113b3754c inflate (libz.so.1)
                                           #2  0x00007fd113b3bf5d uncompress2 (libz.so.1)
                                           #3  0x00007fd113b3c054 uncompress (libz.so.1)
                                           #4  0x00007fd10feab9be _Z11qUncompressPKhi (libQt5Core.so.5)
                                           #5  0x00007fd11100ef8a n/a (libQt5Help.so.5)
                                           #6  0x00007fd11103d527 n/a (libQt5Help.so.5)
                                           #7  0x00007fd10fe9e520 n/a (libQt5Core.so.5)
                                           #8  0x00007fd10f86e57f start_thread (libpthread.so.0)
                                           #9  0x00007fd1146d90e3 __clone (libc.so.6)
                                          
                                           Stack trace of thread 18031:
                                           #0  0x00007fd1146ce667 __poll (libc.so.6)
                                           #1  0x00007fd10f3f5630 n/a (libxcb.so.1)
                                           #2  0x00007fd10f3f72db xcb_wait_for_event (libxcb.so.1)
                                           #3  0x00007fd10bc46049 n/a (libQt5XcbQpa.so.5)
                                           #4  0x00007fd10fe9e520 n/a (libQt5Core.so.5)
                                           #5  0x00007fd10f86e57f start_thread (libpthread.so.0)
                                           #6  0x00007fd1146d90e3 __clone (libc.so.6)
                                          
                                           Stack trace of thread 18071:
                                           #0  0x00007fd10f874415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                           #1  0x00007fd0ee974ebc n/a (i965_dri.so)
                                           #2  0x00007fd0ee974ab8 n/a (i965_dri.so)
                                           #3  0x00007fd10f86e57f start_thread (libpthread.so.0)
                                           #4  0x00007fd1146d90e3 __clone (libc.so.6)
                                          
                                                              Stack trace of thread 18033:
                                           #0  0x00007fd1146ce667 __poll (libc.so.6)
                                           #1  0x00007fd10e4b2a80 n/a (libglib-2.0.so.0)
                                           #2  0x00007fd10e4b3a63 g_main_loop_run (libglib-2.0.so.0)
                                           #3  0x00007fd109bde9c8 n/a (libgio-2.0.so.0)
                                           #4  0x00007fd10e48fa31 n/a (libglib-2.0.so.0)
                                           #5  0x00007fd10f86e57f start_thread (libpthread.so.0)
                                           #6  0x00007fd1146d90e3 __clone (libc.so.6)
                                          
                                           Stack trace of thread 18037:
                                           #0  0x00007fd1146d3e3d syscall (libc.so.6)
                                           #1  0x00007fd10fea08e2 _ZN10QSemaphore7acquireEi (libQt5Core.so.5)
                                           #2  0x00007fd110097e8f _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                           #3  0x00007fd116d7d19e _ZN12SelfListener8recvDataEPKci (liboctgui.so.5)
                                           #4  0x00007fd116d6d93d _ZN12SelfListener3runEv (liboctgui.so.5)
                                           #5  0x00007fd10fe9e520 n/a (libQt5Core.so.5)
                                           #6  0x00007fd10f86e57f start_thread (libpthread.so.0)
                                           #7  0x00007fd1146d90e3 __clone (libc.so.6)
                                          
                                           Stack trace of thread 18046:
                                           #0  0x00007fd10f874415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                           #1  0x00007fd10fea45a0 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5)
                                           #2  0x00007fd10fea4692 _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                                           #3  0x00007fd110ce86b6 n/a (libQt5Widgets.so.5)
                                           #4  0x00007fd10fe9e520 n/a (libQt5Core.so.5)
                                           #5  0x00007fd10f86e57f start_thread (libpthread.so.0)
                                           #6  0x00007fd1146d90e3 __clone (libc.so.6)
                                                            Stack trace of thread 18034:
                                           #0  0x00007fd1146ce667 __poll (libc.so.6)
                                           #1  0x00007fd10e4b2a80 n/a (libglib-2.0.so.0)
                                           #2  0x00007fd10e4b2b51 g_main_context_iteration (libglib-2.0.so.0)
                                           #3  0x00007fd1100c39a3 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                           #4  0x00007fd11006a5ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                           #5  0x00007fd10fe9d2f5 _ZN7QThread4execEv (libQt5Core.so.5)
                                           #6  0x00007fd10bb56b37 n/a (libQt5DBus.so.5)
                                           #7  0x00007fd10fe9e520 n/a (libQt5Core.so.5)
                                           #8  0x00007fd10f86e57f start_thread (libpthread.so.0)
                                           #9  0x00007fd1146d90e3 __clone (libc.so.6)
```


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by drl999 (Posted a comment)
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-05 mtmiller StatusWorks For Me Confirmed
        Release5.1.0 dev
        Summary[GUI] crash setting style to gtk2 GUI crashes with Qt style set to gtk2
    2019-11-12 siko1056 Severity3 - Normal 2 - Minor
        Priority5 - Normal 3 - Low
        SummaryOctave-gui crashed after setting style [GUI] crash setting style to gtk2
    2019-11-12 siko1056 StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code