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

 
 

bug #23620: Segfault when maximizing window

Submitter:  Benjamin Wolsey <bwy>
Submitted:  Tue 17 Jun 2008 02:37:57 PM UTC
   
 
Category:  gui-gtk Severity:  3 - Normal
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  bjacques
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group Member
Tue 17 Jun 2008 05:25:51 PM UTC, comment #2: 

The patch fixes it.

Benjamin Wolsey <bwy>
Group 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>
Group Member
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>
Group Member

 

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

Attach Files:
   
   
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
  • -email is unavailable- added by strk (Posted a comment)
  • -email is unavailable- added by bjacques (Updated the item)
  • -email is unavailable- added by bwy (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-20 bwy Open/ClosedOpen Closed
    2008-06-17 bjacques StatusConfirmed Fixed
    2008-06-17 bjacques Attached File- Added gtk-agg-crashfix.diff, #15860
    2008-06-17 bjacques StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code