[Mono-list] Problem with worker threads

Elan Feingold efeingold@mn.rr.com
Thu, 27 Feb 2003 12:15:29 -0600


This is a multi-part message in MIME format.

------=_NextPart_000_009B_01C2DE59.EBCB2590
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I'm seeing a lot of these messages (probably one per work task):

 

Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required

in <0x00088> 00 .Worker:End ()

in <0x00068> 00 .Worker:Send ()

in <0x0005b> 01 System.MulticastDelegate:invoke_void ()

 

It looks nice and neat, but it's actually a SEGV:

 

#0  0x08454eec in ?? ()

#1  0x08454e3d in ?? ()

#2  0x083e82b8 in ?? ()

#3  0x080d6521 in start_wrapper (data=0x845f768) at threads.c:180

#4  0x081075de in timed_thread_start_routine (args=0x8455078) at
timed-thread.c:94

#5  0x400c5d0c in GC_start_routine (arg=0x8485440) at
linux_threads.c:1637

#6  0x40101941 in pthread_start_thread () from /lib/i686/libpthread.so.0

 

Any ideas?

 

-elan


------=_NextPart_000_009B_01C2DE59.EBCB2590
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Georgia;
	panose-1:2 4 5 2 5 4 5 2 3 3;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Georgia;
	color:windowtext;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>I&#8217;m seeing a lot of these messages (probably =
one per
work task):</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>Unhandled Exception: System.NullReferenceException: =
A null
value was found where an object instance was required</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>in &lt;0x00088&gt; 00 .Worker:End =
()</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>in &lt;0x00068&gt; 00 .Worker:Send =
()</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>in &lt;0x0005b&gt; 01 =
System.MulticastDelegate:invoke_void
()</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>It looks nice and neat, but it&#8217;s actually a =
SEGV:</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>#0&nbsp; 0x08454eec in ?? ()</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>#1&nbsp; 0x08454e3d in ?? ()</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>#2&nbsp; 0x083e82b8 in ?? ()</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>#3&nbsp; 0x080d6521 in start_wrapper =
(data=3D0x845f768) at
threads.c:180</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>#4&nbsp; 0x081075de in timed_thread_start_routine =
(args=3D0x8455078)
at timed-thread.c:94</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>#5&nbsp; 0x400c5d0c in GC_start_routine =
(arg=3D0x8485440) at
linux_threads.c:1637</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>#6&nbsp; 0x40101941 in pthread_start_thread () from
/lib/i686/libpthread.so.0</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>Any ideas?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DGeorgia><span =
style=3D'font-size:10.0pt;
font-family:Georgia'>-elan</span></font></p>

</div>

</body>

</html>

------=_NextPart_000_009B_01C2DE59.EBCB2590--