After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 557780 - Missing support for depth == 1 in gdk_image_new_for_depth()
Missing support for depth == 1 in gdk_image_new_for_depth()
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: Quartz
2.14.x
Other Mac OS
: Normal normal
: ---
Assigned To: gtk-quartz maintainers
gtk-bugs
: 557781 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-10-24 15:33 UTC by FX
Modified: 2018-05-02 14:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the assertion failure when starting Freeciv 2.5.0's gtk2 client (2.11 KB, patch)
2015-07-03 20:48 UTC, Daniel Trebbien
none Details | Review

Description FX 2008-10-24 15:33:14 UTC
Steps to reproduce:
1. Download the Gtk+ OS X framework, install it.
2. Download and unpack the freeciv-2.1.6 source code from their web page: http://prdownloads.sourceforge.net/freeciv/freeciv-2.1.6.tar.bz2?download
3. Compile freeciv as follows:

export PKG_CONFIG_PATH=/Library/Frameworks/GLib.framework/Resources/dev/lib/pkgconfig:/Library/Frameworks/Cairo.framework/Resources/dev/lib/pkgconfig:/Library/Frameworks/Gtk.framework/Resources/dev/lib/pkgconfig
./configure --without-readline --prefix=/tmp/freeciv
make && make install

4. Run the resulting binary: /tmp/freeciv/bin/civclient

5. The output says:
Gdk:ERROR:gdkimage-quartz.c:250:_gdk_image_new_for_depth: assertion failed: (depth == 24 || depth == 32)
zsh: abort      /tmp/freeciv/bin/civclient

6. The application crashed and open Mac OS's crash reporter.

Stack trace:
This is the stack from the 


Process:         civclient [92240]
Path:            /tmp/freeciv/bin/civclient
Identifier:      civclient
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  zsh [180]

Date/Time:       2008-10-24 17:31:09.462 +0200
OS Version:      Mac OS X 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   libSystem.B.dylib             	0x96abbb9e __kill + 10
1   libSystem.B.dylib             	0x96b32ec2 raise + 26
2   libSystem.B.dylib             	0x96b4247f abort + 73
3   libglib-2.0.0.dylib           	0x00421e1a g_test_trap_assertions + 0 (gtestutils.c:1724)
4   libglib-2.0.0.dylib           	0x00422326 g_test_run_suite_internal + 0 (gtestutils.c:1160)
5   libgdk-quartz-2.0.0.dylib     	0x00d8417e _gdk_image_new_for_depth + 98 (gdkimage-quartz.c:252)
6   libgdk-quartz-2.0.0.dylib     	0x00d8430c _gdk_quartz_image_copy_to_image + 262 (gdkimage-quartz.c:46)
7   libgdk-quartz-2.0.0.dylib     	0x00d610d1 gdk_drawable_copy_to_image + 425 (gdkdraw.c:1072)
8   libgdk-quartz-2.0.0.dylib     	0x00d6bbe0 gdk_pixmap_copy_to_image + 176 (gdkpixmap.c:510)
9   libgdk-quartz-2.0.0.dylib     	0x00d610d1 gdk_drawable_copy_to_image + 425 (gdkdraw.c:1072)
10  libgdk-quartz-2.0.0.dylib     	0x00d6132c gdk_drawable_real_get_image + 69 (gdkdraw.c:1188)
11  libgdk-quartz-2.0.0.dylib     	0x00d612a8 gdk_drawable_get_image + 404 (gdkdraw.c:1165)
12  civclient                     	0x000f0eed sprite_get_pixbuf + 221 (sprite.c:349)
13  civclient                     	0x000f1069 crop_sprite + 121 (sprite.c:58)
14  civclient                     	0x000325bf load_sprite + 479 (tilespec.c:1743)
15  civclient                     	0x0003a8b0 tileset_load_tiles + 1216 (tilespec.c:2050)
16  civclient                     	0x000d1d83 ui_main + 1523
17  civclient                     	0x0000772e main + 894 (civclient.c:407)
18  civclient                     	0x00001cb6 start + 54

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x96b4243f  ecx: 0xbfffe4bc  edx: 0x96abbb9e
  edi: 0x00d8f7e4  esi: 0x02862890  ebp: 0xbfffe4d8  esp: 0xbfffe4bc
   ss: 0x0000001f  efl: 0x00000286  eip: 0x96abbb9e   cs: 0x00000007
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x00407223

Binary Images:
    0x1000 -   0x110fef +civclient ??? (???) <500cfc395e0850a76d2dd260d887b9c0> /tmp/freeciv/bin/civclient
  0x284000 -   0x284ffd +org.gtk.glib.framework 2.18 (2.18) <94fc04620d4eb44c58666be7369fe4ce> /Library/Frameworks/GLib.framework/GLib
  0x287000 -   0x287ffd +org.gtk.framework 2.14 (2.14) <547e574f74a5bb83c2c4a415985c0206> /Library/Frameworks/Gtk.framework/Gtk
  0x39b000 -   0x39bffd +org.cairographics.framework 1.7.4 (1.7.4) <2d9055cc5a0c93c05de0aca47510f59a> /Library/Frameworks/Cairo.framework/Cairo
  0x39e000 -   0x3a7ff3 +libintl.8.dylib ??? (???) <f4390e416d1ed4076e3df8d51be41345> /Library/Frameworks/GLib.framework/Libraries/libintl.8.dylib
  0x3d5000 -   0x48efe7 +libglib-2.0.0.dylib ??? (???) <e2a7f501a5f88bfd7064b4f18571611d> /Library/Frameworks/GLib.framework/Libraries/libglib-2.0.0.dylib
  0x687000 -   0x6d3fec +libgio-2.0.0.dylib ??? (???) <58a8247f1b59daacb0060959b26a4a65> /Library/Frameworks/GLib.framework/Libraries/libgio-2.0.0.dylib
  0x819000 -   0x84dff7 +libgobject-2.0.0.dylib ??? (???) <53a9a4dcf5c39f473c6ebc2dc065dad4> /Library/Frameworks/GLib.framework/Libraries/libgobject-2.0.0.dylib
  0x8e0000 -   0x8e3ffd +libgmodule-2.0.0.dylib ??? (???) <c8ebe25c8e89850a4b9f5842ac996ab8> /Library/Frameworks/GLib.framework/Libraries/libgmodule-2.0.0.dylib
  0x8f6000 -   0x8f9ffd +libgthread-2.0.0.dylib ??? (???) <3980740d5c4e24625e6edfcf6636aa26> /Library/Frameworks/GLib.framework/Libraries/libgthread-2.0.0.dylib
  0x90c000 -   0x929fef +libpng12.0.dylib ??? (???) <6c8363551ee35b8160f699aa9197351e> /Library/Frameworks/Gtk.framework/Libraries/libpng12.0.dylib
  0x969000 -   0x99bff7 +libpango-1.0.0.dylib ??? (???) <95c5f96522d3a82865d603b9a79bbbd4> /Library/Frameworks/Gtk.framework/Libraries/libpango-1.0.0.dylib
  0xa30000 -   0xa39fff +libpangocairo-1.0.0.dylib ??? (???) <9a4a8ce80a2f3cc8bec430bd05fdf086> /Library/Frameworks/Gtk.framework/Libraries/libpangocairo-1.0.0.dylib
  0xc83000 -   0xc94fe3 +libatk-1.0.0.dylib ??? (???) <811faa76875ca5cc63a21cc55f5f03c6> /Library/Frameworks/Gtk.framework/Libraries/libatk-1.0.0.dylib
  0xcee000 -   0xd00fff +libgdk-pixbuf-2.0.0.dylib ??? (???) <11cf3ca40242ad1417d21d5d8d8bc461> /Library/Frameworks/Gtk.framework/Libraries/libgdk-pixbuf-2.0.0.dylib
  0xd59000 -   0xdb6feb +libgdk-quartz-2.0.0.dylib ??? (???) <362215cb078cf87b811aa5028eecfc83> /Library/Frameworks/Gtk.framework/Libraries/libgdk-quartz-2.0.0.dylib
 0x1309000 -  0x1612fef +libgtk-quartz-2.0.0.dylib ??? (???) <37975c7a9bf8ff4ff327b80871a0460d> /Library/Frameworks/Gtk.framework/Libraries/libgtk-quartz-2.0.0.dylib
 0x1f50000 -  0x1f58fff +libigemacintegration.0.dylib ??? (???) <d755e21b145cd0d6fa5c98150babb318> /Library/Frameworks/Gtk.framework/Libraries/libigemacintegration.0.dylib
 0x221e000 -  0x2272fe3 +libcairo.2.dylib ??? (???) <a7192d02bc536afe0bd4b6cabb9d9981> /Library/Frameworks/Gtk.framework/Libraries/libcairo.2.dylib
 0x240d000 -  0x243efe7 +libpixman-1.0.dylib ??? (???) <76b498205b8fc8219a7c5f0c3edfc3d7> /Library/Frameworks/Gtk.framework/Libraries/libpixman-1.0.dylib
 0x24ac000 -  0x24b5ff3 +libintl.8.dylib ??? (???) <f4390e416d1ed4076e3df8d51be41345> /Library/Frameworks/Gtk.framework/Libraries/libintl.8.dylib
 0x24e3000 -  0x2500fef +libpng12.0.dylib ??? (???) <6c8363551ee35b8160f699aa9197351e> /Library/Frameworks/Cairo.framework/Libraries/libpng12.0.dylib
 0x2540000 -  0x2571fe7 +libpixman-1.0.dylib ??? (???) <76b498205b8fc8219a7c5f0c3edfc3d7> /Library/Frameworks/Cairo.framework/Libraries/libpixman-1.0.dylib
 0x25df000 -  0x2633fe3 +libcairo.2.dylib ??? (???) <a7192d02bc536afe0bd4b6cabb9d9981> /Library/Frameworks/Cairo.framework/Libraries/libcairo.2.dylib
 0x2900000 -  0x290bfff +com.rogueamoeba.audio_hijack_server.hermes 2.1.0 (2.1.0) <e08236a80b0ec2745be3ea6f13534b33> /usr/local/hermes/modules/Instant Hijack Server.hermesmodule/Contents/MacOS/Instant Hijack Server
 0x2b00000 -  0x2b03ffc +libpixbufloader-png.so ??? (???) <da744704ce1948361373f3806d55800a> /Library/Frameworks/Gtk.framework/Resources/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
 0x2d71000 -  0x2d9afeb +libclearlooks.so ??? (???) <aa7209c4b993d2c305a7bb0031fb111e> /Library/Frameworks/Gtk.framework/Resources/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
0x8fe00000 - 0x8fe2da53  dyld 96.2 (???) <c254337fa28c7eacb3d3e1d56aa141a4> /usr/lib/dyld
0x90053000 - 0x900defff  com.apple.framework.IOKit 1.5.1 (???) <324526f69e1443f2f9fb722cc88a23ec> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x900df000 - 0x90116fff  com.apple.SystemConfiguration 1.9.2 (1.9.2) <8b26ebf26a009a098484f1ed01ec499c> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x90160000 - 0x901ddfef  libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x901de000 - 0x90302fe3  com.apple.audio.toolbox.AudioToolbox 1.5.1 (1.5.1) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x90303000 - 0x90321fff  libresolv.9.dylib ??? (???) <a8018c42930596593ddf27f7c20fe7af> /usr/lib/libresolv.9.dylib
0x90400000 - 0x9041fffa  libJPEG.dylib ??? (???) <e7eb56555109e23144924cd64aa8daec> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x90420000 - 0x90501ff7  libxml2.2.dylib ??? (???) <1baef3d4972ee789d8fa6c1fa44da45c> /usr/lib/libxml2.2.dylib
0x90502000 - 0x9050dfe7  libCSync.A.dylib ??? (???) <86d2f2e167ba6f74f45a186f5c7f8980> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x9050e000 - 0x905d5ff2  com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x905d6000 - 0x90632ff7  com.apple.htmlrendering 68 (1.1.3) <a9f65fa1c4668dc7c49af5bf7d5287ad> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x90684000 - 0x90a94fef  libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x90dee000 - 0x90df7fff  com.apple.speech.recognition.framework 3.7.24 (3.7.24) <6a6518b392d3d41ace3dcea69d6809d9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x90e23000 - 0x90e7cff7  libGLU.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x90e7d000 - 0x90f01fe3  com.apple.CFNetwork 339.5 (339.5) <c6565c13b0356e1d4bb99a68398d558b> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x90f02000 - 0x90f02ffa  com.apple.CoreServices 32 (32) <2760719f7a81e8c2bdfd15b0939abc29> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90f18000 - 0x90f61fef  com.apple.Metadata 10.5.2 (398.22) <a6b676925dd832780daf991e79adfebd> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x90f62000 - 0x915fefff  com.apple.CoreGraphics 1.351.33 (???) <481a77e81d9e53589a05e80cfa90bbb5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x918a5000 - 0x920a2fef  com.apple.AppKit 6.5.3 (949.34) <4c7af9b12c894d4a528fda29377f143b> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x920a3000 - 0x92155ffb  libcrypto.0.9.7.dylib ??? (???) <69bc2457aa23f12fa7d052601d48fa29> /usr/lib/libcrypto.0.9.7.dylib
0x92156000 - 0x92156ffd  com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x92157000 - 0x92184feb  libvDSP.dylib ??? (???) <b232c018ddd040ec4e2c2af632dd497f> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x92185000 - 0x92185fff  com.apple.Carbon 136 (136) <ec1d4184925e652dbe1b9200a5a552ec> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x921d1000 - 0x926a2f3e  libGLProgrammability.dylib ??? (???) <fe1a33d4919c121aab831ad516da6a89> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x929c6000 - 0x929d3fe7  com.apple.opengl 1.5.7 (1.5.7) <db835aeb1ffca9f5b5647dd0829a5b2c> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x92a06000 - 0x92a80ff8  com.apple.print.framework.PrintCore 5.5.3 (245.3) <222dade7b33b99708b8c09d1303f93fc> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x92a81000 - 0x92a83fff  com.apple.securityhi 3.0 (30817) <020419ad33b8638b174e1a472728a894> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x92a84000 - 0x92a94ffc  com.apple.LangAnalysis 1.6.4 (1.6.4) <8b7831b5f74a950a56cf2d22a2d436f6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x92a95000 - 0x92ad4fef  libTIFF.dylib ??? (???) <3589442575ac77746ae99ecf724f5f87> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x92ad5000 - 0x92ae3ffd  libz.1.dylib ??? (???) <545ca09467025f77131cfac09d8b9375> /usr/lib/libz.1.dylib
0x92af0000 - 0x92af7fe9  libgcc_s.1.dylib ??? (???) <28a7cbc3a5ca2982d124668306f422d9> /usr/lib/libgcc_s.1.dylib
0x92af9000 - 0x92b0dff3  com.apple.ImageCapture 4.0 (5.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92b4e000 - 0x92c80fff  com.apple.CoreFoundation 6.5.4 (476.15) <e2869ad6dc1dd289f21b305b0bea9158> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x92c81000 - 0x92dc7ff7  com.apple.ImageIO.framework 2.0.4 (2.0.4) <6a6623d3d1a7292b5c3763dcd108b55f> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x92e21000 - 0x92e21ffd  com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x9308b000 - 0x9308dff5  libRadiance.dylib ??? (???) <8a844202fcd65662bb9ab25f08c45a62> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x930fc000 - 0x931f0ff4  libiconv.2.dylib ??? (???) <3f183527811098bb7332f67a1f902bfd> /usr/lib/libiconv.2.dylib
0x931f1000 - 0x933bffff  com.apple.security 5.0.4 (34102) <3a178df3d2ee0bb65cdbfe570618acf4> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x933c0000 - 0x93447ff7  libsqlite3.0.dylib ??? (???) <6978bbcca4277d6ae9f042beff643f7d> /usr/lib/libsqlite3.0.dylib
0x93448000 - 0x93448ffc  com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x9355a000 - 0x93566ffe  libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x93567000 - 0x93567ff8  com.apple.ApplicationServices 34 (34) <e9cd7c823062c4382d89e3c9997f4739> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x93568000 - 0x93568ffb  com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallServer
0x93569000 - 0x93591fff  libcups.2.dylib ??? (???) <1031ca5b692b80a9568e57a342b60157> /usr/lib/libcups.2.dylib
0x93592000 - 0x935ecff7  com.apple.CoreText 2.0.3 (???) <1f1a97273753e6cfea86c810d6277680> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x935ed000 - 0x93603fe7  com.apple.CoreVideo 1.5.1 (1.5.1) <001910004257f1386724398f584b30b5> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x93618000 - 0x936e3fff  com.apple.ColorSync 4.5.1 (4.5.1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x936e4000 - 0x936e4ffd  com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x936e5000 - 0x93714fe3  com.apple.AE 402.2 (402.2) <e01596187e91af5d48653920017b8c8e> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x93715000 - 0x937c5fff  edu.mit.Kerberos 6.0.12 (6.0.12) <da7253e3fb7e47e46cb46d47ed320ffc> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x937c6000 - 0x93b84fea  libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x93b85000 - 0x93e8cfff  com.apple.HIToolbox 1.5.4 (???) <5e2af960b53059c648af4adb99471032> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x93e8e000 - 0x93e92fff  libGIF.dylib ??? (???) <572a32e46e33be1ec041c5ef5b0341ae> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x955bf000 - 0x955c0ffc  libffi.dylib ??? (???) <596e0dbf626b211741cecaa9698f271b> /usr/lib/libffi.dylib
0x955d3000 - 0x955d8fff  com.apple.CommonPanels 1.2.4 (85) <3b64ef0de184d09c6f99a1a7e77e42be> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x955e9000 - 0x955f0ffe  libbsm.dylib ??? (???) <5582985a86ea36504cca31788bccf963> /usr/lib/libbsm.dylib
0x955f1000 - 0x955f4fff  com.apple.help 1.1 (36) <175489f8adf287b3ebd259362b0292c0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x955f5000 - 0x95688ff3  com.apple.ApplicationServices.ATS 3.4 (???) <a96cd91dabc68545183c11de8f92c7e4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x95689000 - 0x956a1fff  com.apple.openscripting 1.2.8 (???) <572c7452d7e740e8948a5ad07a99602b> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x95771000 - 0x957fbfe3  com.apple.DesktopServices 1.4.7 (1.4.7) <d16642ba22c32f67be793ebfbe67ca3a> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x957fc000 - 0x95b99fe7  com.apple.QuartzCore 1.5.5 (1.5.5) <82435993614a3fff1236be18f82188bf> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x95b9a000 - 0x95c19ff5  com.apple.SearchKit 1.2.1 (1.2.1) <3140a605db2abf56b237fa156a08b28b> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x95cc9000 - 0x95cd9fff  com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <06d8fc0307314f8ffc16f206ad3dbf44> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x95cda000 - 0x95d81feb  com.apple.QD 3.11.54 (???) <b743398c24c38e581a86e91744a2ba6e> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x95f11000 - 0x95f15fff  libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x95f16000 - 0x95fd0fe3  com.apple.CoreServices.OSServices 226.5 (226.5) <2a135d4fb16f4954290f7b72b4111aa3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x95fd1000 - 0x95fd9fff  com.apple.DiskArbitration 2.2.1 (2.2.1) <75b0c8d8940a8a27816961dddcac8e0f> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x9601a000 - 0x960a6ff7  com.apple.LaunchServices 290 (290) <61af37aac50984d220dd176f777e3b72> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x960a7000 - 0x961dfff7  libicucore.A.dylib ??? (???) <3d8fdaf51c2664ab620f1688203caf26> /usr/lib/libicucore.A.dylib
0x961e0000 - 0x964baff3  com.apple.CoreServices.CarbonCore 786.6 (786.6) <5682aae1e2cf5ae750d5a4dea98c084c> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x965a0000 - 0x9681bfe7  com.apple.Foundation 6.5.6 (677.21) <5cfa0aa8b9b43193955d601ba6c2591a> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x9681c000 - 0x968fcfff  libobjc.A.dylib ??? (???) <7b92613fdf804fd9a0a3733a0674c30b> /usr/lib/libobjc.A.dylib
0x9690a000 - 0x96920fff  com.apple.DictionaryServices 1.0.0 (1.0.0) <7e9ff586b5c9d02b09e2a5527d98524f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x96921000 - 0x9693cffb  libPng.dylib ??? (???) <4780e979d35aa5ec2cea22678836cea5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x9693d000 - 0x969b9feb  com.apple.audio.CoreAudio 3.1.0 (3.1) <be7120e91df91425e904d5327b4338b7> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x969ba000 - 0x969fcfef  com.apple.NavigationServices 3.5.2 (163) <91844980804067b07a0b6124310d3f31> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x969fd000 - 0x96a3efe7  libRIP.A.dylib ??? (???) <1f09316e876fe813271bdfb9eb5b229e> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x96a4c000 - 0x96bacff3  libSystem.B.dylib ??? (???) <3699b292cde73c2847f87c7e1510d87b> /usr/lib/libSystem.B.dylib
0x96bad000 - 0x96bd8fe7  libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib
0x96c46000 - 0x96ca3ffb  libstdc++.6.dylib ??? (???) <6106b1f2b0b303b06ae476253dbb5f3f> /usr/lib/libstdc++.6.dylib
0x96ca4000 - 0x96cf4ff7  com.apple.HIServices 1.7.0 (???) <f7e78891a6d08265c83dca8e378be1ea> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x96cf5000 - 0x96d88fff  com.apple.ink.framework 101.3 (86) <dfa9debcd7537849d228021d1d9c0f63> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x96d89000 - 0x96dadfff  libxslt.1.dylib ??? (???) <ea5c8d349a3934ecc2b936f9cdfaba04> /usr/lib/libxslt.1.dylib
0x96dae000 - 0x96daeff8  com.apple.Cocoa 6.5 (???) <e9318c93615b27231498bbe585b8da98> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x96dba000 - 0x96dc0fff  com.apple.print.framework.Print 218.0.2 (220.1) <8bf7ef71216376d12fcd5ec17e43742c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x96dc1000 - 0x96dfffff  libGLImage.dylib ??? (???) <f0fe2252f6b1ca341bc7837fe2dcf11a> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x96e29000 - 0x96f0eff3  com.apple.CoreData 100.1 (186) <8e28162ef2288692615b52acc01f8b54> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x96f0f000 - 0x96f19feb  com.apple.audio.SoundManager 3.9.2 (3.9.2) <caa41909dcb5a18a94bc68cd13999bd5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x96f1a000 - 0x96f54fe7  com.apple.coreui 1.2 (62) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0xfffe8000 - 0xfffebfff  libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

The gdb backtrace is a little different:

Program received signal SIGABRT, Aborted.
0x96abbb9e in __kill ()
(gdb) where
  • #0 __kill
  • #1 kill\$UNIX2003
  • #2 raise
  • #3 abort
  • #4 g_assertion_message
  • #5 g_assertion_message_expr
    at gtestutils.c line 1312
  • #6 _gdk_image_new_for_depth
    at gdkimage-quartz.c line 250
  • #7 _gdk_quartz_image_copy_to_image
    at gdkimage-quartz.c line 46
  • #8 gdk_drawable_copy_to_image
    at gdkdraw.c line 1072
  • #9 gdk_pixmap_copy_to_image
    at gdkpixmap.c line 506
  • #10 gdk_drawable_copy_to_image
    at gdkdraw.c line 1072
  • #11 gdk_drawable_real_get_image
    at gdkdraw.c line 1187
  • #12 gdk_drawable_get_image
    at gdkdraw.c line 1165
  • #13 gdk_pixbuf_new_from_pixmap_sprite [inlined]
    at sprite.c line 349
  • #14 sprite_get_pixbuf
    at sprite.c line 384
  • #15 crop_sprite
    at sprite.c line 58
  • #16 load_sprite
    at tilespec.c line 1743
  • #17 tileset_lookup_sprite_tags [inlined]
    at tilespec.c line 2050
  • #18 tileset_load_tiles
    at tilespec.c line 2504
  • #19 ui_main
    at gui_main.c line 1430
  • #20 main
    at civclient.c line 404


Other information:
Comment 1 Christian Persch 2008-10-24 17:30:32 UTC
*** Bug 557781 has been marked as a duplicate of this bug. ***
Comment 2 Richard Hult 2008-11-03 13:32:27 UTC
What happens is that the image implementation which only supports 24 and 32 bit depth images currently hits an assertion to ensure that. So, what needs doing is to add support for 1 bit. I dont think I will look at this in the near future but if someone wants to help out, the code in question is in quartz/gdkimage-quartz.c. It should be fairly easy I think.

Comment 3 Daniel Trebbien 2015-07-03 20:48:35 UTC
Created attachment 306776 [details] [review]
Patch to fix the assertion failure when starting Freeciv 2.5.0's gtk2 client
Comment 4 Daniel Trebbien 2015-07-03 20:50:13 UTC
(In reply to Daniel Trebbien from comment #3)
> Created attachment 306776 [details] [review] [review]
> Patch to fix the assertion failure when starting Freeciv 2.5.0's gtk2 client

Note that this patch is against tags/2.24.28
Comment 5 Matthias Clasen 2015-07-08 17:50:10 UTC
needs review / testing from somebody working on os x.
Comment 6 Emmanuel Stapf 2016-07-10 12:10:08 UTC
I think that my proposed fix from bug https://bugzilla.gnome.org/show_bug.cgi?id=757187  to support 1-bit images would fix this better.
Comment 7 Matthias Clasen 2018-02-10 04:56:32 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 8 FX 2018-02-10 07:48:14 UTC
The bug is still there, but I can only change the status from NEEDINFO to RESOLVED, not OPEN :(
Comment 9 John Ralls 2018-02-10 15:43:58 UTC
I've changed it to NEW for you.
Comment 10 GNOME Infrastructure Team 2018-05-02 14:36:05 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/303.