Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 07 17:29
    @directhex banned @CharlieIsHere
  • Oct 11 2018 17:23
    @directhex banned @deleteaccount1234567890
Toshko Andreev
@Ravenheart
apache2 logs are clean
Alexander Köplinger
@akoeplinger
source code for mod_mono is here: https://github.com/mono/mod_mono, though as far as I know most of it actually happens inside System.Web which lives in the main Mono repository
Toshko Andreev
@Ravenheart
can i file an issue there for this problem?
i've found i way to reproduce the error
basically when you have a request that is not yes returned (such as long-polling)
during that wait time if you restart apache
you end up with 3 zombie processes that consume ~100% cpu
Alexander Köplinger
@akoeplinger
you can file an issue on https://bugzilla.xamarin.com
but Xamarin is not officially supporting mod_mono, so it'll probably take a while to get fixed
unless you want to contribute a fix as a pull request ;)
Toshko Andreev
@Ravenheart
well its a very weird situation with async
like i said, if you restart apache while its waiting to return a request it will create zombies
arun.jayapal
@deostroll
Hello folks, is monodevelop officially dead...?
Alexander Köplinger
@akoeplinger
what makes you think that?
arun.jayapal
@deostroll
I was looking into a wcf issue...it seems that the wsdl generated is incorrect...
hence clients were not generating the proxies...
Alexander Köplinger
@akoeplinger
that should be unrelated to monodevelop I think
and no, monodevelop is not dead :)
arun.jayapal
@deostroll
I cross-checked right its, with mono
Alexander Köplinger
@akoeplinger
if you have a sample project that reproduces the incorrect wsdl, you can file an issue on https://bugzilla.xamarin.com
arun.jayapal
@deostroll
Yes...xamarin...thats why I thought monodevelop is dead :)
whats the deal with xamarin and monodevelop?
Alexander Köplinger
@akoeplinger
xamarin studio is essentially monodevelop + addins for ios/android development
that's why monodevelop is still being developed
arun.jayapal
@deostroll
Okay, now to the real problem: https://gist.github.com/deostroll/7c4e4b8f6b0da5b759a016f83c38b11a <- this code throws an exception when I try to access ProcessName...
I ran it via mono...
Alexander Köplinger
@akoeplinger
hm, which mono version?
and what is the exception?
arun.jayapal
@deostroll
$ mono --version
Mono JIT compiler version 4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16 13:19:08 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    LLVM:          supported, not enabled.
    GC:            sgen
System.InvalidOperationException: Process has exited, so the requested information is not available.
  at System.Diagnostics.Process.get_ProcessName () <0x40e28e90 + 0x001bf> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_ProcessName ()
  at caProcEnumerate.MainClass.Main (System.String[] args) [0x00059] in /home/deostroll/Public/code/csharp/caProcEnumerate/caProcEnumerate/Program.cs:16 
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Process has exited, so the requested information is not available.
  at System.Diagnostics.Process.get_ProcessName () <0x40e28e90 + 0x001bf> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_ProcessName ()
  at caProcEnumerate.MainClass.Main (System.String[] args) [0x00059] in /home/deostroll/Public/code/csharp/caProcEnumerate/caProcEnumerate/Program.cs:16
Alexander Köplinger
@akoeplinger
Mono 4.2 is quite old at this point, you can try updating to the latest Mono with our official packages: http://www.mono-project.com/docs/getting-started/install/linux/
hm, maybe a process actually exited after the call to .HasExited and retrieving the processname?
arun.jayapal
@deostroll
I earlier tried with only processname and the same issue happened then too...
Alexander Köplinger
@akoeplinger
well yes, if you happen to access a process that already exited that might be normal
you can try printing the ID and processname in separate writelines() and then check with native OS tools if the process is something special
arun.jayapal
@deostroll
does mono have its own csi?
Alexander Köplinger
@akoeplinger
if you're talking about csharp interactive, then yeah, try the csharp tool
arun.jayapal
@deostroll
cool
so I've updated my mono installation...anything I've to do to monodevelop to accept this change?
Alexander Köplinger
@akoeplinger
restart MD, otherwise you should be fine
arun.jayapal
@deostroll
Nope...the same problem...
Alexander Köplinger
@akoeplinger
then you need to do what I said above, print out the id separately and then check what's up with that process where it's crashing
arun.jayapal
@deostroll
its prints the id correctly, but the exception happens in the get_ProcessaName method... (stacktrace)
Ah...you should run with elevated permissions...
Alexander Köplinger
@akoeplinger
hmmm, interesting. sounds wrong that it'd crash with that exception in that case
arun.jayapal
@deostroll
does mono have anything to run as a service?
like a windows service equivalent I mean?
Alexander Köplinger
@akoeplinger
probably better to use init/upstart/systemd scripts for that
Alexander Köplinger
@akoeplinger
@deostroll it looks like this is a more general issue when retrieving the process name of a process that runs under a privileged user, reduced it down to https://bugzilla.xamarin.com/show_bug.cgi?id=51561
Damiano Zanardi
@Grul-
Hi all, quick question: is it possible to load at runtime an external .dll?