Opened 9 years ago

Last modified 8 years ago

#48796 new defect

okular and kspaceduel both crash after successful build/install

Reported by: accounts@… Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: okular

Description

This is OS X 10.10.2 with a recent (last 1-2 days) install of MacPorts 2.3.3

I installed okular @4.14.3_1 (kde, kde4) with the default variants. I first tried installing with the +docs variant (port install okular +docs), but the build failed here, so I did sudo port clean okular and tried again, this time running sudo port install okular which reported success. However, the executable seems to crash immediately after I launch it.

I have the following log entries in my console. The Gestalt selector error seems like it might be important.

9/7/15 7:20:38.203 AM Console[38093]: Failed to connect (_consoleX) outlet from (NSApplication) to (ConsoleX): missing setter or instance variable
9/7/15 7:20:49.728 AM okular[38096]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.2 instead of 10.10.2. Use NSProcessInfo's operatingSystemVersion property to get correct system version number. Call location:
9/7/15 7:20:49.732 AM okular[38096]: 0 CarbonCore 0x00007fff91171d9b ___Gestalt_SystemVersion_block_invoke + 113
9/7/15 7:20:49.732 AM okular[38096]: 1 libdispatch.dylib 0x00007fff94f6bc13 _dispatch_client_callout +8
9/7/15 7:20:49.732 AM okular[38096]: 2 libdispatch.dylib 0x00007fff94f6bb26 dispatch_once_f + 117 9/7/15 7:20:49.732 AM okular[38096]: 3 CarbonCore 0x00007fff9111a3ca _Gestalt_SystemVersion + 987 9/7/15 7:20:49.733 AM okular[38096]: 4 CarbonCore 0x00007fff91119fb7 Gestalt + 144
9/7/15 7:20:49.733 AM okular[38096]: 5 QtCore 0x00000001100f31aa _ZN16QSettingsPrivate6createEN9QSettings6FormatENS0_5ScopeERK7QStringS5_ + 74
9/7/15 7:20:49.733 AM okular[38096]: 6 QtCore 0x00000001100d4202 _ZN9QSettingsC1ERK7QStringS2_P7QObject + 34
9/7/15 7:20:51.260 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.oneshot.0x10000027.okular[38096]) Service exited with abnormal code: 253 

Reproducible: Always Steps to Reproduce:

  1. sudo port install okular
  2. launch okular
  3. okular crashes

Actual Results: Bouncy okular icon which then stops bouncing. Expected Results: Okular launches successfully.

In case it helps, I'll add that after installing kspaceduel, I get the same behavior with the latter application too.

As for https://guide.macports.org/#project.tickets "Is the problem an application error and not related to compiling and installing? In general, application bugs should be reported to the developers of the app (“upstream”), not MacPorts. An application bug that affects a large number of MacPorts users might merit a MacPorts bug for informational purposes only, but this should be done sparingly."...

Please see https://bugs.kde.org/show_bug.cgi?id=352379

Change History (3)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to nicos@…
Port: okular added

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers okular), if any.

comment:2 Changed 9 years ago by NicosPavlov

I can't reproduce the issues reported, and the fact that you describe two applications lead me to think that the issue is not directly with the applications. Did you perform the steps to let KDE programs launch as described in the notes of kdelibs4?

port notes kdelibs4

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

An agent to provide communication between KDE programs must be started. To start it run the following command:

launchctl load -w /Library/LaunchAgents/org.macports.kdecache.plist

comment:3 Changed 8 years ago by NicosPavlov

Is the issue reported in the ticket still present after following the steps indicated above?

Note: See TracTickets for help on using tickets.