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

Michael Weghorn <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
           Priority|medium                      |low
             Status|UNCONFIRMED                 |NEW
             Blocks|                            |145734, 102495

--- Comment #14 from Michael Weghorn <[email protected]> ---
(In reply to Eyal Rozenberg from comment #11)

> Note that I don't see it with qt6.

I see this with qt6 as well (needs an `--enable-debug` or `--enable-sal-log`
build for the output to show up).

Sample backtrace with a corresponding breakpoint:


1  ImplImage::loadStockAtScale                                                 
                                                                               
                         ImplImage.cxx           102  0x7fffeebe083a 
2  ImplImage::getSizePixel                                                     
                                                                               
                         ImplImage.cxx           118  0x7fffeebe0bc7 
3  ImplImage::getBitmapEx                                                      
                                                                               
                         ImplImage.cxx           134  0x7fffeebe0ee1 
4  Image::GetBitmapEx                                                          
                                                                               
                         Image.cxx               99   0x7fffeebdd3e1 
5  Graphic::Graphic                                                            
                                                                               
                         graph.cxx               201  0x7fffee90ef13 
6  framework::(anonymous namespace)::GetXGraphic                               
                                                                               
                         imagemanagerimpl.cxx    697  0x7ffff4e74049 
7  framework::ImageManagerImpl::getImages                                      
                                                                               
                         imagemanagerimpl.cxx    742  0x7ffff4e73ee2 
8  framework::ImageManager::getImages                                          
                                                                               
                         imagemanager.cxx        102  0x7ffff4e6dfaa 
9  non-virtual thunk to framework::ImageManager::getImages(short,
com::sun::star::uno::Sequence<rtl::OUString> const&)                           
                                       imagemanager.cxx        102 
0x7ffff4e6dffa 
10 vcl::CommandInfoProvider::GetXGraphicForCommand                             
                                                                               
                         commandinfoprovider.cxx 383  0x7fffeec14b25 
11 vcl::CommandInfoProvider::GetImageForCommand                                
                                                                               
                         commandinfoprovider.cxx 399  0x7fffeec151b7 
12 framework::MenuBarManager::FillMenuImages                                   
                                                                               
                         menubarmanager.cxx      1590 0x7ffff4f03a26 
13 framework::MenuBarManager::Activate                                         
                                                                               
                         menubarmanager.cxx      588  0x7ffff4f0235d 
14 framework::MenuBarManager::LinkStubActivate                                 
                                                                               
                         menubarmanager.cxx      550  0x7ffff4f01f7d 
15 Link<Menu *, bool>::Call                                                    
                                                                               
                         link.hxx                111  0x7fffee41a4d6 
16 Menu::Activate                                                              
                                                                               
                         menu.cxx                268  0x7fffee40b828 
17 Menu::HandleMenuActivateEvent                                               
                                                                               
                         menu.cxx                2615 0x7fffee416c9c 
18 QtMenu::DoFullMenuUpdate                                                    
                                                                               
                         QtMenu.cxx              513  0x7fffe4786e5d 
19 QtMenu::SetFrame                                                            
                                                                               
                         QtMenu.cxx              482  0x7fffe4786a30 
20 MenuBarWindow::SetMenu                                                      
                                                                               
                         menubarwindow.cxx       193  0x7fffee426d58 
21 MenuBar::ImplCreate                                                         
                                                                               
                         menu.cxx                2497 0x7fffee416771 
22 SystemWindow::SetMenuBar                                                    
                                                                               
                         syswin.cxx              867  0x7fffee4a0267 
23 framework::LayoutManager::implts_createMenuBar                              
                                                                               
                         layoutmanager.cxx       187  0x7ffff4d6a774 
24 framework::LayoutManager::createElement                                     
                                                                               
                         layoutmanager.cxx       1434 0x7ffff4d738d6 
25 SfxDispatcher::SetMenu_Impl                                                 
                                                                               
                         dispatch.cxx            1035 0x7ffff3bc2df5 
26 SfxDispatcher::Update_Impl                                                  
                                                                               
                         dispatch.cxx            1100 0x7ffff3bbea9c 
27 SfxBaseController::ConnectSfxFrame_Impl                                     
                                                                               
                         sfxbasecontroller.cxx   1206 0x7ffff41f0761 
28 SfxBaseController::attachFrame                                              
                                                                               
                         sfxbasecontroller.cxx   530  0x7ffff41ef91e 
29 utl::ConnectFrameControllerModel                                            
                                                                               
                         fcm.hxx                 48   0x7ffff41c0f8d 
30 (anonymous namespace)::SfxFrameLoader_Impl::impl_createDocumentView         
                                                                               
                         frmload.cxx             584  0x7ffff41bd661 
31 (anonymous namespace)::SfxFrameLoader_Impl::load                            
                                                                               
                         frmload.cxx             759  0x7ffff41bac09 
32 framework::LoadEnv::impl_loadContent                                        
                                                                               
                         loadenv.cxx             1180 0x7ffff4dc0524 
33 framework::LoadEnv::start                                                   
                                                                               
                         loadenv.cxx             415  0x7ffff4dbd685 
34 framework::LoadEnv::startLoading                                            
                                                                               
                         loadenv.cxx             311  0x7ffff4dbb332 
35 framework::LoadDispatcher::impl_dispatch                                    
                                                                               
                         loaddispatcher.cxx      107  0x7ffff4c54471 
36 framework::LoadDispatcher::dispatchWithReturnValue                          
                                                                               
                         loaddispatcher.cxx      60   0x7ffff4c551d1 
37 non-virtual thunk to
framework::LoadDispatcher::dispatchWithReturnValue(com::sun::star::util::URL
const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
const&) loaddispatcher.cxx      60   0x7ffff4c55274 
38 comphelper::SynchronousDispatch::dispatch                                   
                                                                               
                         synchronousdispatch.cxx 62   0x7ffff620fdf0 
39 desktop::DispatchWatcher::executeDispatchRequests                           
                                                                               
                         dispatchwatcher.cxx     529  0x7ffff7b73dad 
40 desktop::RequestHandler::ExecuteCmdLineRequests                             
                                                                               
                         officeipcthread.cxx     1347 0x7ffff7b920fa 
41 desktop::Desktop::OpenClients                                               
                                                                               
                         app.cxx                 2203 0x7ffff7b2c778 
42 desktop::Desktop::OpenClients_Impl                                          
                                                                               
                         app.cxx                 1979 0x7ffff7b2a6f3 
43 desktop::Desktop::LinkStubOpenClients_Impl                                  
                                                                               
                         app.cxx                 1963 0x7ffff7b28d6d 
44 Link<void *, void>::Call                                                    
                                                                               
                         link.hxx                111  0x7fffee5321c1 
45 ImplHandleUserEvent                                                         
                                                                               
                         winproc.cxx             2285 0x7fffee52e331 
46 ImplWindowFrameProc                                                         
                                                                               
                         winproc.cxx             2849 0x7fffee52b24a 
47 SalFrame::CallCallback                                                      
                                                                               
                         salframe.hxx            317  0x7fffe46f07fc 
48 QtInstance::ProcessEvent                                                    
                                                                               
                         QtInstance.cxx          527  0x7fffe47114cf 
49 SalUserEventList::DispatchUserEvents(bool)::$_0::operator()() const         
                                                                               
                         salusereventlist.cxx    119  0x7fffeec364ad 
50 SalUserEventList::DispatchUserEvents                                        
                                                                               
                         salusereventlist.cxx    120  0x7fffeec36386 
51 QtInstance::ImplYield                                                       
                                                                               
                         QtInstance.cxx          453  0x7fffe470df11 
52 QtInstance::DoYield                                                         
                                                                               
                         QtInstance.cxx          475  0x7fffe4711031 
53 ImplYield                                                                   
                                                                               
                         svapp.cxx               385  0x7fffeed0df86 
54 Application::Yield                                                          
                                                                               
                         svapp.cxx               473  0x7fffeed0d91f 
55 Application::Execute                                                        
                                                                               
                         svapp.cxx               360  0x7fffeed0d700 
56 desktop::Desktop::Main                                                      
                                                                               
                         app.cxx                 1679 0x7ffff7b26d4b 
57 ImplSVMain                                                                  
                                                                               
                         svmain.cxx              228  0x7fffeed2e816 
58 SVMain                                                                      
                                                                               
                         svmain.cxx              246  0x7fffeed30409 
59 soffice_main                                                                
                                                                               
                         sofficemain.cxx         121  0x7ffff7ba089a 
60 sal_main                                                                    
                                                                               
                         main.c                  51   0x555555555a6d 
61 main                                                                        
                                                                               
                         main.c                  49   0x555555555a47 


At a quick glance, the code calling this seems to handle the case that no image
is returned just fine.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 608257dd5f2b9e361d474a5d8d4d113d9b431209
CPU threads: 32; OS: Linux 6.11; UI render: default; VCL: qt6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: CL threaded


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102495
[Bug 102495] [META] KDE (kf5) VCL backend bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=145734
[Bug 145734] [META] Qt6/KF6 VCL plugin bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to