This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Project is attached to issue 174070 (http://www.netbeans.org/nonav/issues/showattachment.cgi/89092/races.tar.gz) Platform - OpenSolaris (amkar) Scenario: - Open project - Select "race2" configuration - Run it ==> ok - Stop project - Launch Thread Analyzer tool ==> project started, but it fails after 3-4 seconds - Run it again ==> project fails after 3-4 seconds Workaround: restart IDE
This is not valid application. It is not true that it fails when started from within IDE only. Try to start it several times in console - you'll get core as well. Run it several times from within IDE -> sometimes it will not generate core. The fact that we get this core more often while using IDE is because of some unlucky (or lucky) timing...
FYI: Here is the real reason - we are accessing array (3000 length) @ index 216000 =Andrew tester@amkar:~$ dbx /export/home/tester/NetBeansProjects/CppApplication_3/dist/test2/SunStudio-Solaris-x86/cppapplication_3 ./core For information about new features see `help changes' To remove this message, put `dbxenv suppress_startup_message 7.7' in your .dbxrc Reading cppapplication_3 dbx: warning: core object name "cppapplication_" matches object name "cppapplication_3" within the limit of 14. assuming they match core file header read successfully Reading ld.so.1 Reading libm.so.2 Reading libc.so.1 t@3 (l@3) terminated by signal SEGV (no mapping at the fault address) Current function is is_prime 22 pflag[v] = 0; (dbx) whatis pflag int pflag[3000]; (dbx) print v v = 216000 (dbx) where current thread: t@3 =>[1] is_prime(v = 216000), line 22 in "pthr_prime.c" [2] work(arg = 0x80479b0), line 38 in "pthr_prime.c" [3] _thrp_setup(0xfecc0a00), at 0xfeeecd56 [4] _lwp_start(0x407d1000, 0x1d1, 0x2, 0x0, 0xfeb7efcc, 0x8050d8f), at 0xfeeecfe0 (dbx)
Integrated into 'main-golden', will be available in build *200910091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/507b8f6bfe30 User: Maria Tishkova <mromashova@netbeans.org> Log: IZ#174098 Change icons in profile tools with the correct ones