bugGnash - The GNU Flash player - Bugs: bug #23620, Segfault when maximizing window

 
 

bug #23620: Segfault when maximizing window

Submitted by:  Benjamin Wolsey <bwy>
Submitted on:  Tue 17 Jun 2008 02:37:57 PM UTC  
 
Category: gui-gtkSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Bastiaan Jacques <bjacques>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 20 Jun 2008 05:35:42 PM UTC, comment #5:

I'll close this, as odd GTK bugs are probably to do with bug #23624 (and possibly bug #23477)

Benjamin Wolsey <bwy>
Project Member
Tue 17 Jun 2008 05:48:42 PM UTC, comment #4:

I can't reproduce that, and I tried for a few minutes.

Benjamin Wolsey <bwy>
Project Member
Tue 17 Jun 2008 05:35:41 PM UTC, comment #3:

I get an interesting behaviour (didn't check without the patch).
If I go to 'fullscreen' and then get back, the gui window
I'm allowed to set to any size, including 0x0.
When going 0x0 and growing back I sometime only see black
and have to go to 0x0 and grow back again to show something.
Is like a peek-a-boo game. Fun.

Sandro Santilli <strk>
Project Member
Tue 17 Jun 2008 05:25:51 PM UTC, comment #2:

The patch fixes it.

Benjamin Wolsey <bwy>
Project Member
Tue 17 Jun 2008 05:16:29 PM UTC, comment #1:

Since you can reliably reproduce this, could you please test the attached patch?

(file #15860)

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Tue 17 Jun 2008 02:37:57 PM UTC, original submission:

I would guess this is from the expose event change in gtk. strk mentioned something about getting a segfault occasionally when resizing the window, but I can reproduce this every time.

#0 0x00002b631defea90 in std::basic_streambuf<char, std::char_traits<char> >::setbuf () from /usr/lib64/libgdk-x11-2.0.so.0
#1 0x00002b631df02224 in std::basic_streambuf<char, std::char_traits<char> >::setbuf () from /usr/lib64/libgdk-x11-2.0.so.0
#2 0x00002b631df029a3 in gdk_draw_rgb_image () from /usr/lib64/libgdk-x11-2.0.so.0
#3 0x0000000000440422 in gnash::GtkAggGlue::render (this=<value optimized out>, minx=0, miny=0, maxx=<value optimized out>, maxy=<value optimized out>)
at /home/benjamin/Download/gnash/gui/gtk_glue_agg.cpp:542
#4 0x0000000000442896 in gnash::GtkGui::expose (this=0x70bfb0, region=<value optimized out>) at /home/benjamin/Download/gnash/gui/gtk.cpp:843
#5 0x00000000004428e0 in gnash::GtkGui::expose_event (event=<value optimized out>, data=0x2aaaaac21000) at /home/benjamin/Download/gnash/gui/gtk.cpp:1733
#6 0x00002b631da7029f in std::basic_streambuf<char, std::char_traits<char> >::setbuf () from /usr/lib64/libgtk-x11-2.0.so.0
#7 0x00002b631e38f2ff in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
#8 0x00002b631e3a243b in std::basic_streambuf<char, std::char_traits<char> >::setbuf () from /usr/lib64/libgobject-2.0.so.0
#9 0x00002b631e3a3b76 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#10 0x00002b631e3a4213 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#11 0x00002b631db77855 in std::basic_streambuf<char, std::char_traits<char> >::setbuf () from /usr/lib64/libgtk-x11-2.0.so.0
#12 0x00002b631da6a4b2 in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0

Benjamin Wolsey <bwy>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #15860:  gtk-agg-crashfix.diff added by bjacques (1KiB - text/x-patch - proposed patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by bjacques (Updated the item)
  • -unavailable- added by bwy (Submitted the item)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 Jun 2008 05:35:42 PM UTCbwyOpen/ClosedOpen=>Closed
    Tue 17 Jun 2008 05:44:20 PM UTCbjacquesStatusConfirmed=>Fixed
    Tue 17 Jun 2008 05:16:29 PM UTCbjacquesAttached File-=>Added gtk-agg-crashfix.diff, #15860
    Tue 17 Jun 2008 04:43:02 PM UTCbjacquesStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1