linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
452 stars 73 forks source link

Dtk应用在快速开关时会崩溃,崩溃报告指向 平台插件 #10688

Open shenmo7192 opened 1 month ago

shenmo7192 commented 1 month ago

SUMMARY | 问题概要

任意Dtk应用在快速开关时会崩溃

SOFTWARE/OS VERSIONS | 软件/系统版本信息

............                 shenmo@Amber-CE-deepin23
         .';;;;;.       .,;,.             ------------------------
      .,;;;;;;;.       ';;;;;;;.          OS: Deepin beige 23 x86_64
    .;::::::::'     .,::;;,''''',.        Host: ASUS TUF Gaming A15 FA506QM_FA506QM (1.0)
   ,'.::::::::    .;;'.          ';       Kernel: Linux 6.10.6+bpo-amd64
  ;'  'cccccc,   ,' :: '..        .:      Uptime: 59 mins
 ,,    :ccccc.  ;: .c, '' :.       ,;     Packages: 683 (dpkg)
.l.     cllll' ., .lc  :; .l'       l.    Shell: bash 5.2.21
.c       :lllc  ;cl:  .l' .ll.      :'    Display (CMN1521): 1920x1080 @ 144 Hz in 16″
.l        'looc. .   ,o:  'oo'      c,    DE: Deepin
.o.         .:ool::coc'  .ooo'      o.    WM: KWin (X11)
 ::            .....   .;dddo      ;c     WM Theme: Breeze
  l:...            .';lddddo.     ,o      Theme: deepin [GTK2/3]
   lxxxxxdoolllodxxxxxxxxxc      :l       Icons: deepin [GTK2/3]
    ,dxxxxxxxxxxxxxxxxxxl.     'o,        Cursor: deepin
      ,dkkkkkkkkkkkkko;.    .;o;          Terminal: bwrap
        .;okkkkkdl;.    .,cl:.            CPU: AMD Ryzen 7 5800H (16) @ 4.46 GHz
            .,:cccccccc:,.                GPU 1: NVIDIA GeForce RTX 3060 Mobile / Max-Q [Discrete]
                                          GPU 2: AMD Radeon Vega Series / Radeon Vega Mobile Series [Integrated]
                                          Memory: 8.62 GiB / 15.03 GiB (57%)
                                          Swap: Disabled
                                          Disk (/): 42.48 GiB / 250.92 GiB (17%) - ext4
                                          Local IP (wlp3s0): 192.168.31.193/24
                                          Battery (A32-K55): 100% [AC Connected]
                                          Locale: zh_CN.UTF-8

PRE-REQUIREMENT | 预置条件

快速开关任意deepin应用,可在终端操作,打开,alt f4 ,然后再打开,如此操作,会出现段错误

STEPS TO REPRODUCE | 复现步骤

快速开关任意deepin应用,可在终端操作,打开,alt f4 ,然后再打开,如此操作,会出现段错误

OBSERVED RESULT | 观察到的结果

关闭的同时报错段错误,导致自己使用的脚本异常崩溃退出

EXPECTED RESULT | 期望的结果

正常退出

ADDITIONAL INFORMATION | 额外补充

warning: Section `.reg-xstate/56193' in core file too small.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `deepin-system-monitor'.
Program terminated with signal SIGSEGV, Segmentation fault.

warning: Section `.reg-xstate/56193' in core file too small.
#0  0x00007f197ebcf65e in deepin_platform_plugin::Utility::clientLeader() ()
   from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libdxcb.so
[Current thread is 1 (Thread 0x7f194ea006c0 (LWP 56193))]
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/printers.py:1273: SyntaxWarning: invalid escape sequence '\d'
  self.typename = re.sub('^std::experimental::fundamentals_v\d::', 'std::experimental::', self.typename, 1)
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/printers.py:1302: SyntaxWarning: invalid escape sequence '\w'
  x = re.sub("std::string(?!\w)", s, m.group(1))
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/printers.py:1346: SyntaxWarning: invalid escape sequence '\d'
  self.typename = re.sub('^std::(experimental::|)(fundamentals_v\d::|)(.*)', r'std::\1\3<%s>' % valtype, typename, 1)
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:151: SyntaxWarning: invalid escape sequence '\d'
  if not re.match('^std::(__\d+::)?array<.*>$', class_type.tag):
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:268: SyntaxWarning: invalid escape sequence '\d'
  if not re.match('^std::(__\d+::)?deque<.*>$', class_type.tag):
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:312: SyntaxWarning: invalid escape sequence '\d'
  if not re.match('^std::(__\d+::)?forward_list<.*>$', class_type.tag):
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:393: SyntaxWarning: invalid escape sequence '\d'
  if not re.match('^std::(__\d+::)?(__cxx11::)?list<.*>$', class_type.tag):
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:508: SyntaxWarning: invalid escape sequence '\d'
  if not re.match('^std::(__\d+::)?vector<.*>$', class_type.tag):
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:557: SyntaxWarning: invalid escape sequence '\d'
  if not re.match('^std::(__\d+::)?%s<.*>$' % self._name, class_type.tag):
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:590: SyntaxWarning: invalid escape sequence '\d'
  if re.match('^std::(__\d+::)?__uniq_ptr_(data|impl)<.*>$', impl_type):
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:592: SyntaxWarning: invalid escape sequence '\d'
  elif re.match('^std::(__\d+::)?tuple<.*>$', impl_type):
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:654: SyntaxWarning: invalid escape sequence '\d'
  if not re.match('^std::(__\d+::)?unique_ptr<.*>$', class_type.tag):
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:723: SyntaxWarning: invalid escape sequence '\['
  m = re.match('.*\[(\d+)]$', str(self._elem_type))
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:775: SyntaxWarning: invalid escape sequence '\d'
  if not re.match('^std::(__\d+::)?shared_ptr<.*>$', class_type.tag):
shenmo7192 commented 1 month ago

若可以,请在此回复 修复相关的提交记录,我们维护了一个deepin DE 的fork,这样的话会比较方便我们合并代码~

shenmo7192 commented 1 month ago

core.zip