[Mono-bugs] [Bug 330660] New: Running out of memory in geometry_from_str

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 4 04:27:34 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=330660

           Summary: Running out of memory in geometry_from_str
           Product: Moonlight
           Version: unspecified
          Platform: i686
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: xaml
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: dna at informatik.uni-kiel.de
         QAContact: mono-bugs at ximian.com
          Found By: ---


I'm using Moonlight 1.0/1.1 svn head rev 86800 on Ubuntu feisty.
My computer is a Pentium M 1,6 Ghz with 512 MB ram.

Why i try to visit http://silverlight.net i'm running out of momory:


13608 dna       18   0 1201m 205m 2420 D  6.0 43.6   0:20.26 firefox-bin

load average: 57.35, 21.45, 8.14
Cpu(s):  3.0%us, 75.8%sy, 19.9%ni,  0.0%id,  0.0%wa,  0.7%hi,  0.7%si,  0.0%st
Mem:    482544k total,   475408k used,     7136k free,       16k buffers
Swap:  1220920k total,  1217596k used,     3324k free,    14864k cached

And my computer is knocked out. Other pages, for example the Quickstart
Mediaplayer on my own page works well.

I discussed this with toshok on irc, his comments:

<toshok> so it seems like something in geometry_from_str is causing the
problems
<toshok> presumably due to you running out of physical ram :)
<dna> is there any reason to eat so much ram ? ;)
<toshok> it shouldn't be - the paths aren't that large
<toshok> the first one in the xaml I downloaded, for instance is only 9964
bytes

GDB session:

firefox -debug
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) r
Starting program: /usr/lib/firefox/firefox-bin -a firefox
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1221416096 (LWP 13608)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1225004144 (LWP 13613)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1235457136 (LWP 13614)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1257297008 (LWP 13618)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1267139696 (LWP 13619)]
[New Thread -1275532400 (LWP 13620)]
[New Thread -1283925104 (LWP 13621)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1296524400 (LWP 13624)]
[New Thread -1304917104 (LWP 13625)]
[Thread -1304917104 (LWP 13625) exited]
[New Thread -1313309808 (LWP 13626)]
[Thread -1313309808 (LWP 13626) exited]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1313309808 (LWP 13628)]
[New Thread -1304917104 (LWP 13629)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1324037232 (LWP 13633)]
(no debugging symbols found)
[New Thread -1333789808 (LWP 13666)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
(no debugging symbols found)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
(no debugging symbols found)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
(no debugging symbols found)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
version requested = 0.90.0
Destroying the surface: (nil), plugin: 0x8a1ded0
version requested = 0.90
Destroying the surface: (nil), plugin: 0x8fd3308
Moonlight-Message: *** creating window2 (682,439,289,250)
PluginXamlLoader::TryLoad, filename: /tmp/plugtmp-1/stream.aspx, str: (null)

Program received signal SIGINT, Interrupt.
[Switching to Thread -1221416096 (LWP 13608)]
0xb76e21ec in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) where
#0  0xb76e21ec in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0x00000000 in ?? ()
(gdb) c
Continuing.
[Thread -1267139696 (LWP 13619) exited]
[Thread -1275532400 (LWP 13620) exited]
[Thread -1257297008 (LWP 13618) exited]
[Thread -1283925104 (LWP 13621) exited]
[Thread -1324037232 (LWP 13633) exited]

Program received signal SIGINT, Interrupt.
0xb76e1cac in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) where
#0  0xb76e1cac in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0xb76e37c1 in memalign () from /lib/tls/i686/cmov/libc.so.6
#2  0xb76e360e in malloc () from /lib/tls/i686/cmov/libc.so.6
#3  0xb75242c6 in g_malloc () from /usr/lib/libglib-2.0.so.0
#4  0xaf83c5b8 in Value (this=0xb77b8158, v=@0xb77b8158) at value.cpp:91
#5  0xaf80c148 in DependencyObject::SetValue (this=0x261b6d68,
property=0x8fe5cc8, value=0xbf953b40) at dependencyobject.cpp:194
#6  0xaf809fff in DependencyObject::SetValue (this=0x261b6d68,
property=0x8fe5cc8, value=@0xbf953b40) at dependencyobject.cpp:224
#7  0xaf840d32 in geometry_from_str (
    str=0x90aead0 "M0.29882821,12.883907 L3.4033203,12.883907
