[MacPorts] #64703: umbrello: display flickers and using code import wizard results in null pointer read attempt

MacPorts noreply at macports.org
Tue Feb 22 16:53:46 UTC 2022


#64703: umbrello: display flickers and using code import wizard results in null
pointer read attempt
-----------------------+-------------------------
  Reporter:  dkbarto   |      Owner:  NicosPavlov
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  monterey
      Port:  umbrello  |
-----------------------+-------------------------

Comment (by dkbarto):

 Excellent. Flickering removed. Thanks.
 When importing from existing code the program now crashes:
 {{{
 (lldb) c
 Process 91016 resuming
 Process 91016 stopped
 * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
 (code=1, address=0x28)
     frame #0: 0x0000000100c6c28d umbrello`AST::getEndPosition(int*, int*)
 const + 9
 umbrello`AST::getEndPosition:
 ->  0x100c6c28d <+9>:  movl   0x28(%rdi), %eax
     0x100c6c290 <+12>: movl   %eax, (%rsi)
     0x100c6c292 <+14>: testq  %rdx, %rdx
     0x100c6c295 <+17>: je     0x100c6c29c               ; <+24>
 Target 0: (umbrello) stopped.
 (lldb) bt
 * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
 (code=1, address=0x28)
   * frame #0: 0x0000000100c6c28d umbrello`AST::getEndPosition(int*, int*)
 const + 9
     frame #1: 0x0000000100ca5b7e
 umbrello`Parser::parseDeclarationInternal(std::__1::auto_ptr<DeclarationAST>&)
 + 3772
     frame #2: 0x0000000100c9cb95
 umbrello`Parser::parseDeclaration(std::__1::auto_ptr<DeclarationAST>&) +
 1355
     frame #3: 0x0000000100c9bfb9
 umbrello`Parser::parseTranslationUnit(KSharedPtr<TranslationUnitAST>&) +
 433
     frame #4: 0x0000000100c78201 umbrello`Driver::ParseHelper::parse() +
 285
     frame #5: 0x0000000100c78ff3 umbrello`Driver::parseFile(QString
 const&, bool, bool, bool) + 385
     frame #6: 0x0000000100cfac98 umbrello`CppImport::parseFile(QString
 const&) + 74
     frame #7: 0x0000000100c603ce umbrello`CodeImpThread::run() + 424
     frame #8: 0x0000000100c5e2c7
 umbrello`CodeImpStatusPage::importCodeFile(bool) + 1035
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64703#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list