Opened 13 years ago

Closed 11 years ago

#31355 closed defect (worksforme)

kdesdk4: Umbrello not able to run

Reported by: mtughan@… Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: sharky@…, michaelld (Michael Dickens), m214089, castellotti (Steve Castellotti), steve@…, gregory.verret@…, juanrgar (Juan R. García Blanco)
Port: kdesdk4

Description

I built kdesdk4 a couple days ago to get Umbrello on my Lion system. The compilation finished without an error, and only a couple notices along the way about commands to run, including telling launchctl to start dbus-session and change the owner on ~/Library/Preferences/KDE, all of which have been done. However, Umbrello still won't start. If I try launching it using Finder, the icon bounces in the Dock for a couple seconds then disappears. Running the executable myself produces this output:

KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
umbrello(4114)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
umbrello(4114)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :( 
umbrello(4114)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise. 
umbrello(4114)/KSharedDataCache: Unable to unmap shared memory segment 0x113015000 
umbrello(4114)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with KXMLGUIFactory! 
umbrello(4114)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with KXMLGUIFactory! 
Unable to start Dr. Konqi

Google searches for the last line doesn't seem to produce many useful results. In any case, this shouldn't happen by default.

Mid-2011 MacBook Air, 1.7GHz Core i5, 4GB RAM, OS X 10.7.1, Xcode 4.1, GCC 4.2.

Change History (29)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: sharky@… added
Milestone: MacPorts Future
Owner: changed from macports-tickets@… to snc@…
Summary: Umbrello not able to runkdesdk4: Umbrello not able to run

comment:2 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: michaelld@… mk@… added

comment:3 Changed 13 years ago by m214089

Cc: luis.kornblueh@… added

Cc Me!

comment:4 Changed 13 years ago by nerdling (Jeremy Lavergne)

Is this still an issue with KDE 4.7.3?

comment:5 Changed 13 years ago by mtughan@…

It appears it is still an issue.

lhikan:~ mtughan$ port installed kdesdk4
The following ports are currently installed:
  kdesdk4 @4.7.2_0
  kdesdk4 @4.7.3_0 (active)
lhikan:~ mtughan$ /Applications/MacPorts/KDE4/umbrello.app/Contents/MacOS/umbrello
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
umbrello(19872)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
umbrello(19872)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :( 
umbrello(19872)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise. 
umbrello(19872)/KSharedDataCache: Unable to unmap shared memory segment 0x1157cb000 
umbrello(19872)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with KXMLGUIFactory! 
umbrello(19872)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with KXMLGUIFactory! 
Unable to start Dr. Konqi

This right after a selfupdate and upgrade outdated.

comment:6 Changed 13 years ago by castellotti (Steve Castellotti)

Cc: sc@… added

Cc Me!

comment:7 Changed 13 years ago by castellotti (Steve Castellotti)

Looks like this is part of a known issue from a couple months back:

http://comments.gmane.org/gmane.comp.kde.devel.general/63556

comment:8 Changed 13 years ago by rislec@…

This problem still exists for version 4.7.4. Building some the debugging variants such as "qt4-mac @4.7.4_1+debug+quartz", "kdelibs4 @4.7.4_1+debug", and "kdesdk4 @4.7.4_0+debug" reveals a number of other errors down stream of the KSharedDataCache issue, and the actual crash seems to come from an index range error:

KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
umbrello(92342)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
umbrello(92342)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :( 
umbrello(92342)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise. 
umbrello(92342)/KSharedDataCache: Unable to unmap shared memory segment 0x10ba8e000 
umbrello(92342)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with KXMLGUIFactory! 
umbrello(92342)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with KXMLGUIFactory! 
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
umbrello(92342)/kdeui (KIconEffect) KIconEffect::apply: Illegal icon group:  7
ASSERT failure in QList<T>::operator[]: "index out of range", file /opt/local/include/QtCore/qlist.h, line 464

Running the application with gdb reveals that the assertion is encountered in the function KTabWidget::Private::updateTab() (see the stack trace bellow).

#0  0x00007fff8e0d7ce2 in __pthread_kill ()
#1  0x00007fff8eb567d2 in pthread_kill ()
#2  0x00007fff8eb47a7a in abort ()
#3  0x0000000102fcee25 in qt_message_output ()
#4  0x0000000102fcf01e in qt_message ()
#5  0x0000000102fcf25d in qFatal ()
#6  0x0000000102fcf28e in qt_assert_x ()
#7  0x000000010182765b in KTabWidget::Private::updateTab ()
#8  0x0000000101827c3b in KTabWidget::Private::resizeTabs ()
#9  0x000000010247fb8b in QWidget::event ()
#10 0x000000010280905d in QTabWidget::event ()
#11 0x000000010242fd18 in QApplicationPrivate::notify_helper ()
#12 0x000000010242ffcb in QApplication::notify ()
#13 0x000000010172424a in KApplication::notify ()
#14 0x00000001030be182 in QCoreApplication::notifyInternal ()
#15 0x00000001023d3208 in QWidgetPrivate::setGeometry_sys_helper ()
#16 0x00000001023d5af1 in QWidgetPrivate::setGeometry_sys ()
#17 0x0000000102481e06 in QWidget::setGeometry ()
#18 0x000000010245fb3a in QWidgetItem::setGeometry ()
#19 0x0000000102440f86 in QBoxLayout::setGeometry ()
#20 0x000000010245ca21 in QLayoutPrivate::doResize ()
#21 0x000000010245cc89 in QLayout::activate ()
#22 0x000000010242fcfa in QApplicationPrivate::notify_helper ()
#23 0x000000010242ffcb in QApplication::notify ()
#24 0x000000010172424a in KApplication::notify ()
#25 0x00000001030be182 in QCoreApplication::notifyInternal ()
#26 0x00000001023d3208 in QWidgetPrivate::setGeometry_sys_helper ()
#27 0x00000001023d5af1 in QWidgetPrivate::setGeometry_sys ()
#28 0x0000000102481e06 in QWidget::setGeometry ()
#29 0x000000010247eb2e in QWidget::qt_metacall ()
#30 0x0000000102fc2fda in QPropertyAnimationPrivate::updateProperty ()
#31 0x0000000102fc00bf in QVariantAnimationPrivate::setCurrentValueForProgress ()
#32 0x0000000102fc05b5 in QVariantAnimationPrivate::recalculateCurrentInterval ()
#33 0x0000000102fc29af in QPropertyAnimation::updateState ()
#34 0x0000000102fbe5a0 in QAbstractAnimationPrivate::setState ()
#35 0x0000000102834769 in QWidgetAnimator::animate ()
#36 0x00000001027995bc in QDockAreaLayout::apply ()
#37 0x00000001027c41a1 in QMainWindowLayout::applyState ()
#38 0x00000001027c4896 in QMainWindowLayout::setGeometry ()
#39 0x000000010245ca21 in QLayoutPrivate::doResize ()
#40 0x000000010245cc89 in QLayout::activate ()
#41 0x0000000102480b09 in QWidget::setVisible ()
#42 0x00000001027f3fa5 in QSizeGrip::eventFilter ()
#43 0x00000001030bbdd1 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
#44 0x000000010242fd08 in QApplicationPrivate::notify_helper ()
#45 0x000000010242ffcb in QApplication::notify ()
#46 0x000000010172424a in KApplication::notify ()
#47 0x00000001030be182 in QCoreApplication::notifyInternal ()
#48 0x000000010242f4aa in qt_sendSpontaneousEvent ()
#49 0x00000001023e396f in -[QCocoaWindowDelegate windowDidResize:] ()
#50 0x00007fff8c948de2 in __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 ()
#51 0x00007fff90610e0a in _CFXNotificationPost ()
#52 0x00007fff8c935097 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#53 0x00007fff8b7e97d9 in -[NSWindow _setFrameCommon:display:stashSize:] ()
#54 0x00007fff8b7e8f17 in -[NSWindow setFrame:display:] ()
#55 0x00000001023d5e2f in QWidgetPrivate::setGeometry_sys ()
#56 0x0000000102481ede in QWidget::resize ()
#57 0x0000000102484971 in QWidget::setMinimumSize ()
#58 0x000000010245cc62 in QLayout::activate ()
#59 0x000000010242fcfa in QApplicationPrivate::notify_helper ()
#60 0x000000010242ffcb in QApplication::notify ()
#61 0x000000010172424a in KApplication::notify ()
#62 0x00000001030be182 in QCoreApplication::notifyInternal ()
#63 0x00000001030be545 in QCoreApplicationPrivate::sendPostedEvents ()
#64 0x00007fff905d6b51 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ()
#65 0x00007fff905d63bd in __CFRunLoopDoSources0 ()
#66 0x00007fff905fd1a9 in __CFRunLoopRun ()
#67 0x00007fff905fcae6 in CFRunLoopRunSpecific ()
#68 0x00007fff947ce3d3 in RunCurrentEventLoopInMode ()
#69 0x00007fff947d558f in ReceiveNextEventCommon ()
#70 0x00007fff947d54ca in BlockUntilNextEventMatchingListInMode ()
#71 0x00007fff8b6eb3f1 in _DPSNextEvent ()
#72 0x00007fff8b6eacf5 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#73 0x00000001023edba4 in QEventDispatcherMac::processEvents ()
#74 0x00000001030be97c in QCoreApplication::processEvents ()
#75 0x00000001002d8446 in UMLApp::setCurrentView ()
#76 0x00000001002e442d in UMLDoc::changeCurrentView ()
#77 0x00000001002da7f2 in UMLApp::slotTabChanged ()
#78 0x00000001002db515 in UMLApp::qt_metacall ()
#79 0x00000001030d21d2 in QMetaObject::activate ()
#80 0x0000000102808a2f in QTabWidgetPrivate::_q_showTab ()
#81 0x0000000102808cae in QTabWidget::qt_metacall ()
#82 0x0000000101826561 in KTabWidget::qt_metacall ()
#83 0x00000001030d21d2 in QMetaObject::activate ()
#84 0x0000000102804659 in QTabBar::setCurrentIndex ()
#85 0x0000000102806e4e in QTabBar::insertTab ()
#86 0x000000010280a277 in QTabWidget::insertTab ()
#87 0x00000001002d82d1 in UMLApp::setCurrentView ()
#88 0x00000001002e33fd in UMLDoc::addView ()
#89 0x00000001002e3efe in UMLDoc::createDiagram ()
#90 0x00000001002e6a10 in UMLDoc::newDocument ()
#91 0x00000001002da775 in UMLApp::newDocument ()
#92 0x00000001002a7161 in initDocument ()
#93 0x00000001002a6cc4 in main ()

I am not familiar enough with macports to get all the debugging symbols loaded properly and see what's going on, but from reading the source I presume its the unchecked index access "m_tabNames[ index ]" (see code snippet below).

void KTabWidget::Private::updateTab( int index )
{ 
  QString title = m_automaticResizeTabs ? m_tabNames[ index ] : m_parent->QTabWidget::tabText( index );
  m_parent->setTabToolTip( index, QString() );

  if ( title.length() > m_currentTabLength ) {
    QString toolTipText = title;
    // Remove '&'s, which are indicators for keyboard shortcuts in tab titles. "&&" is replaced by '&'.
    for ( int i = toolTipText.indexOf( '&' ); i >= 0 && i < toolTipText.length(); i = toolTipText.indexOf( '&', i + 1 ) )
      toolTipText.remove( i, 1 );

    if ( Qt::mightBeRichText( toolTipText ) )
      m_parent->setTabToolTip( index, Qt::escape( toolTipText ) );
    else
      m_parent->setTabToolTip( index, toolTipText );
  }

  title = KStringHandler::rsqueeze( title, m_currentTabLength ).leftJustified( m_minLength, ' ' );

  if ( m_parent->QTabWidget::tabText( index ) != title )
    m_parent->QTabWidget::setTabText( index, title );
}

This information leads me to the following:

  1. There is a bug in kdelibs4 that prevents further execution.
  2. Since this doesn't seem to have appeared in other operating systems, is this a bug that might be avoided with the raster variant of qt4-mac or is this a matter of correctly finding umbrello's data resources like localizations, icons, etc?

comment:9 Changed 13 years ago by steve@…

Cc: steve@… added

Cc Me!

comment:10 Changed 13 years ago by gregory.verret@…

Cc: gregory.verret@… added

Cc Me!

comment:11 Changed 13 years ago by mtughan@…

It appears that 4.8.0 has finally allowed umbrello to run. I still get some output when running, but it does appear to run. I have not had a chance to test any functionality yet.

umbrello(60739)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
umbrello(60739)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache.  This *should* be essentially impossible. :( 
umbrello(60739)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise. 
umbrello(60739)/KSharedDataCache: Unable to unmap shared memory segment 0x10d6aa000 
umbrello(60739)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with KXMLGUIFactory! 
umbrello(60739)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with KXMLGUIFactory! 
umbrello(60739) *UMLListView::findView: returning 0 at UMLListView::findView 
umbrello(60739) *UMLListView::findView: returning 0 at UMLListView::findView 
Plugin paths:  ("/opt/local/share/qt4/plugins", "/Users/mtughan/Library/Preferences/KDE/lib/", "/opt/local/lib/") 
Trying to load Attica plugin:  "/opt/local/share/qt4/plugins/attica_kde.so" 
Trying to load Attica plugin:  "/Users/mtughan/Library/Preferences/KDE/lib//attica_kde.so" 
Trying to load Attica plugin:  "/opt/local/lib//attica_kde.so" 
Using Attica with KDE support 
umbrello(60739) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
umbrello(60739) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
umbrello(60739) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
umbrello(60739) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
umbrello(60739) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
umbrello(60739) KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createItemWidgets! 
umbrello(60739)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
umbrello(60739)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:

comment:12 Changed 13 years ago by mkae (Marko Käning)

So, it looks like as if this issue can be closed.

comment:13 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: newclosed

comment:14 Changed 11 years ago by juanrgar (Juan R. García Blanco)

Resolution: worksforme
Status: closedreopened

I just installed kdesdk@4.10.3 and umbrello refuses to start. The stack trace reveals that the problem I'm experiencing is the same reported here. I attach only a few lines:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00000001010c30b9 in KTabWidget::Private::updateTab ()
(gdb) bt
#0  0x00000001010c30b9 in KTabWidget::Private::updateTab ()
#1  0x00000001010c342a in KTabWidget::Private::resizeTabs ()
#2  0x0000000101c34ebb in QWidget::event ()
#3  0x000000010201d6b8 in QTabWidget::event ()
#4  0x0000000101bdd4ad in QApplicationPrivate::notify_helper ()
#5  0x0000000101be3f64 in QApplication::notify ()

I'm not sure if this only happens to me. I think I did nothing strange on my system. I will reopen it.

comment:15 Changed 11 years ago by juanrgar (Juan R. García Blanco)

Cc: juanrgar@… added

Cc Me!

comment:16 Changed 11 years ago by nerdling (Jeremy Lavergne)

Cc: mk@… removed
Owner: changed from snc@… to mk@…
Status: reopenednew
Version: 2.0.3

comment:17 Changed 11 years ago by mkae (Marko Käning)

This works on my end as well:

--->  Fetching distfiles for kdesdk4
--->  Attempting to fetch kdesdk-4.10.3.tar.xz from http://lil.fr.distfiles.macports.org/kdesdk4
--->  Verifying checksum(s) for kdesdk4
--->  Extracting kdesdk4
--->  Applying patches to kdesdk4
--->  Configuring kdesdk4
--->  Building kdesdk4
--->  Staging kdesdk4 into destroot
--->  Installing kdesdk4 @4.10.3_0
--->  Activating kdesdk4 @4.10.3_0
##########################################################
# Don't forget that dbus needs to be started as the local 
# user (not with sudo) before any KDE programs will launch
# To start it run the following command:                  
# launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
##########################################################
--->  Cleaning kdesdk4
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

BUT, I am on Snow Leopard.

comment:18 Changed 11 years ago by mtughan@…

I'm rebuilding as we speak as I did a clean install of OS X in the time between reporting this bug and now, so we'll see how that works out. In the meantime, could we either change the reporter email address to my new address or take CC off of it? I moved domains to a non-ISP address, and while I still have access to the old one for now, that won't be permanent.

comment:19 Changed 11 years ago by mkae (Marko Käning)

I don't see how to change the reporter address.

comment:20 Changed 11 years ago by mtughan@…

Thanks for looking mk. I didn't see anything either, so I thought maybe an administrator could change it. Not a big issue though.

In any case, it looks like umbrello works for me on my system. Same machine as initial, but running 10.8.3 this time, with Xcode 4.6.2. I'm not sure exactly what compiler it's using, but I've configured my system to use GCC 4.8.0 from MacPorts when the gcc or g++ commands are issued. kdesdk4 v4.10.3, so the same as the second reporter.

lhikan:MacOS mtughan$ ./umbrello
umbrello(52888)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
umbrello(52888)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with KXMLGUIFactory! 
umbrello(52888)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with KXMLGUIFactory! 
umbrello(52888) *UMLListView::findView: could not find  "class diagram"  in  UMLListViewItem: "Logical View", type="lvt_Logical_View", id="Logical View", children=1 
umbrello(52888) *UMLListView::findView: could not find  "class diagram"  in  UMLListViewItem: "Logical View", type="lvt_Logical_View", id="Logical View", children=1 
umbrello(52888)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
umbrello(52888)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
lhikan:MacOS mtughan$

comment:21 Changed 11 years ago by juanrgar (Juan R. García Blanco)

Thank you very much. I'm running Snow Leopard too. I tried uninstalling, cleaning and reinstalling, and still the same issue. Other kdesdk4 applications launch with no problem. This is my gcc -v output:

Using built-in specs.
Target: i686-apple-darwin10
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

Maybe it is LLVM's fault. I will try compiling using a different compiler, although I don't know if GCC is installed on my system.

comment:22 in reply to:  20 ; Changed 11 years ago by larryv (Lawrence Velázquez)

Replying to mtughan@…:

I'm not sure exactly what compiler it's using, but I've configured my system to use GCC 4.8.0 from MacPorts when the gcc or g++ commands are issued.

Your main.log says which compiler MacPorts chooses; it’s printed as one of the first few lines of the configure phase. If the build is using /opt/local/bin/gcc or /opt/local/bin/g++, it is wrong and should be fixed.

comment:23 in reply to:  22 Changed 11 years ago by mtughan@…

Replying to larryv@…:

Replying to mtughan@…:

I'm not sure exactly what compiler it's using, but I've configured my system to use GCC 4.8.0 from MacPorts when the gcc or g++ commands are issued.

Your main.log says which compiler MacPorts chooses; it’s printed as one of the first few lines of the configure phase. If the build is using /opt/local/bin/gcc or /opt/local/bin/g++, it is wrong and should be fixed.

Good thinking, but it appears to be using /usr/bin/clang and /usr/bin/clang++. 'clang --version' gives "Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)"

comment:24 Changed 11 years ago by juanrgar (Juan R. García Blanco)

I compiled umbrello manually and using clang++ instead of gcc, and still the same error. I think that this may be related to Qt, or some other library that umbrello depends on. Qt package on my system is qt4-mac @4.8.4_6, and qt4-creator-mac @2.6.1_0 (not sure if this has something to do, but it is the only Qt app that is not installed as a dependence of kdesdk4). Could you please post what version of Qt libraries are you using?

Also, I downloaded the unstable umbrello code and compiled it, and the exact same error appears :(

Thank you very much.

comment:25 Changed 11 years ago by mkae (Marko Käning)

On Snow Leopard I have this installed:

$ port installed qt4* kde* kdes* kdel*
The following ports are currently installed:
  kdelibs4 @4.10.3_0 (active)
  kdenlive @0.9.6_0 (active)
  kdesdk4 @4.10.3_0 (active)
  qt4-creator-mac @2.6.1_0 (active)
  qt4-mac @4.8.4_6+debug (active)
  qt4-mac-mysql5-plugin @4.8.4_0+debug (active)
  qt4-mac-mysql55-plugin @4.8.4_0 (active)
  qt4-mac-sqlite3-plugin @4.8.4_0 (active)

Am puzzled myself as to why I needed more than "kde*" to show the other kde-related ports!

comment:26 Changed 11 years ago by juanrgar (Juan R. García Blanco)

How about boost? I believe umbrello is the only kdesdk app that depends on boost. Could you please post your boost version? And also, could you also post your c++ compiler version? I'm using boost@1.53.0 and gcc 4.2.1 (Apple version).

Thank you very much!!

comment:27 Changed 11 years ago by mkae (Marko Käning)

I am all up-to-date:

$ port installed boost
The following ports are currently installed:
  boost @1.53.0_1+debug+no_single+no_static (active)

Same compiler on my end.

comment:28 Changed 11 years ago by juanrgar (Juan R. García Blanco)

I managed to run Umbrello I found that Umbrello was trying to load something at first launch, and that something does not exist; therefore, something becomes NULL, and Umbrello calls a method on it. I run Umbrello passing a non-existent file as first argument; it displayed a message saying that there is no such file, but it then remained open. Now, the problem does not reproduce anymore; I can open Umbrello without arguments, and it just runs fine.

Days ago I filed a bug report into KDE's bugzilla (https://bugs.kde.org/show_bug.cgi?id=320264); I will post more info there, as I investigate this issue in more detail. I think that, as a workaround exists to run Umbrello, we can close this bug report, and leave the one at KDE open. I think I cannot close a bug here, so please provide your feeling about this.

Thank you very much (I'm so happy)!!

comment:29 Changed 11 years ago by mkae (Marko Käning)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.