#29924 closed defect (worksforme)
Qt Designer (qt4-mac 2.7.3) crash
Reported by: | jamesfmarshall@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | qt4-mac |
Description (last modified by jmroot (Joshua Root))
Qt Designer crashed when I started it.
The crash log is attached.
This is what I see in the console:
6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaColorPanelDelegate is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QMacSoundDelegate is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaPanel is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaView is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaWindow is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaWindowDelegate is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaMenuLoader is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QNSApplication is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaApplicationDelegate is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaWindowCustomThemeFrame is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaToolBarDelegate is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaMenu is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QNSOpenSavePanelDelegate is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaFontPanelDelegate is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QNSWindowProxy is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QNSPanelProxy is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaPageLayoutDelegate is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QCocoaPrintPanelDelegate is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QNSMenu is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QNSStatusItem is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:54 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QNSImageView is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:55 AM [0x0-0x12a12a].com.trolltech.Designer[7209] objc[7209]: Class QNSListener is implemented in both /opt/local/share/qt4/plugins/bearer/libqcorewlanbearer.dylib and /opt/local/share/qt4/plugins/bearer/libqcorewlanbearer_debug.dylib. One of the two will be used. Which one is undefined. 6/24/11 11:52:56 AM [0x0-0x12a12a].com.trolltech.Designer[7209] QWidget: Must construct a QApplication before a QPaintDevice 6/24/11 11:52:59 AM com.apple.launchd.peruser.501[117] ([0x0-0x12a12a].com.trolltech.Designer[7209]) Job appears to have crashed: Abort trap 6/24/11 11:52:59 AM ReportCrash[7212] Saved crash report for Designer[7209] version ??? (???) to /Users/Jimbo/Library/Logs/DiagnosticReports/Designer_2011-06-24-115259_mb-osx.crash
Attachments (1)
Change History (13)
Changed 13 years ago by jamesfmarshall@…
Attachment: | Designer_2011-06-24-115259_mb-osx.crash added |
---|
comment:1 Changed 13 years ago by jmroot (Joshua Root)
Cc: | michaelld removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to michaelld@… |
Port: | qt4-mac added |
Priority: | High → Normal |
Please remember to preview and use WikiFormatting, and fill in the Port field. Bare usernames do not work in the Cc field, you have to use complete email addresses. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members.
comment:2 Changed 13 years ago by jamesfmarshall@…
I thought that this might be a version selection issue, so I downloaded qt4_select and tried to use it. This is what I saw:
/Users/Jimbo
$ qt4_select -s
none
/Users/Jimbo
$ qt4_select -l
Available versions:
none
/Users/Jimbo
$ qt4_select -n qt4-mac
version "qt4-mac" is invalid!
Users/Jimbo
$ qt4_select -n qt4-mac debug
version "qt4-mac" is invalid!
/Users/Jimbo
$ qt4_select -n debug
version "debug" is invalid!
This is what port info says about qt4-mac:
$ port info qt4-mac
qt4-mac @4.7.3 (aqua)
Variants: (+)debug, demos, examples, framework, mysql, odbc, psql83,
psql84, psql90, psql91, [+]quartz, raster, sqlite2, (+)universal
...
comment:3 Changed 13 years ago by jamesfmarshall@…
And also:
/Users/Jimbo
$ sudo port select qt4-mac
Password:
Warning: Unable to get active selected version: The specified group 'qt4-mac' does not exist.
Error: The 'list' command failed: The specified group 'qt4-mac' does not exist.
/Users/Jimbo
$ port variants qt4-mac
qt4-mac has the variants:
(+)debug: Build both release and debug library
demos: Build demos
examples: Build examples
framework: Build as Frameworks
mysql: Enable MySQL SQL Driver
odbc: Enable iODBC SQL Driver
psql83: Enable Postgre SQL Driver version 8.3
- conflicts with psql84 psql90 psql91
psql84: Enable Postgre SQL Driver version 8.4
- conflicts with psql83 psql90 psql91
psql90: Enable Postgre SQL Driver version 9.0
- conflicts with psql83 psql84 psql91
psql91: Enable Postgre SQL Driver version 9.1
- conflicts with psql83 psql84 psql90
[+]quartz: Build for Native OSX Quartz GUI, not X11 (default)
raster: Use raster graphics system by default
sqlite2: Enable SQLite version 2 SQL Driver
(+)universal: Build for multiple architectures
I have +universal +debug in variants.conf .
I have universal_archs x86_64 i386 in macports.conf .
comment:4 Changed 13 years ago by jamesfmarshall@…
I figured out it should be qt4, not qt4-mac:
/Users/Jimbo
$ sudo port select qt4
Password:
Available versions for qt4:
none (active)
comment:5 follow-up: 6 Changed 13 years ago by michaelld (Michael Dickens)
Selecting for qt4 does not work. qt4-devel is pretty old, and probably will not work correctly with qt-creator latest version, so deactivate it if you have it active. Just having qt4 installed should do the trick.
comment:6 Changed 13 years ago by jamesfmarshall@…
Replying to michaelld@…:
Selecting for qt4 does not work. qt4-devel is pretty old, and probably will not work correctly with qt-creator latest version, so deactivate it if you have it active. Just having qt4 installed should do the trick.
qt4-mac is the only version I have ever installed on this computer. I have never installed the -devel version on this computer.
comment:7 follow-up: 8 Changed 13 years ago by michaelld (Michael Dickens)
If you execute qt-creator again, does it continue to crash? There's a known issue with qt4 and KDE that apps often crash the first time but then work after that. Don't know why, and I don't have time to explore a solution just right now. That's what I just tried with 2.1.0, and it crashed first then worked the second time. Minor inconvenience overall, though of course I wish it did work the first time. I did not explore my crash log. I haven't tried with 2.2.1 yet.
comment:8 Changed 13 years ago by jamesfmarshall@…
Replying to michaelld@…:
If you execute qt-creator again, does it continue to crash? There's a known issue with qt4 and KDE that apps often crash the first time but then work after that....
qt-designer. Yes, it opened without crashing the second and third times I tried.
I'm installing qt-creator now. I'll see if it behaves the same way.
What about the console messages that "Class XXX is implemented in both /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib. One of the two will be used. Which one is undefined"? I mistakenly thought qt_select dealt with that. Am I supposed to choose between them (define which is used) in some other way?
comment:9 Changed 13 years ago by michaelld (Michael Dickens)
Yes, Designer first; good to try Creator as well. Both do the exact same for me, as you're experiencing. The "Class XXX" message is displayed by OSX's DYLD code, and isn't part of Qt, designer, or creator.
The debug libraries were installed via "port install qt4-mac +debug"; if you re-install without the "+debug" variant, you'll get just standard libraries and this warning message will not be printed.
The old qt4-select was meant to select between the standard and devel versions, whether using +debug or not; I need to get rid of it some day.
So it sounds like these programs are working for you, just like they do for me? This is par for the course right now, so, while I'd love to have them working the first time, I don't see this as an issue major enough to warrant a ticket. Are you OK with closing it?
comment:10 Changed 13 years ago by jamesfmarshall@…
Creator did not crash the first time I started it.
Yes, this ticket can be closed.
comment:11 Changed 13 years ago by michaelld (Michael Dickens)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Thanks for your prompt replies!
Crash log for Qt Designer (qt4-mac 2.7.3)