Importing from an SVN dump file causes Eclipse to crash.
While following instructions in "Importing data from Subversion and CVS into Jazz Source Control" after the import is 55% complete, Eclipse crashes and leaves a core dump (core, javacore, snap). The only difference from the example is there is no users in the SVN repository.
[jfeldman@boslc01 jfeldman]$ eclipse
Unhandled exception
Type=Segmentation error vmState=0x00040000
J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000002
Handler1=F7CBAA36 Handler2=F7C84021 InaccessibleAddress=D3A3D000
EDI=FFD2A880 ESI=D4829EC8 EAX=FFD2AF50 EBX=CDC72714
ECX=FFD2A88C EDX=D3A3D000
EIP=CD0FE7E7 ES=002B DS=002B ESP=FFD2A828
EFlags=00010206 CS=0023 SS=002B EBP=FFD2A888
Module=/usr/lib/xulrunner/libxul.so
Module_base_address=CC0A4000
Target=2_40_20130423_146146 (Linux 2.6.18-371.4.1.el5)
CPU=x86 (2 logical CPUs) (0x3eb2d5000 RAM)
----------- Stack Backtrace -----------
(0xF7C77B76 [libj9prt24.so+0xbb76])
(0xF7C8366C [libj9prt24.so+0x1766c])
(0xF7C77C09 [libj9prt24.so+0xbc09])
(0xF7C77D2C [libj9prt24.so+0xbd2c])
(0xF7C779A8 [libj9prt24.so+0xb9a8])
(0xF7C8366C [libj9prt24.so+0x1766c])
(0xF7C77A1C [libj9prt24.so+0xba1c])
(0xF7CBB771 [libj9vm24.so+0xf771])
(0xF7CBB3F1 [libj9vm24.so+0xf3f1])
(0xF7C8366C [libj9prt24.so+0x1766c])
(0xF7CBABD6 [libj9vm24.so+0xebd6])
(0xF7C84199 [libj9prt24.so+0x18199])
(0xFFFFE600)
(0xD3A3D000 [<unknown>+0x0])
---------------------------------------
JVMDUMP039I Processing dump event "gpf", detail "" at 2014/03/05 14:05:39 - please wait.
JVMDUMP032I JVM requested System dump using '/local/ARR/workspace/jfeldman/core.20140305.140539.6890.0001.dmp' in response to an event
JVMDUMP010I System dump written to /local/ARR/workspace/jfeldman/core.20140305.140539.6890.0001.dmp
JVMDUMP032I JVM requested Java dump using '/local/ARR/workspace/jfeldman/javacore.20140305.140539.6890.0002.txt' in response to an event
JVMDUMP010I Java dump written to /local/ARR/workspace/jfeldman/javacore.20140305.140539.6890.0002.txt
JVMDUMP032I JVM requested Snap dump using '/local/ARR/workspace/jfeldman/Snap.20140305.140539.6890.0003.trc' in response to an event
JVMDUMP010I Snap dump written to /local/ARR/workspace/jfeldman/Snap.20140305.140539.6890.0003.trc
JVMDUMP013I Processed dump event "gpf", detail "".
[jfeldman@boslc01 jfeldman]$ eclipse
Unhandled exception
Type=Segmentation error vmState=0x00040000
J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000002
Handler1=F7CBAA36 Handler2=F7C84021 InaccessibleAddress=D3A3D000
EDI=FFD2A880 ESI=D4829EC8 EAX=FFD2AF50 EBX=CDC72714
ECX=FFD2A88C EDX=D3A3D000
EIP=CD0FE7E7 ES=002B DS=002B ESP=FFD2A828
EFlags=00010206 CS=0023 SS=002B EBP=FFD2A888
Module=/usr/lib/xulrunner/libxul.so
Module_base_address=CC0A4000
Target=2_40_20130423_146146 (Linux 2.6.18-371.4.1.el5)
CPU=x86 (2 logical CPUs) (0x3eb2d5000 RAM)
----------- Stack Backtrace -----------
(0xF7C77B76 [libj9prt24.so+0xbb76])
(0xF7C8366C [libj9prt24.so+0x1766c])
(0xF7C77C09 [libj9prt24.so+0xbc09])
(0xF7C77D2C [libj9prt24.so+0xbd2c])
(0xF7C779A8 [libj9prt24.so+0xb9a8])
(0xF7C8366C [libj9prt24.so+0x1766c])
(0xF7C77A1C [libj9prt24.so+0xba1c])
(0xF7CBB771 [libj9vm24.so+0xf771])
(0xF7CBB3F1 [libj9vm24.so+0xf3f1])
(0xF7C8366C [libj9prt24.so+0x1766c])
(0xF7CBABD6 [libj9vm24.so+0xebd6])
(0xF7C84199 [libj9prt24.so+0x18199])
(0xFFFFE600)
(0xD3A3D000 [<unknown>+0x0])
---------------------------------------
JVMDUMP039I Processing dump event "gpf", detail "" at 2014/03/05 14:05:39 - please wait.
JVMDUMP032I JVM requested System dump using '/local/ARR/workspace/jfeldman/core.20140305.140539.6890.0001.dmp' in response to an event
JVMDUMP010I System dump written to /local/ARR/workspace/jfeldman/core.20140305.140539.6890.0001.dmp
JVMDUMP032I JVM requested Java dump using '/local/ARR/workspace/jfeldman/javacore.20140305.140539.6890.0002.txt' in response to an event
JVMDUMP010I Java dump written to /local/ARR/workspace/jfeldman/javacore.20140305.140539.6890.0002.txt
JVMDUMP032I JVM requested Snap dump using '/local/ARR/workspace/jfeldman/Snap.20140305.140539.6890.0003.trc' in response to an event
JVMDUMP010I Snap dump written to /local/ARR/workspace/jfeldman/Snap.20140305.140539.6890.0003.trc
JVMDUMP013I Processed dump event "gpf", detail "".
2 answers
The crashing module is xulrunner (Firefox on Linux uses it). So a wild guess is that the Eclipse client crashes when it tries to display something during the import. In this case, I will suggest you upgrade xulrunner and try again, or use another Linux machine or even a Windows machine if available. If the import always fail at the same place, there may be something peculiar in the SVN dump and I think you need to split it bit by bit in order to find out where the culprit it.
When Eclipse (or the Java process) crashes, those dump files contain crucial information for debugging. But unfortunately the forum is not a place suitable for such diagnosis.
When Eclipse (or the Java process) crashes, those dump files contain crucial information for debugging. But unfortunately the forum is not a place suitable for such diagnosis.
Comments
Lily Wang
Mar 06 '14, 12:18 a.m.Hi Jerry,
A few things to check for the crashing:
1) Are you using Linux? What's the version? Is it 64-bit machine?
2) What's the RTC version?
3) Are you using a custom java VM or the VM that RTC ships with? What's the "-Xmx" size for the JVM? You can increase the JVM by editing 'eclipse.ini' file which is in same directory of the "eclipse" executing file.
4) How big is the svn dump file?
If the dump file is large, you may try incremental import after you take full svn dump. Please see https://jazz.net/forum/questions/101961/will-rtc-support-import-of-svn-incremental-dumps-to-same-component.
Jerry Feldman
Mar 06 '14, 9:40 a.m.Linux: Red Hat Enterprise 5.10 64-bit
RTC 4.0.4 build RTC-I20130803-2156
I am using the JVM that RTC ships with.
I uploaded the dump file to Lee Bowie and he was able to successfully import it into his sandbox. So, the issue may be:
1. memory
2. Latency. I'm running RTC in Boston and the server is in Ottawa.
3. possibly xulrunner, although this is the latest version available on RHEL:
17.0.10-1.el5_10
4. The dump file is 42M.
I am planning to run RTC this morning on a host in Toronto.