zhou2057 / npapi-sdk

Automatically exported from code.google.com/p/npapi-sdk
0 stars 0 forks source link

Plugin compiles but plugin error when loaded #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. simple make Linux BasicPlugin r6 on fresh check out
2. Load Html 

<!--
    Auto-generated test-site
-->
<html>
<head>
<title>test page for object</title>
</head>
    <script type="text/javascript">

    </script>
<body onload="">
<object id="plugin0" type="application/basic-plugin" width="300" height="300">
</object><br />

</body>
</html>

The error produced is:

1) Black screen in pluginarea.
2) Console print:

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_gc_new: assertion `drawable 
!= NULL' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_gc_set_rgb_fg_color: 
assertion `GDK_IS_GC (gc)' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_draw_rectangle: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_gc_set_rgb_fg_color: 
assertion `GDK_IS_GC (gc)' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_gc_set_values: assertion 
`GDK_IS_GC (gc)' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_draw_rectangle: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_draw_layout: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

(plugin-container:16151): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed

(plugin-container:16151): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_gc_new: assertion `drawable 
!= NULL' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_gc_set_rgb_fg_color: 
assertion `GDK_IS_GC (gc)' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_draw_rectangle: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_gc_set_rgb_fg_color: 
assertion `GDK_IS_GC (gc)' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_gc_set_values: assertion 
`GDK_IS_GC (gc)' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_draw_rectangle: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

(plugin-container:16151): Gdk-CRITICAL **: IA__gdk_draw_layout: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

(plugin-container:16151): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed

(plugin-container:16151): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed

What operating system are you compiling on?
 Firefox 18 on Linux Mint 14

Original issue reported on code.google.com by ami...@gmail.com on 29 Jan 2013 at 3:11