|
Hello,
I'm trying to track down a nasty bug which gives random crashes in linux upon * querying libraries for available devices * exit in the native code. I've tried gdb but it points to... I have no idea. How are you people debugging the JNI? This regression appeared sometime between now and svn co -r {2011-11-07} https://valelab.ucsf.edu/svn/micromanager2/trunk I can dissect further but maybe you have an idea what it might be already? (you seem to have shuffled a lot since then) one of the crashes I got was a complaint about a double-free, but all the way up in the system libraries. my gut feeling is that the problems are caused by a wild pointer, but with JNI I might be wrong. /Johan -- ----------------------------------------------------------- Johan Henriksson PhD student, Karolinska Institutet http://mahogny.areta.org http://www.endrov.net ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ micro-manager-general mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/micro-manager-general |
|
Administrator
|
On Nov 29, 2011, at 10:51 AM, Johan Henriksson wrote: > I'm trying to track down a nasty bug which gives random crashes in linux upon > * querying libraries for available devices > * exit > in the native code. I've tried gdb but it points to... I have no idea. Did you do a make clean? I recently had some nasty crashes that were cause by some binaries being out of sync with each other. Make clean took care of it. > How are you people debugging the JNI? See: http://valelab.ucsf.edu/~MM/MMwiki/index.php/Debugging_MM_on_MacOSX_and_Unix Also, I sometimes run Micro-Manager from Netbeans, then use 'ps -ef' to get the process id of Micro-Manager (Java) and then attach gdb with 'gdb attach pid'. Set breakpoints where you expect issues. Best, Nico ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ micro-manager-general mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/micro-manager-general |
|
On Tue, Nov 29, 2011 at 8:00 PM, Nico Stuurman <[hidden email]> wrote:
yep, that took care of it. thanks! /Johan -- ----------------------------------------------------------- Johan Henriksson PhD student, Karolinska Institutet http://mahogny.areta.org http://www.endrov.net ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ micro-manager-general mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/micro-manager-general |
| Powered by Nabble | See how NAML generates this page |
