Bug 300881 - segfault with sample program (and others)
Summary: segfault with sample program (and others)
Keywords:
Status: CLOSED DUPLICATE of bug 205499
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-python2-extras
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-21 17:54 UTC by Colin Walters
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-10-03 02:41:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
gdb session (5.54 KB, text/plain)
2007-09-21 17:54 UTC, Colin Walters
no flags Details

Description Colin Walters 2007-09-21 17:54:40 UTC
Description of problem:

Using the sample program from gnome-python2-gtkmozembed causes a segfault inside
Mozilla.

Version-Release number of selected component (if applicable):
gnome-python2-gtkmozembed-2.14.3-4.fc7

How reproducible:
Every time

Steps to Reproduce:
1. Copy example program from
file:///usr/share/gtk-doc/html/pygtkmozembed/class-gtkmozembed.html into a file
2. Execute file
  
Actual results:
segfault

Expected results:
browser

Additional info:

This is also reproducible on current Rawhide.

Comment 1 Colin Walters 2007-09-21 17:54:40 UTC
Created attachment 202651 [details]
gdb session

Comment 2 Matthew Barnes 2007-10-03 02:35:36 UTC
Confirmed; NULL pointer dereference.

EmbedPrivate::Realize (this=0x9e122f0, aAlreadyRealized=0xbfa93e68)
    at EmbedPrivate.cpp:257

(gdb) l
252
253       // Create our session history object and tell the navigation object
254       // to use it.  We need to do this before we create the web browser
255       // window.
256       mSessionHistory = do_CreateInstance(NS_SHISTORY_CONTRACTID);
257       mNavigation->SetSessionHistory(mSessionHistory);
258
259       // create the window
260       mWindow->CreateWindow();
261
(gdb) p mNavigation
$1 = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}

Comment 3 Matthew Barnes 2007-10-03 02:41:27 UTC

*** This bug has been marked as a duplicate of 205499 ***


Note You need to log in before you can comment on or make changes to this bug.