Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Rbutil
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Darren Bown - 2008-11-19
Last edited by Marc Guay - 2008-12-30

FS#9563 - RButil 1.0.7 for MacOSX does not appear to be statically linked

System information:
MacBook Pro, Mac OS X 10.5.4

App version:
rbutilqt.app 1.0.7 SVN $Revision 18654 (m1.0.7)

Steps to to reproduce:
Run rbutilqt.app Mac Binary

Expected:
rbutilqt application is launched

Actual:
App crashes with following report:

Process: rbutilqt [5211]
Path: /Applications/rbutilqt.app/Contents/MacOS/rbutilqt
Identifier: com.rockbox.rbutil
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [143]

Date/Time: 2008-11-18 23:00:56.748 +0000
OS Version: Mac OS X 10.5.4 (9E17)
Report Version: 6

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0×0000000000000002, 0×0000000000000000 Crashed Thread: 0

Dyld Error Message:

Library not loaded: /usr/local/Trolltech/Qt-4.4.0/lib/QtGui.framework/Versions/4/QtGui
Referenced from: /Applications/rbutilqt.app/Contents/MacOS/rbutilqt
Reason: image not found
Closed by  Marc Guay
2008-12-30 20:46
Reason for closing:  Fixed
Additional comments about closing:  

Reopen if it happens again

Darren Bown commented on 2008-11-19 14:10

Sytem configuration tab output:

Model: MacBookPro4,1, BootROM MBP41.00C1.B00, 2 processors, Intel Core 2 Duo, 2.5 GHz, 2 GB Graphics: GeForce 8600M GT, GeForce 8600M GT, spdisplays_pcie_device, 512 MB Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8C), Broadcom BCM43xx 1.0 (4.170.46.9)
Bluetooth: Version 2.1.0f17, 2 service, 0 devices, 1 incoming serial ports
Network Service: Powered by launch2net, PPP (PPPSerial), ppp0
Network Service: Parallels Host-Guest, Ethernet, en2
Network Service: Parallels NAT, Ethernet, en3
Serial ATA Device: Hitachi HTS542525K9SA00, 232.89 GB Parallel ATA Device: HL-DT-ST DVDRW GSA-S10N
USB Device: iPod, Apple, high_speed, 500 mA
USB Device: Built-in iSight, Apple Inc., high_speed, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., low_speed, 500 mA
USB Device: Apple Internal Keyboard / Trackpad, Apple, Inc., full_speed, 500 mA
USB Device: HUAWEI Mobile, HUAWEI Technologies, full_speed, 500 mA
USB Device: BCM2045B2, Broadcom, full_speed, 500 mA
USB Device: Bluetooth USB Host Controller, Apple, Inc., full_speed, 500 mA

Dominik Wenger commented on 2008-11-20 21:37

Yes, rbutil for mac is not build statically.
It uses the so called “Frameworks”, which means the needed Qt librarys should be embedded in the rbutilqt.app dir.
I dont know why on your system it tries to use the system Qt librarys, and not the embedded ones.

Maybe you could check if those Qt libs really are somewhere in the rbutilqt.app dir.

Darren Bown commented on 2008-11-22 11:14

rbutilqt.app is dropped into my /Applications directory. I checked the package contents and I can’t see any reference to Qt libraries. I’ve downloaded the same package five times now and the contents are exactly the same every time.

Have I missed a config step?

Dominik Wenger commented on 2008-11-24 21:44

no,

the package should contain Qt libs under:
rbutilqt.app/Contents/Frameworks/QtCore.framework/Versions/4/ and similar.

Unfortunatly i dont know whats wrong on your system.

Tom Ross commented on 2008-11-27 16:09

I just tried this on a brand new Macbook (Macbook4,1 10.5.5) and I was able to use Rbutil to install the bootloader on my iPod 4G just fine.

Darren Bown commented on 2008-11-27 16:54

I checked again for the QT libs and they’re definitely not there.

I’m going to try adding them manually later today, but this is definitely a bug of some sort.

Tom Ross commented on 2008-12-12 06:29

I downloaded rbutilqt-v1.0.7.dmg from download.rockbox.org, mounted it and copied rbutil to my Applications folder. I then attempted to run rbutil and everything worked fine. I checked /rbutil.app/Contents/Frameworks and it includes QtCore.framework, QtGui.framework, and QtNetwork.framework.

Can you attach the exact rbutil you tried using on your Macbook? Does an of the program load or does it crash instantly?

Darren Bown commented on 2008-12-27 13:22

I can’t currenty do this, as Finder is not behaving (rbutilqt is greyout out in the the select file dialogue) and I can’t submit forms in Firefox.

Just to let you know that this issue seems to have been resolved with version 1.0.8

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing