---------- Forwarded message ---------- From: gtk+ (bugzilla.gnome.org) <[EMAIL PROTECTED]> Date: Tue, Jul 15, 2008 at 9:41 PM Subject: [Bug 543217] New: GTK application crashed with directfb backend To: [EMAIL PROTECTED]
If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=543217 gtk+ | directfb | Ver: 2.12.x Summary: GTK application crashed with directfb backend Product: gtk+ Version: 2.12.x Platform: Other OS/Version: All Status: UNCONFIRMED Severity: critical Priority: Normal Component: directfb AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] GNOME version: Unversioned Enhancement GNOME milestone: Unspecified Steps to reproduce: 1. Using SDL as directfb's backend; 2. run any gtk app; 3. it caught signal 11, when gtk_init(); Stack trace: None Other information: I checked the code, and it crashed due to: _gdk_visual_init () in gdkvisual-directfb.c for (i = 0, c = 0; i < G_N_ELEMENTS (formats); i++) { IDirectFBSurface *src; DFBAccelerationMask acc; desc.flags = DSDESC_WIDTH | DSDESC_HEIGHT | DSDESC_PIXELFORMAT; desc.width = 8; desc.height = 8; desc.pixelformat = formats[i]; //call direct so fail silently is ok if (_gdk_display->directfb->CreateSurface (_gdk_display->directfb, &desc, &src) != DFB_OK) continue; visuals[i] = gdk_directfb_visual_create (formats[i]); dest->GetAccelerationMask (dest, src, &acc); if (acc & DFXL_BLIT || formats[i] == dlc.pixelformat) { system_visual = GDK_VISUAL (visuals[c]); <--Here is the bug, it should be 'i' not 'c' for array offset c++; } src->Release (src); } -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=543217. _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev