Bug in ORBit? (Was: Can't get applets into panel)
- From: Robin Ericsson <rnen algonet se>
- To: gnome-list gnome org
- Subject: Bug in ORBit? (Was: Can't get applets into panel)
- Date: Mon, 21 Sep 1998 22:15:20 +0200 (MET DST)
On 21-Sep-98 Roland Dreier wrote:
[snip]
> REQUEST_ID
> got winid: 54526480
>
> GLib-ERROR **: could not allocate 1073870716 bytes
> aborting...
[snip
Glib could not allocate 134580748 bytes.
And I can understand that Glib couln't allocate that. :) I first though it
was something with gnome-libs or gnome-core, but then I got a coredump
from
webcontrol_applet and this is backtrace of that...
#0 0x4042fc65 in __kill ()
#1 0x403feae5 in raise ()
#2 0x4005fc0a in g_log (log_domain=0x400695ca "GLib",
log_level=G_LOG_LEVEL_ERROR,
format=0x4006949d "could not allocate %ld bytes") at gmessages.c:327
#3 0x4005ed3b in g_malloc (size=134580748) at gmem.c:135
#4 0x40029fb8 in ORBit_alloc (block_size=134580736, freefunc=0, func_data=0x0)
at allocators.c:75
#5 0x400425ed in CORBA_octet_allocbuf (len=134580736) at sequences.c:18
#6 0x400413fe in ORBit_POA_allocate_oid (poa=0x8058a00,
basis=0x40019178 "IDL:GNOME/Applet:1.0") at orbit_poa.c:503
#7 0x4003fe40 in PortableServer_POA_activate_object (obj=0x8058a00,
p_servant=0x4001a1d0, ev=0x4001a9cc) at poa.c:576
#8 0x4000ff83 in gnome_panel_applet_register (widget=0x8058c80, applet_id=2)
at orbit-applet-lib.c:493
#9 0x400117ab in applet_widget_add (applet=0x8058c80, widget=0x8058880)
at applet-widget.c:407
#10 0x804a6ae in create_widget () at webcontrol.c:145
#11 0x804aba6 in main (argc=1, argv=0xbffff948) at webcontrol.c:277
#12 0x804a18e in ___crt_dummy__ ()
Looking at this it seems that ORBit_POA_allocate_oid is that one setting
how much memory to allocate. Checking that functions leeds to an
conclusion from my side. It defines int len; but never sets an value and
when callsCORBA_octet_allocbuf with that.
I might be alot wrong here, but shouldn't len be set to something here
before using it?
---
''~``
( o o )
+-[Web - http://lobbin.ml.org/-------.oooO--(_)--Oooo.-------------+
| Robin Ericsson - System Administrator - HTML/PERL/C Hacker |
~| Implementor of the mud The Shadow Rising - Soon to be open |
+-[eMail - lobbin@lobbin.ml.org]-----------------------------------+
-- How about a fortune?
There once was a man from Nantee
Who buggered an ape in a tree.
The results were most horrid
All ass and no forehead
Three balls and a purple goatee.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]