Opened 17 years ago
Closed 16 years ago
#7213 closed defect (fixed)
Entering setup causes ASSERT: "hdc" in file image\qnativeimage.cpp, line 106 when using Terra
| Reported by: | Owned by: | robertm | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.24 |
| Component: | Ports - Windows | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
mythfrontend on windows crashes when trying to enter Setup > Setup when using Terra with the following message:
ASSERT: "hdc" in file image\qnativeimage.cpp, line 106
Attached are the log file and the gdb trace.
Attachments (3)
Change History (12)
by , 17 years ago
| Attachment: | mythtv-frontend.log added |
|---|
comment:1 by , 17 years ago
| Component: | MythTV - General → Ports - Windows |
|---|---|
| Owner: | changed from to |
comment:2 by , 17 years ago
comment:3 by , 17 years ago
| Milestone: | 0.22 → 0.22.1 |
|---|
comment:4 by , 17 years ago
FYI, this assert is generated when Qt attempts to allocate GDI objects >10k, which is the limit enforced by Win XP/Vista.
Upcoming Qt 4.6 resolves this issue. When built with Qt 4.6.0-rc1, mythfrontend shows vastly reduced GDI usage, and the Terra theme works correctly.
comment:5 by , 16 years ago
| Milestone: | 0.22.1 → 0.24 |
|---|
Once we start using Qt 4.6 on windows this ticket can be closed.
follow-up: 7 comment:6 by , 16 years ago
| Status: | new → assigned |
|---|
Anyone want to patch the windows build script to use 4.6 so we can get this one closed?
by , 16 years ago
| Attachment: | 7213-w32pkgr-qt46.patch.gz added |
|---|
Update win32 packager script to Qt 4.6.3 - gzipped due to spam filter
comment:7 by , 16 years ago
Replying to robertm:
Anyone want to patch the windows build script to use 4.6 so we can get this one closed?
Attaching what I use...
Patch updates the Windows build script to use Qt 4.6.3 and MinGW-gcc 4.4.0. The gcc update is necessitated by DW2 exception handling dependencies in the pre-compiled Qt 4.6.x binaries.
MinGW-gcc is installed using the Qt-supplied bundle because the MinGW-Installer is outdated/depreciated, and its replacement (mingw-get) is still in early alpha.
Patch also adds imageformat plugin installation (for channel icons), lzma archive support (for MinGW components), and some chdir tweaks (for multi-drive environments).
Note that the patched script assumes a clean machine and makes no attempt to handle upgrading of an old MinGW environment. I.e. /mingw and /msys should be deleted before running the new script.
comment:8 by , 16 years ago
| Owner: | changed from to |
|---|
comment:9 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
(In [25856]) Windows Port: Numerous fixes from Jeff Lu, Jonatan Maartens, and Myself to the Windows build script. Makes the build script fully functional without hunting down broken links as of August 25, 2010. Updates Qt to 4.6.3, SVN to 1.6.12, taglib to 1.6.1, and a few others I'm probably forgetting. Fixes #7213. Fixes #8186.

Just checked using Graphite and I can perfectly alter setting in setup, so I think the issue is somewhere in the Terra files as when I retry with Terra I still get the error (just tested on trunk r22237)