<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType name="place"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="PersonName"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>
st1\:*{behavior:url(#default#ieooui) }
</STYLE>
<![endif]-->
<STYLE>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* 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:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=blue link=blue bgColor=white>
<DIV><FONT size=2>Before you start debugging, I already know quite precisely
where it hangs. It hangs in packet.dll in some COM-related calls related to Wan
Adapters. That's why I was asking if XPCOM uses COM on windows. There is
not a fix to these issues (the problem is inside some microsoft component), but
rather workarounds to the application using WinPcap...</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>That's why I was asking for an application to reproduce the
issue</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=manie@ti.com href="mailto:manie@ti.com">E, Manivannan</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, September 23, 2009 5:19
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Winpcap-users]
pcap_findalldevs_ex hangs inside java process</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">XPCOM doesn’t use COM
internally. Anyway creating a test application to reproduce the hang is
getting complicated. So I plan to debug the issue myself; currently I am
having some issues in building the Winpcap dlls in VC6 once that done you can
expect some result. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Mani<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <A
href="mailto:winpcap-users-bounces@winpcap.org">winpcap-users-bounces@winpcap.org</A>
[mailto:winpcap-users-bounces@winpcap.org] <B><SPAN
style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Gianluca Varenni<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tuesday, September 22, 2009 9:00
PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> <st1:PersonName
w:st="on">winpcap-users@winpcap.org</st1:PersonName><BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Winpcap-users]
pcap_findalldevs_ex hangs inside java
process</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=2><SPAN
style="FONT-SIZE: 10pt">I'm not familiar with XPCOM. Does it use COM
internally under Windows?</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=2><SPAN
style="FONT-SIZE: 10pt">Have a nice day</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=2><SPAN
style="FONT-SIZE: 10pt">GV</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<BLOCKQUOTE
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message -----
<o:p></o:p></SPAN></FONT></P></DIV>
<DIV style="font-color: black">
<P class=MsoNormal style="BACKGROUND: #e4e4e4"><B><FONT face=Arial
size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</SPAN></FONT></B><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A
title=manie@ti.com href="mailto:manie@ti.com">E, Manivannan</A>
<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><B><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</SPAN></FONT></B><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A
title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A>
<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><B><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sent:</SPAN></FONT></B><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
Tuesday, September 22, 2009 7:16 AM<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><B><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</SPAN></FONT></B><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Re:
[Winpcap-users] pcap_findalldevs_ex hangs inside java
process<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Guys,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">
I tried to create a test application to reproduce the issue. I used JNI and
called my test bench which intern opened the dll & called
pcap_findalldevs_ex. In the test application pcap_findalldevs_ex didn’t hang
and everything worked fine. Later I spoke to my colleagues and figured out
that we use XPCOM to interface between Java API & C++ debugger. I
haven’t created a test application using XPCOM yet & would take some
time for me. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Meanwhile does
anyone aware of pcap_findalldevs_ex hang issue while using XPCOM on command
line?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Regards,
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Mani<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
winpcap-users-bounces@winpcap.org [mailto:winpcap-users-bounces@winpcap.org]
<B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Mark
Bednarczyk<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday,
September 21, 2009 10:21 PM<BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> <st1:PersonName
w:st="on">winpcap-users@winpcap.org</st1:PersonName><BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Winpcap-users]
pcap_findalldevs_ex hangs inside java
process</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P><FONT face="Times New Roman" size=2><SPAN
style="FONT-SIZE: 10pt"> Mani,<BR> we use pcap_findalldevs_ex in
our java project and we have no problem within java VM. There are thousands
of users using our project and it has never come up as a problem. Our
internal tests with findalldev_ex work as well. Its an open source project,
so you are welcome to take a look at the source and how we use
it.<BR><BR><A href="http://jnetpcap.com">http://jnetpcap.com</A><BR><BR>here
is the link to the relavent C source file that implements the<A
href="http://jnetpcap.svn.sourceforge.net/viewvc/jnetpcap/jnetpcap/trunk/src/c/winpcap_ext.cpp?view=markup">
findalldevs_ex as a java wrapper</A>. The findalldevs_ex code starts around
line 750.<BR><BR>Cheers,<BR>mark...<BR><BR>> -----Original
Message-----<BR>> From: winpcap-users-bounces@winpcap.org<BR>> [<A
href="mailto:winpcap-users-bounces@winpcap.org">mailto:winpcap-users-bounces@winpcap.org</A>]
On Behalf Of E, Manivannan<BR>> Sent: Thursday, September 17, 2009 6:17
AM<BR>> To: <st1:PersonName
w:st="on">winpcap-users@winpcap.org</st1:PersonName><BR>> Subject: Re:
[Winpcap-users] pcap_findalldevs_ex hangs inside<BR>> java
process<BR>><BR>> I don’t see the “pcap_findalldevs_ex” hang issue on
<st1:place w:st="on">Vista</st1:place> and<BR>> it work properly. We want
this application to run on XP as<BR>> our machines are predominantly
XP.<BR>><BR>> <BR>><BR>> Regards,<BR>><BR>>
Mani<BR>><BR>> <BR>><BR>>
________________________________<BR>><BR>> From:
winpcap-users-bounces@winpcap.org<BR>> [<A
href="mailto:winpcap-users-bounces@winpcap.org">mailto:winpcap-users-bounces@winpcap.org</A>]
On Behalf Of<BR>> Gianluca Varenni<BR>> Sent: Wednesday, September 16,
2009 3:06 AM<BR>> To: <st1:PersonName
w:st="on">winpcap-users@winpcap.org</st1:PersonName><BR>> Subject: Re:
[Winpcap-users] pcap_findalldevs_ex hangs inside<BR>> java
process<BR>><BR>> <BR>><BR>> Does the same issue happen on
<st1:place
w:st="on">Vista</st1:place>?<BR>><BR>> <BR>><BR>> Have a
nice day<BR>><BR>> GV<BR>><BR>>
----- Original Message -----<BR>><BR>>
From: E, Manivannan <<A
href="mailto:manie@ti.com">mailto:manie@ti.com</A>> <BR>><BR>>
To: <st1:PersonName
w:st="on">winpcap-users@winpcap.org</st1:PersonName><BR>><BR>>
Sent: Friday, September 11, 2009 9:55
AM<BR>><BR>> Subject: Re:
[Winpcap-users] pcap_findalldevs_ex hangs<BR>> inside java
process<BR>><BR>> <BR>><BR>>
I am using Window XP with
SP2.<BR>><BR>> <BR>><BR>>
Regards,<BR>><BR>>
Mani<BR>><BR>>
<BR>><BR>>
<BR>>
________________________________<BR>><BR>><BR>>
From:
winpcap-users-bounces@winpcap.org<BR>> [<A
href="mailto:winpcap-users-bounces@winpcap.org">mailto:winpcap-users-bounces@winpcap.org</A>]
On Behalf Of<BR>> Gianluca Varenni<BR>>
Sent: Friday, September 11, 2009 10:19 PM<BR>>
To: <st1:PersonName
w:st="on">winpcap-users@winpcap.org</st1:PersonName><BR>>
Subject: Re: [Winpcap-users]
pcap_findalldevs_ex hangs<BR>> inside java process<BR>><BR>>
<BR>><BR>>
Which version of Windows are you
using?<BR>><BR>> <BR>><BR>>
Have a nice day<BR>><BR>>
GV<BR>><BR>>
----- Original Message -----<BR>><BR>>
From: E, Manivannan <<A
href="mailto:manie@ti.com">mailto:manie@ti.com</A>> <BR>><BR>>
To: <st1:PersonName
w:st="on">winpcap-users@winpcap.org</st1:PersonName><BR>><BR>>
Sent: Friday, September 11, 2009 9:28 AM<BR>><BR>>
Subject: Re: [Winpcap-users]<BR>> pcap_findalldevs_ex hangs inside java
process<BR>><BR>>
<BR>><BR>>
I
am not using java wrapper. I am using the<BR>> winpcap lib inside C++
code which is built as a dll. Eclipse<BR>> env is used as IDE mainly for
user interface. When used in<BR>> with eclipse GUI, the
pcap_findalldevs_ex doesn’t hang but<BR>> hangs when execute on
command-line.<BR>><BR>>
<BR>><BR>>
Regards,<BR>><BR>>
Mani<BR>><BR>>
<BR>><BR>>
<BR>>
________________________________<BR>><BR>><BR>>
From: winpcap-users-bounces@winpcap.org<BR>> [<A
href="mailto:winpcap-users-bounces@winpcap.org">mailto:winpcap-users-bounces@winpcap.org</A>]
On Behalf Of<BR>> Gianluca Varenni<BR>>
Sent: Friday, September 11, 2009
9:14 PM<BR>>
To: <st1:PersonName
w:st="on">winpcap-users@winpcap.org</st1:PersonName><BR>>
Subject: Re: [Winpcap-users]<BR>> pcap_findalldevs_ex hangs inside java
process<BR>><BR>>
<BR>><BR>>
Are you using any of the jave wrapper already<BR>> available for
WinPcap?<BR>><BR>>
<BR>><BR>>
Have a nice day<BR>><BR>>
GV<BR>><BR>>
----- Original Message
-----<BR>><BR>>
From: E, Manivannan <<A
href="mailto:manie@ti.com">mailto:manie@ti.com</A>> <BR>><BR>>
To: <st1:PersonName
w:st="on">winpcap-users@winpcap.org</st1:PersonName><BR>><BR>>
Sent: Friday, September 11, 2009
1:06 AM<BR>><BR>>
Subject: [Winpcap-users]<BR>>
pcap_findalldevs_ex hangs inside java process<BR>><BR>>
<BR>><BR>>
Hi,<BR>><BR>>
I am
using the Winpcap lib in<BR>> eclipse (Java) environment and
“pcap_findalldevs_ex” work<BR>> fine return all the devices but when I
use eclipse directly<BR>> Java in command line-mode i.e. in command
prompt then<BR>> “pcap_findalldevs_ex” hangs, never return whether it
failed<BR>> or passed. I suspected the “Remote Capture Service” is
not<BR>> getting started, so I tried enabling the service manually
&<BR>> tried but still the “pcap_findalldevs_ex” hangs. Any clues
on<BR>> what’s going wrong here?<BR>><BR>>
<BR>><BR>>
Winpcap Version –
4.0.2<BR>><BR>>
<BR>><BR>>
Regards,<BR>><BR>>
Mani<BR>><BR>>
<BR>><BR>>
<BR>>
________________________________<BR>><BR>><BR>>
_______________________________________________<BR>>
Winpcap-users mailing
list<BR>>
Winpcap-users@winpcap.org<BR>>
<BR>> <A
href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</A><BR>><BR>>
<BR>>
________________________________<BR>><BR>><BR>>
_______________________________________________<BR>>
Winpcap-users mailing list<BR>>
Winpcap-users@winpcap.org<BR>>
<A
href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</A><BR>><BR>>
<BR>>
________________________________<BR>><BR>><BR>>
_______________________________________________<BR>>
Winpcap-users mailing list<BR>>
Winpcap-users@winpcap.org<BR>>
<A
href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</A><BR>><BR>>
</SPAN></FONT><o:p></o:p></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<o:p></o:p></SPAN></FONT></P></BLOCKQUOTE></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>