linux下texmaker启动coredump

启动texmaker直接额coredump了:

Reading symbols from /usr/bin/texmaker...Reading symbols from /usr/bin/texmaker...(no debugging symbols found)...done.
(no debugging symbols found)...done.
[New LWP 18311]
[New LWP 18317]
[New LWP 18318]
[New LWP 18319]
[New LWP 18316]
[New LWP 18320]
[New LWP 18321]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `texmaker'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xafdf6b59 in xcb_send_request_with_fds64 () from /lib/libxcb.so.1
[Current thread is 1 (Thread 0xafa32840 (LWP 18311))]
Missing separate debuginfos, use: dnf debuginfo-install texmaker-4.5-3.fc26.i686
(gdb) bt
#0  0xafdf6b59 in xcb_send_request_with_fds64 () at /lib/libxcb.so.1
#1  0xafdf723f in xcb_send_request64 () at /lib/libxcb.so.1
#2  0xafdf7283 in xcb_send_request () at /lib/libxcb.so.1
#3  0xafdfefd2 in xcb_change_property () at /lib/libxcb.so.1
#4  0xac2aa3ef in Adwaita::Helper::setVariant(QWidget*, QByteArray const&) ()
    at /usr/lib/qt5/plugins/styles/adwaita.so
#5  0xac2cd11c in Adwaita::Style::eventFilter(QObject*, QEvent*) ()
    at /usr/lib/qt5/plugins/styles/adwaita.so
#6  0xb416ba1c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
    at /lib/libQt5Core.so.5
#7  0xb7715c28 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /lib/libQt5Widgets.so.5
#8  0xb771e557 in QApplication::notify(QObject*, QEvent*) () at /lib/libQt5Widgets.so.5
#9  0xb416bcec in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/libQt5Core.so.5
#10 0xb775da82 in QWidgetPrivate::show_helper() () at /lib/libQt5Widgets.so.5
#11 0xb7760fd2 in QWidget::setVisible(bool) () at /lib/libQt5Widgets.so.5
#12 0xb775d77f in QWidget::show() () at /lib/libQt5Widgets.so.5
#13 0x00466f61 in TexmakerApp::init(QStringList) ()
#14 0x0045414a in main ()
(gdb) i r
eax            0x0    0
ecx            0x0    0
edx            0x0    0
ebx            0xafe15e34    -1344184780
esp            0xbfe40210    0xbfe40210
ebp            0x0    0x0
esi            0x1348c48    20221000
edi            0xafe0cdcc    -1344221748
eip            0xafdf6b59    0xafdf6b59
eflags         0x10246    [ PF ZF IF RF ]
cs             0x73    115
ss             0x7b    123
ds             0x7b    123
es             0x7b    123
fs             0x0    0
gs             0x33    51
(gdb) i th
  Id   Target Id         Frame
* 1    Thread 0xafa32840 (LWP 18311) 0xafdf6b59 in xcb_send_request_with_fds64 ()
   from /lib/libxcb.so.1
  2    Thread 0xaeb2eb40 (LWP 18317) 0xb7ed7cd9 in __kernel_vsyscall ()
  3    Thread 0xad4eeb40 (LWP 18318) 0xb7ed7cd9 in __kernel_vsyscall ()
  4    Thread 0xacaffb40 (LWP 18319) 0xb7ed7cd9 in __kernel_vsyscall ()
  5    Thread 0xafa2fb40 (LWP 18316) 0xb7ed7cd9 in __kernel_vsyscall ()
  6    Thread 0xac0ffb40 (LWP 18320) 0xb7ed7cd9 in __kernel_vsyscall ()
  7    Thread 0xab6ffb40 (LWP 18321) 0xb7ed7cd9 in __kernel_vsyscall ()

这个是adwaita在qt下的bug,解决办法:

  1. 升级adwaita到最新版本
  2. 删去adwaita的qt插件部分,使qt不用adwaita

你可能感兴趣的:(软件异常,texmaker,qt,coredump,adwaita)