bugGnash - The GNU Flash player - Bugs: bug #17995, gtk+agg segfault (openbsd)

 
 

bug #17995: gtk+agg segfault (openbsd)

Submitted by:  Deanna Phillips <deanna>
Submitted on:  Sat 14 Oct 2006 01:36:00 AM UTC  
 
Category: guiSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Markus Gothe <nihilus>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 17 Oct 2006 04:47:29 PM UTC, comment #4:

Yes, looks fixed today.

12:35:51: GTK-AGG: Create renderer with pixelformat RGBA16
12:35:51: framebuffer pixel format is RGBA16

Thanks.

Deanna Phillips <deanna>
Tue 17 Oct 2006 03:08:44 PM UTC, comment #3:

So, can this be closed now ?

Sandro Santilli <strk>
Project Member
Mon 16 Oct 2006 07:21:21 AM UTC, comment #2:

Regarding those white boxes: this is normal. Videos are just many bitmaps and those are not yet supported by the AGG renderer. Bitmaps are just a special fill style. The AGG backend currently supports only solid fills.

Udo Giacomozzi <udog>
Project Member
Mon 16 Oct 2006 01:10:36 AM UTC, comment #1:

Markus's changes didn't fix the problem, so, at bjacques' suggestion, I rolled them back and then explicitly set the bpp in gtk_glue_agg.cpp to 24 bpp. No more crashing.

Colors and sound and fonts are fine for some simple flash, but I see only boxes or white screen for video-type graphics such as elvis.swf. So I think everything that's marked as finished in the Status: comment at the top of render_handler_agg.cpp is working fine.

Here's the exact change:

--- gtk_glue_agg.cpp.orig Sun Oct 15 19:35:16 2006
+++ gtk_glue_agg.cpp Sun Oct 15 20:52:31 2006
@@ -83,21 +83,22 @@

_width = (_width == -1) ? 0 : _width;
_height = (_height == -1) ? 0 : _height;
- _bpp = gdk_visual_get_best_depth();
+// _bpp = gdk_visual_get_best_depth();
+ _bpp = 24;

}

render_handler*

Deanna Phillips <deanna>
Sat 14 Oct 2006 01:36:00 AM UTC, original submission:

Starting program: /usr/local/bin/gnash elvis.swf
assertion "0" failed: file "render_handler_agg.cpp", line 1360, function "create_render_handler_agg"

Program received signal SIGABRT, Aborted.
[Switching to process 7318, thread 0x87479000]
0x01fa2975 in kill () from /usr/lib/libc.so.39.3
(gdb) bt
#0 0x01fa2975 in kill () from /usr/lib/libc.so.39.3
#1 0x01fdb25b in abort () at /usr/src/lib/libc/stdlib/abort.c:65
#2 0x01f7c1db in __assert2 (file=0x2f28b3a2 "render_handler_agg.cpp", line=1360,
func=0x2f28b1dc "create_render_handler_agg", failedexpr=0x2f28b3d7 "0") at /usr/src/lib/libc/gen/assert.c:52
#3 0x0f29b835 in gnash::create_render_handler_agg(char*) () from /usr/local/lib/libgnashbackend.so.0.0
#4 0x0900294d in gnash::GtkAggGlue::createRenderHandler() () from /usr/local/lib/libgnashgui.so.0.0
#5 0x09000eef in gnash::GtkGui::init(int, char***) () from /usr/local/lib/libgnashgui.so.0.0
#6 0x0a4cfe83 in gnash::Player::run(int, char*, char const, char const*) () from /usr/local/lib/libgnashplayer.so.0.0
#7 0x1c002764 in __register_frame_info ()
#8 0x1c0018d0 in ?? ()
#9 0x00000002 in ?? ()
#10 0xcf7e5e50 in ?? ()
#11 0xcf7e5e5c in ?? ()
#12 0x1c001861 in ?? ()
#13 0xcf7e5fb8 in ?? ()
#14 0xcf7e5e2c in ?? ()
#15 0x1c0015a5 in ?? ()
#16 0x1c0018be in ?? ()
#17 0x00000000 in ?? ()

OpenBSD 4.0

This could well be my agg install; I haven't been able to find any test program for agg whatsoever.

Deanna Phillips <deanna>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 17 Oct 2006 04:58:09 PM UTCnihilusStatusReady For Test=>Fixed
  Open/ClosedOpen=>Closed
Tue 17 Oct 2006 03:08:44 PM UTCstrkCategoryNone=>gui
Mon 16 Oct 2006 01:10:36 AM UTCdeannaCarbon-Copy-=>Added udog
  Carbon-Copy-=>Added bik
Sun 15 Oct 2006 10:44:32 PM UTCnihilusStatusNone=>Ready For Test
  Assigned toNone=>nihilus

Back to the top


Powered by Savane 3.1-cleanup1