Opened 6 months ago

Last modified 6 months ago

#64703 assigned defect

umbrello: display flickers and using code import wizard results in null pointer read attempt

Reported by: dkbarto Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version:
Keywords: monterey Cc:
Port: umbrello

Description (last modified by ryandesign (Ryan Schmidt))

running

sudo port install umbrello

installs a lot of dependencies and then compiles and appears to complete installing umbrello. However I can't find the executable in any location in /opt/local. Icons appear to have been installed in /opt/local/share, and nothing else. I don't see a log file to attach here. The Portfile is dated Jun 7, 2021 (/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/kde/umbrello)

There appear to be 2 copies of the sources:

/opt/local/var/macports/software/umbrello/umbrello-4.14.3_7.darwin_21.x86_64.tbz2

/opt/local/var/macports/distfiles/umbrello/umbrello-4.14.3.tar.xz

What other information is needed to figure out what is failing here?

Change History (7)

comment:1 Changed 6 months ago by ryandesign (Ryan Schmidt)

Port: umbrello added

port contents umbrello will tell you what it installed. In addition to the files in /opt/local/share, it should also have installed /Applications/MacPorts/KDE4/umbrello.app.

The port's main.log is automatically deleted upon successful installation. You can use the -k flag if you want to keep the main.log (and the work directory) after successful build. Later, you can sudo port clean the port to delete them.

umbrello-4.14.3.tar.xz is the source. umbrello-4.14.3_7.darwin_21.x86_64.tbz2 is what got built and installed.

comment:2 Changed 6 months ago by dkbarto

on MacOS 12.2.1 the display flashes/flickers and generally refreshes in such a way that the program is un-usable. Has anyone made any attempt to check/verify the port for a current release of MacOS?

comment:3 Changed 6 months ago by dkbarto

Attempting to use the code import wizard results in a null pointer read attempt.


* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000000000000
error: memory read failed for 0x0
Target 0: (umbrello) stopped.
(lldb) up
frame #1: 0x00007ff827986ca3 ImageIO`PNGReadPlugin::InitializePluginData(IIOImageReadSession*, IIODictionary*, IIODictionary*, CGImageMetadata*, CGColorSpace**, ReadPluginData&, PNGPluginData&, __CFDictionary*) + 861
ImageIO`PNGReadPlugin::InitializePluginData:
->  0x7ff827986ca3 <+861>: movq   %rax, -0x30(%rbp)
    0x7ff827986ca7 <+865>: testq  %rax, %rax
    0x7ff827986caa <+868>: je     0x7ff827987ce3            ; <+5021>
    0x7ff827986cb0 <+874>: leaq   0x38ef7be1(%rip), %rax    ; kCGImageSourceSkipCRC
(lldb) down
frame #0: 0x0000000000000000
error: memory read failed for 0x0
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000000000000
    frame #1: 0x00007ff827986ca3 ImageIO`PNGReadPlugin::InitializePluginData(IIOImageReadSession*, IIODictionary*, IIODictionary*, CGImageMetadata*, CGColorSpace**, ReadPluginData&, PNGPluginData&, __CFDictionary*) + 861
    frame #2: 0x00007ff82798693e ImageIO`PNGReadPlugin::initialize(IIODictionary*) + 62
    frame #3: 0x00007ff82797e117 ImageIO`IIOReadPlugin::callInitialize() + 81
    frame #4: 0x00007ff82797de02 ImageIO`IIO_Reader::initImageAtOffset(CGImagePlugin*, unsigned long, unsigned long, unsigned long) + 62
    frame #5: 0x00007ff82797b6fd ImageIO`IIOImageSource::makeImagePlus(unsigned long, IIODictionary*) + 517
    frame #6: 0x00007ff827988799 ImageIO`IIOImageSource::createImageAtIndex(unsigned long, IIODictionary*) + 61
    frame #7: 0x00007ff827988676 ImageIO`CGImageSourceCreateImageAtIndex + 241
    frame #8: 0x00007ff824465992 HIServices`setCursorFromBundle + 2433
    frame #9: 0x00007ff824464974 HIServices`CoreCursorSetAndReturnSeed + 137
Last edited 6 months ago by dkbarto (previous) (diff)

comment:4 Changed 6 months ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Keywords: monterey added
Owner: set to NicosPavlov
Status: newassigned
Summary: Umbrello appears to complete install, doesn't appear in /opt/local/binumbrello: display flickers and using code import wizard results in null pointer read attempt

comment:5 Changed 6 months ago by NicosPavlov

Regarding the flickering, some users don't experience it, and the ones that do had sometimes success by using the native graphics system as mentioned in the kdelibs4 notes.

Attention: Users who experience graphics glitches (like flickering) in KDE4 application on newer OS versions are invited to use the qtconfig application (in /Applications/MacPorts/Qt4) and experiment with the Native graphics system as described in the qt4-mac notes.

comment:6 Changed 6 months ago by dkbarto

Excellent. Flickering removed. Thanks. One question: I select the "include subdirectories" option and it doesn't work. I must open and select each directory individually. Any reason for this? After selecting all my directories, execution when importing 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
Last edited 6 months ago by dkbarto (previous) (diff)

comment:7 Changed 6 months ago by dkbarto

Tried running umbrella on completely different code, got exactly the same segfault at the same location.

Sad, the program looks so promising.

Note: See TracTickets for help on using tickets.