You can enable the memory dumps(mdmp) with:
1. Open Properties of the project
2. Switch to Run section
3. In VM Options add
-Xcheck:jni -XX:+CreateMinidumpOnCrash
With -XX:+CreateMinidumpOnCrash you enable the memory dump and with
-Xchek:jni you enable some logs of the Java Native Interface
Eduardo Guadalupe Quintanilla Flores
Software Developer
Block Networks
Av. Eugenio Garza Sada 4570 | Col. Las Brisas | Monterrey, México, CP 64780
T: +52 (81) 8881-1080 Ext. 1405 C: +52 8121201930 M: [email protected]
-----Original Message-----
From: Emilian Bold <[email protected]>
Sent: miércoles, 14 de noviembre de 2018 11:00 a. m.
To: NetBeans Dev@ <[email protected]>
Subject: Re: Profiler crash for NB10
I assume you mean the dependency from profiler/lib.profiler/external?
It's ok to download that. The license is also OK (although I assume
this will get donated too?)
Please push your changes to some branch. Ideally we should isolate
what exactly broke profiling on Windows.
--emi
On Wed, Nov 14, 2018 at 2:23 PM Peter Hull <[email protected]> wrote:
>
> On Mon, Nov 12, 2018 at 9:24 AM Peter Hull <[email protected]> wrote:
> > The crash happens in native code, due to some calls made by
>
> OK I have made some progress (on my own!). There some updates on the
> JIRA issue too for those interested.
>
> All I did was recompile the native dll for the windows-amd64 platform
> using the latest MSVC. At a superficial level, this now works for me.
> There were a couple of complications:
> 1. The build script is really old, referring to JDK16, MSVC 6 and
> MSVC8
> (https://github.com/apache/incubator-netbeans/commit/74367dcd6f298790d3eee5bb3245b20c8a29d6b9)
> - I hacked this to make it work.
> 2. There were some 64 bit <-> 32 bit warnings - I fixed these,
> possibly this corrected some faulty behaviour
> 3. The build system downloads a zipfile containing all the native
> libraries from the internet and caches it. It then unconditionally
> copies the zip into the source tree, unzips it over the build
> directory, then copies the build directory to the deployment
> directory. So unless you "strike at the root" (i.e. disabling the
> download mechanism) you will find your changes silently overwritten.
> (you can tell this had me scratching my head for a while!!)
>
> I would appreciate some feedback on this so far. If anyone wants to
> try out my binary of profilerinterface.dll I can get it to them
> somehow.
>
> Also, I noticed the zipfile with binaries has a licence and it's the
> CDDL - is this OK in the Apache world?
> (https://github.com/apache/incubator-netbeans/commit/ba70c38b946d16231082d3b861acfe6aa9606117)
>
> Thanks,
> Pete
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists