Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: treeland崩溃 #357

Open
18202781743 opened this issue Jan 16, 2025 · 0 comments
Open

[Bug]: treeland崩溃 #357

18202781743 opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@18202781743
Copy link
Contributor

SUMMARY | 问题概要

treeland下,对任务栏下快捷面板的截图录屏进行操作,重复切换点击截图录屏,偶现treeland崩溃,

Core was generated by `/usr/bin/treeland --lockscreen'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f1d0a8070fc in ?? () from /usr/bin/../lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7f1d05996600 (LWP 8762))]
/usr/bin/../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)
/usr/bin/../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))
/usr/bin/../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)
/usr/bin/../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):
/usr/bin/../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):
/usr/bin/../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):
/usr/bin/../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):
/usr/bin/../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):
/usr/bin/../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):
/usr/bin/../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):
/usr/bin/../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):
/usr/bin/../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):
/usr/bin/../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))
/usr/bin/../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):
(gdb) bt
#0  0x00007f1d0a8070fc in ?? () from /usr/bin/../lib/x86_64-linux-gnu/libc.so.6
linuxdeepin/treeland.private#1  0x00007f1d0a7b9102 in raise () from /usr/bin/../lib/x86_64-linux-gnu/libc.so.6
linuxdeepin/treeland.private#2  0x00007f1d0a7a24f2 in abort () from /usr/bin/../lib/x86_64-linux-gnu/libc.so.6
linuxdeepin/treeland.private#3  0x00007f1d0a7a335b in ?? () from /usr/bin/../lib/x86_64-linux-gnu/libc.so.6
linuxdeepin/treeland.private#4  0x00007f1d0a810a65 in ?? () from /usr/bin/../lib/x86_64-linux-gnu/libc.so.6
linuxdeepin/treeland.private#5  0x00007f1d0a811354 in ?? () from /usr/bin/../lib/x86_64-linux-gnu/libc.so.6
linuxdeepin/treeland.private#6  0x00007f1d0a8140c4 in ?? () from /usr/bin/../lib/x86_64-linux-gnu/libc.so.6
linuxdeepin/treeland.private#7  0x00007f1d0a814c99 in malloc () from /usr/bin/../lib/x86_64-linux-gnu/libc.so.6
linuxdeepin/treeland.private#8  0x00007f1d0aa3471c in operator new(unsigned long) () from /usr/bin/../lib/x86_64-linux-gnu/libstdc++.so.6
linuxdeepin/treeland.private#9  0x00007f1d0aa3474d in operator new(unsigned long, std::nothrow_t const&) () from /usr/bin/../lib/x86_64-linux-gnu/libstdc++.so.6
linuxdeepin/treeland.private#10 0x00007f1d09dc3a24 in QSGBatchRenderer::Renderer::cleanupBatches(QDataBuffer<QSGBatchRenderer::Batch*>*) ()
   from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#11 0x00007f1d09dcb8be in QSGBatchRenderer::Renderer::prepareRenderPass(QSGBatchRenderer::Renderer::RenderPassContext*) ()
   from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#12 0x00007f1d09dcd946 in QSGBatchRenderer::Renderer::render() () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#13 0x00007f1d09ddf511 in QSGRenderer::renderScene() () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#14 0x00007f1d09e2261d in QSGRhiLayer::grab() () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#15 0x00007f1d09e229d5 in QSGRhiLayer::updateTexture() () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#16 0x00007f1d09e265ae in ?? () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#17 0x00007f1d09ddfce2 in QSGRenderer::preprocess() () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#18 0x00007f1d09ddf505 in QSGRenderer::renderScene() () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#19 0x00007f1d09e2261d in QSGRhiLayer::grab() () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#20 0x00007f1d09e229d5 in QSGRhiLayer::updateTexture() () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#21 0x00007f1d09ddfce2 in QSGRenderer::preprocess() () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#22 0x00007f1d0bc0f1c9 in Waylib::Server::RhiManager::preprocess (oldCB=@0x7ffedd420590: 0x556954a303d8, 
    oldDPR=<synthetic pointer>: <optimized out>, rt=0x556956134f10, this=0x556955930aa0)
    at ./src/server/qtquick/private/wrenderbuffernode.cpp:362
linuxdeepin/treeland.private#23 Waylib::Server::RhiManager::render (forceDepthTest=false, rt=0x556956134f10, this=0x556955930aa0)
    at ./src/server/qtquick/private/wrenderbuffernode.cpp:410
linuxdeepin/treeland.private#24 Waylib::Server::RhiNode::render (this=<optimized out>, state=<optimized out>) at ./src/server/qtquick/private/wrenderbuffernode.cpp:815
linuxdeepin/treeland.private#25 0x00007f1d09dd5ac6 in QSGBatchRenderer::Renderer::renderRhiRenderNode(QSGBatchRenderer::Batch const*) ()
   from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#26 0x00007f1d09dcd6c0 in QSGBatchRenderer::Renderer::recordRenderPass(QSGBatchRenderer::Renderer::RenderPassContext*) ()
--Type <RET> for more, q to quit, c to continue without paging--
   from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#27 0x00007f1d09dcd95c in QSGBatchRenderer::Renderer::render() () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#28 0x00007f1d09ddf511 in QSGRenderer::renderScene() () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Quick.so.6
linuxdeepin/treeland.private#29 0x00007f1d0bc0174a in Waylib::Server::WBufferRenderer::render (this=this@entry=0x556953ceb440, sourceIndex=sourceIndex@entry=0, 
    renderMatrix=..., sourceRect=..., targetRect=..., preserveColorContents=preserveColorContents@entry=false)
    at ./src/server/qtquick/private/wbufferrenderer.cpp:552
linuxdeepin/treeland.private#30 0x00007f1d0bbcc7fe in Waylib::Server::OutputHelper::render (preserveColorContents=false, targetRect=..., sourceRect=..., 
    renderMatrix=..., sourceIndex=0, renderer=0x556953ceb440, this=0x556954cb5d10) at ./src/server/qtquick/woutputrenderwindow.cpp:589
linuxdeepin/treeland.private#31 Waylib::Server::WOutputRenderWindowPrivate::doRenderOutputs (this=this@entry=0x556953d8b890, outputs=..., 
    forceRender=forceRender@entry=false) at ./src/server/qtquick/woutputrenderwindow.cpp:1432
linuxdeepin/treeland.private#32 0x00007f1d0bbcccdb in Waylib::Server::WOutputRenderWindowPrivate::doRender (this=0x556953d8b890, outputs=..., 
    forceRender=<optimized out>, doCommit=<optimized out>) at ./src/server/qtquick/woutputrenderwindow.cpp:1493
linuxdeepin/treeland.private#33 0x00007f1d0ad7f96c in ?? () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Core.so.6
linuxdeepin/treeland.private#34 0x00007f1d0ad7f96c in ?? () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Core.so.6
linuxdeepin/treeland.private#35 0x00007f1d092b8afc in wl_signal_emit_mutable () from /usr/bin/../lib/x86_64-linux-gnu/libwayland-server.so.0
linuxdeepin/treeland.private#36 0x00007f1d092baa83 in wl_event_loop_dispatch_idle () from /usr/bin/../lib/x86_64-linux-gnu/libwayland-server.so.0
linuxdeepin/treeland.private#37 0x00007f1d092bacaa in wl_event_loop_dispatch () from /usr/bin/../lib/x86_64-linux-gnu/libwayland-server.so.0
linuxdeepin/treeland.private#38 0x00007f1d0bba90d4 in operator() (__closure=0x556953e824d0) at ./src/server/kernel/wserver.cpp:108
linuxdeepin/treeland.private#39 operator() (__closure=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:141
linuxdeepin/treeland.private#40 QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Waylib::Server::WServerPrivate::init()::<lambda()> >::call(Waylib::Server::WServerPrivate::init()::<lambda()>&, void**)::<lambda()> > (fn=...,                
    args=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:65
linuxdeepin/treeland.private#41 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Waylib::Server::WServerPrivate::init()::<lambda()> >::call (
    arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:140
linuxdeepin/treeland.private#42 QtPrivate::FunctorCallable<Waylib::Server::WServerPrivate::init()::<lambda()> >::call<QtPrivate::List<>, void> (arg=<optimized out>, 
    f=...) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:362
linuxdeepin/treeland.private#43 QtPrivate::QCallableObject<Waylib::Server::WServerPrivate::init()::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x556953e824c0, r=<optimized out>, a=<optimized out>, ret=<optimized out>)   
    at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:572
linuxdeepin/treeland.private#44 0x00007f1d0ad7f96c in ?? () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Core.so.6
linuxdeepin/treeland.private#45 0x00007f1d0ad89e83 in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) ()
   from /usr/bin/../lib/x86_64-linux-gnu/libQt6Core.so.6
linuxdeepin/treeland.private#46 0x00007f1d0ad89fb3 in QSocketNotifier::event(QEvent*) () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Core.so.6
--Type <RET> for more, q to quit, c to continue without paging--
linuxdeepin/treeland.private#47 0x00007f1d0ad33898 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Core.so.6
linuxdeepin/treeland.private#48 0x00007f1d0af2f4af in ?? () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Core.so.6
linuxdeepin/treeland.private#49 0x00007f1d08b5fe0f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
linuxdeepin/treeland.private#50 0x00007f1d08b61e97 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
linuxdeepin/treeland.private#51 0x00007f1d08b624b0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
linuxdeepin/treeland.private#52 0x00007f1d0af26fd0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/bin/../lib/x86_64-linux-gnu/libQt6Core.so.6
linuxdeepin/treeland.private#53 0x00007f1d0ad3c5da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Core.so.6
linuxdeepin/treeland.private#54 0x00007f1d0ad366c8 in QCoreApplication::exec() () from /usr/bin/../lib/x86_64-linux-gnu/libQt6Core.so.6
linuxdeepin/treeland.private#55 0x00005569322f5482 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:46

LAUNCH-WAY | 启动方式

unknown

BACKEND | 启动后端

unknown

STEPS TO REPRODUCE | 复现步骤

No response

OBSERVED RESULT | 观察到的结果

No response

EXPECTED RESULT | 期望的结果

No response

ADDITIONAL INFORMATION | 额外补充

No response

@18202781743 18202781743 added the bug Something isn't working label Jan 16, 2025
@wineee wineee transferred this issue from linuxdeepin/treeland.private Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant