google-code-export / google-gadgets-for-linux

Automatically exported from code.google.com/p/google-gadgets-for-linux
0 stars 0 forks source link

ggl crash when remove the "Facebook" gadget. #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add gadget - Facebook
2. remove it
3. ggl abort.

Please use labels and text to provide additional information.

The error message showes, it may because we lack support ActiveXObject.
So address the problem, we should either disallow user to add these kind of
gadgets or provide a dummy ActiveXObject?

 02:35.569:
../../../../extensions/curl_xml_http_request/curl_xml_http_request.cc:124:
XMLHttpRequest: ChangeState from 1 to 2 this=0xf1f01d88
02:35.569:
../../../../extensions/curl_xml_http_request/curl_xml_http_request.cc:124:
XMLHttpRequest: ChangeState from 2 to 3 this=0xf1f01d88
02:35.569:
../../../../extensions/curl_xml_http_request/curl_xml_http_request.cc:124:
XMLHttpRequest: ChangeState from 3 to 4 this=0xf1f01d88
02:35.569: ../../../../hosts/simple/simple_gtk_host.cc:306: ERROR: Script
error: plugin.js:335: ReferenceError: ActiveXObject is not defined
02:38.540: ../../../../ggadget/gtk/view_widget_binder.cc:507: Ignores the
leave notify: 1 3
02:40.013: ../../../../ggadget/gtk/view_widget_binder.cc:525: Ignores the
enter notify: 2 3
02:40.609: ../../../../ggadget/gtk/view_widget_binder.cc:507: Ignores the
leave notify: 1 3
02:41.358: ../../../../ggadget/gtk/view_widget_binder.cc:525: Ignores the
enter notify: 2 3
02:43.578: ../../../../ggadget/gtk/single_view_host.cc:227:
SingleViewHost::EnableInputShapeMask(true)
04:08.482: ../../../../extensions/default_options/default_options.cc:304:
Flush options file: profile://options/global-options.xml
04:27.836: ../../../../ggadget/gtk/single_view_host.cc:227:
SingleViewHost::EnableInputShapeMask(false)
04:27.874: ../../../../extensions/default_options/default_options.cc:304:
Flush options file: profile://options/gadget-10.xml
04:37.445: ../../../../ggadget/gtk/view_widget_binder.cc:151: Button press 1
04:37.772: ../../../../ggadget/gtk/view_widget_binder.cc:212: Button release 1
04:37.773: ../../../ggadget/memory_options.cc:31: option inst_status.3
changed to INT64:5
04:37.773: ../../../ggadget/memory_options.cc:31: option inst_status.10
changed to VOID
04:37.774: ../../../ggadget/memory_options.cc:31: option inst_gadget_id.10
changed to VOID
04:37.774: ../../../../ggadget/gtk/single_view_host.cc:488: View window is
going to be hidden.
04:37.774: ../../../../ggadget/gtk/view_widget_binder.cc:117: Handler
composited-changed was not connected.
04:37.774: ../../../../ggadget/gtk/single_view_host.cc:621: SingleViewHost
Dtor: 0xf1f3e650
04:37.775: ../../../../ggadget/gtk/cairo_graphics.cc:92: Delete
CairoGraphics: 0xf1f7d050
04:37.775: ../../../../ggadget/gtk/cairo_graphics.cc:50: CairoGraphics
image statistics(new/shared): local 1/0; global 52/0 remain local 0 global 0
04:37.777: ../../../../ggadget/gtk/cairo_graphics.cc:92: Delete
CairoGraphics: 0xf1f7d0c0
04:37.777: ../../../../ggadget/gtk/cairo_graphics.cc:50: CairoGraphics
image statistics(new/shared): local 17/23; global 52/0 remain local 5 global 0
04:37.777: ../../../../ggadget/gtk/cairo_graphics.cc:58: !!! Image leak:
UI/icons/event.gif
04:37.777: ../../../../ggadget/gtk/cairo_graphics.cc:58: !!! Image leak:
UI/icons/friend.gif
04:37.777: ../../../../ggadget/gtk/cairo_graphics.cc:58: !!! Image leak:
UI/icons/group.gif
04:37.777: ../../../../ggadget/gtk/cairo_graphics.cc:58: !!! Image leak:
UI/icons/mail.gif
04:37.778: ../../../../ggadget/gtk/cairo_graphics.cc:58: !!! Image leak:
UI/icons/poke.gif
lt-ggl-simple: ../../../../ggadget/gtk/cairo_graphics.cc:62:
ggadget::gtk::CairoGraphics::Impl::~Impl(): Assertion `image_map_.empty()'
failed.
./ggl-simple.sh: line 9:  2954 Aborted                 /bin/sh
../../libtool --mode=execute $MEMCHECK_COMMAND
/home/luoyx/gglinux/trunk/build/debug/hosts/simple/ggl-simple $@
browser_child: Ping failed, exiting...

Original issue reported on code.google.com by Luo.Bey...@gmail.com on 8 May 2008 at 9:14

GoogleCodeExporter commented 9 years ago
It's nothing to do with ActiveX. It's an assertion failure, because of leaked 
images.

I'll address this issue when implementing ImageCache.

Original comment by james...@gmail.com on 8 May 2008 at 9:39

GoogleCodeExporter commented 9 years ago

Original comment by james...@gmail.com on 14 May 2008 at 12:42