L9.9941406,31.759884 C10.204427,32.368607 10.364909,33.071407
10.475586,33.868282 L10.541992,33.868282 C10.630536,33.204212
10.813152,32.490349 11.089844,31."...) at xaml.cpp:1549
#8  0xaf84251a in dependency_object_set_attributes (p=0x90d4000,
item=0x90ae900, attr=0x8f756e8) at xaml.cpp:2624
#9  0xaf844487 in start_element (data=0x90d4000, el=0x90aa0d0 "Path",
attr=0x8f756e8) at xaml.cpp:743
#10 0xaf844788 in start_element_handler (data=0x90d4000, el=0x90a2658
"http://schemas.microsoft.com/client/2007|Path", attr=0x8f756e8) at
xaml.cpp:863
#11 0xb733459c in ?? () from /usr/lib/libexpat.so.1
#12 0xb733506d in ?? () from /usr/lib/libexpat.so.1
#13 0xb732e79b in XML_ParseBuffer () from /usr/lib/libexpat.so.1
#14 0xb7330752 in XML_Parse () from /usr/lib/libexpat.so.1
#15 0xaf843a2a in xaml_create_from_file (loader=0x8f7be80, xaml_file=0x8f75d00
"/tmp/plugtmp-1/stream.aspx", create_namescope=true, element_type=0xbf954638)
    at xaml.cpp:1096
#16 0xafdbf760 in PluginXamlLoader::TryLoad (this=0x8f7be80, error=0xbf95466c)
at plugin.cpp:893
#17 0xafdbf8f7 in PluginInstance::TryLoad (this=0x8fe9388) at plugin.cpp:488
#18 0xafdbfa46 in PluginInstance::StreamAsFile (this=0x8fe9388,
stream=0x9032100, fname=0x8f75ce0 "/tmp/plugtmp-1/stream.aspx") at
plugin.cpp:589
#19 0xafdc10a1 in NPP_StreamAsFile (instance=0xb77b8160, stream=0x9032100,
fname=0x8f75ce0 "/tmp/plugtmp-1/stream.aspx") at plugin-glue.cpp:86
#20 0xb092ad74 in ?? () from /usr/lib/firefox/components/libgkplugin.so
#21 0x08fe92dc in ?? ()
#22 0x09032100 in ?? ()
#23 0x08f75ce0 in ?? ()
#24 0xb7d9f33d in PR_AtomicIncrement () from /usr/lib/libnspr4.so
#25 0xb092ddf9 in ?? () from /usr/lib/firefox/components/libgkplugin.so
#26 0x090320e0 in ?? ()
#27 0x090322c8 in ?? ()
#28 0x08f75ce0 in ?? ()
#29 0xb7e35680 in ?? () from /usr/lib/firefox/libxpcom_core.so
#30 0x090dc064 in ?? ()
#31 0xb7e7fa64 in ?? () from /usr/lib/firefox/libxpcom_core.so
#32 0xbf954720 in ?? ()
#33 0xb7e3655a in ?? () from /usr/lib/firefox/libxpcom_core.so
#34 0xb7e7f248 in ?? () from /usr/lib/firefox/libxpcom_core.so
#35 0x08f75ce0 in ?? ()
#36 0x0000001a in ?? ()
#37 0x00010005 in ?? ()
#38 0x0000003f in ?? ()
#39 0xbf954738 in ?? ()
#40 0xbf954700 in ?? ()
#41 0xb7dfd013 in nsQueryInterface::operator() () from
/usr/lib/firefox/libxpcom_core.so
#42 0xb093688e in ?? () from /usr/lib/firefox/components/libgkplugin.so
#43 0x09032268 in ?? ()
#44 0x090dc060 in ?? ()
#45 0xb77b8120 in ?? () from /lib/tls/i686/cmov/libc.so.6
#46 0x00000098 in ?? ()
#47 0x00000020 in ?? ()
#48 0xbf9547fc in ?? ()
#49 0xbf9547f8 in ?? ()
---Type <return> to continue, or q <return> to quit---
#50 0xbf9547f4 in ?? ()
#51 0xbf9547f0 in ?? ()
#52 0xbf9547ec in ?? ()
#53 0xbf9547d8 in ?? ()
#54 0xb7e54014 in ?? () from /usr/lib/firefox/libxpcom_core.so
#55 0x090b3d20 in ?? ()
#56 0x00000dfe in ?? ()
#57 0x00000000 in ?? ()
(gdb)


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list