Re: nsIChannel Open() call goes into hanging state

[email protected] Sun, 8 Dec 2013 21:04:48 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
Hi Neil,

Thank you very much for your reply.
It requires some library dependency and some options in .mozconf file we have to modify for the requirement.

Now xulrunner 1.9 source code compiling fine in ubuntu without any error. 
but one more question. Below is my configuration file.

mk_add_options MOZ_CO_PROJECT=xulrunner
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-xul-lin-dbg
mk_add_options MOZ_MAKE_FLAGS="-s -j4"

ac_add_options --disable-tests
ac_add_options --enable-logging
ac_add_options --enable-debug
ac_add_options --disable-optimize
ac_add_options --disable-crashreporter
ac_add_options --disable-installer
ac_add_options --enable-application=xulrunner
ac_add_options --enable-jemalloc
ac_add_options --disable-gstreamer
ac_add_options --with-java-bin-path=/usr/lib/jvm/java-6-openjdk/bin
#ac_add_options --disable-ogg
#ac_add_options --disable-wave
ac_add_options --disable-javaxpcom


After successful build we have executed "install" command to install the binary.

Where it will install ? what is the location for the binary and library files which we install ?

Thanks in Advance

On Wednesday, December 4, 2013 10:55:31 AM UTC+5:30, [email protected] wrote:
> Hi All,
> 
> 
> 
> Below code is getting hanged in linux and it is in blocking state.
> 
> 
> 
> nsIChannel *channel;
> 
> 
> 
> // Now, open the IO channel to an input stream form which we'll get the data
> 
> nsIInputStream *is;
> 
> rv = channel->Open(&is);
> 
> 
> 
> 
> 
> In above code Open() call is blocked and not coming out and application is in hanging state.
> 
> 
> 
> 
> 
> Is there any idea why in  Open() call is blocked ?
> 
> 
> 
> 
> 
> Thanks in Advance.