-
Bug
-
Resolution: Fixed
-
High
-
5.5.2, 5.6.4
-
Java-Laufzeitumgebung
Betriebssystem Linux 3.13.0-24-generic
Betriebssystemarchitektur amd64
Anwendungsserver Apache Tomcat/7.0.47
Servlet-Version 3.0
Java-Version 1.7.0_15
Java-Hersteller Oracle Corporation
JVM-Version 1.7
JVM-Hersteller Oracle Corporation
JVM-Implementierungsversion 23.7-b01
Java Runtime Java(TM) SE Runtime Environment
Java VM Java HotSpot(TM) 64-Bit Server VM
Java-Laufzeitargumente -Djava.util.logging.config.file=/opt/atlassian/confluence/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms256m -Xmx512m -XX:MaxPermSize=256m -Djava.awt.headless=true -Djava.endorsed.dirs=/opt/atlassian/confluence/endorsed -Dcatalina.base=/opt/atlassian/confluence -Dcatalina.home=/opt/atlassian/confluence -Djava.io.tmpdir=/opt/atlassian/confluence/temp
Arbeitsverzeichnis des Anwendungsservers /opt/atlassian/confluence/bin
Temp-Verzeichnis /opt/atlassian/confluence/temp
Benutzername confluence
Systemsprache de
Systemzeitzone Europe/Berlin
Bevorzugte Systemfarbe Snow
Bevorzugter Charakter Ghost
Kodierung des Dateisystems UTF-8Java VM-Arbeitsspeicherstatistik
Heapspeicher
[Belegter Speicher (72 %)] [Freier Speicher (28 %)]
28 % frei
Maximale Heapgröße 494 MB
Gesamter reservierter Speicher 494 MB
Belegter Arbeitsspeicher 356 MB
Freier reservierter Speicher 137 MB
Gesamter freier Speicher 137 MB
PermGen-Speicher
[Belegter Speicher (70 %)] [Freier Speicher (30 %)]
30 % frei
Maximaler PermGen 256 MB
Benutzter PermGen 178 MBDatabankinformationen
Datenbankname MySQL
Datenbankversion 5.1.49-3-log
Datenbankdialekt com.atlassian.hibernate.dialect.MySQLDialect
Name des Datenbanktreibers com.mysql.jdbc.Driver
Version des Datenbanktreibers mysql-connector-java-5.1.28 ( Revision: ${bzr.revision-id} )
URL für Datenbankverbindung jdbc:mysql://dms-auto3.server.technisat-digital/confluence?sessionVariables=storage_engine%3DInnoDB
Transaktionsisolation für Datenbankverbindung Read committed
Datenbank-Wartezeit 0Java-Laufzeitumgebung Betriebssystem Linux 3.13.0-24-generic Betriebssystemarchitektur amd64 Anwendungsserver Apache Tomcat/7.0.47 Servlet-Version 3.0 Java-Version 1.7.0_15 Java-Hersteller Oracle Corporation JVM-Version 1.7 JVM-Hersteller Oracle Corporation JVM-Implementierungsversion 23.7-b01 Java Runtime Java(TM) SE Runtime Environment Java VM Java HotSpot(TM) 64-Bit Server VM Java-Laufzeitargumente -Djava.util.logging.config.file=/opt/atlassian/confluence/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms256m -Xmx512m -XX:MaxPermSize=256m -Djava.awt.headless=true -Djava.endorsed.dirs=/opt/atlassian/confluence/endorsed -Dcatalina.base=/opt/atlassian/confluence -Dcatalina.home=/opt/atlassian/confluence -Djava.io.tmpdir=/opt/atlassian/confluence/temp Arbeitsverzeichnis des Anwendungsservers /opt/atlassian/confluence/bin Temp-Verzeichnis /opt/atlassian/confluence/temp Benutzername confluence Systemsprache de Systemzeitzone Europe/Berlin Bevorzugte Systemfarbe Snow Bevorzugter Charakter Ghost Kodierung des Dateisystems UTF-8 Java VM-Arbeitsspeicherstatistik Heapspeicher [Belegter Speicher (72 %)] [Freier Speicher (28 %)] 28 % frei Maximale Heapgröße 494 MB Gesamter reservierter Speicher 494 MB Belegter Arbeitsspeicher 356 MB Freier reservierter Speicher 137 MB Gesamter freier Speicher 137 MB PermGen-Speicher [Belegter Speicher (70 %)] [Freier Speicher (30 %)] 30 % frei Maximaler PermGen 256 MB Benutzter PermGen 178 MB Databankinformationen Datenbankname MySQL Datenbankversion 5.1.49-3-log Datenbankdialekt com.atlassian.hibernate.dialect.MySQLDialect Name des Datenbanktreibers com.mysql.jdbc.Driver Version des Datenbanktreibers mysql-connector-java-5.1.28 ( Revision: ${bzr.revision-id} ) URL für Datenbankverbindung jdbc:mysql://dms-auto3.server.technisat-digital/confluence?sessionVariables=storage_engine%3DInnoDB Transaktionsisolation für Datenbankverbindung Read committed Datenbank-Wartezeit 0
While importing a particular word document into Confluence we faced repetitively a severe confluence server crash down, meaning that it is not operational and reachable anymore! We managed to isolate the content in the word document that produces the severe malfunction to be a particular image. Copying this image from a .docx file to a .doc file will produce the same error. However, modifying the bit pattern of this image slighty (e.g., by switching to another compression level) will solve the problem. Of course, this is a very unpleasant situation because if anybody tries to import another word document (with comparable "features") our server will crash down and the current work of many other users might be lost. Because we are seriously considering to upgrade our starter license to a 500 user license, this issue needs definitely to be solved in advance.
In parallel, due to the priority level we have already submitted a support request under the same summary.
Thank you very much in advance for a fast solution!
Steps to Reproduce
- In Confluence 5.5.2, create a page and go to Tools > Import Word Doc
- Import Testfall.docx, leaving all options as default
- Observe that the Confluence process is terminated.
- This is all that appears in the logs:
2014-08-18 12:51:24,510 WARN [http-bio-10552-exec-7] [atlassian.confluence.cache.TransactionalCacheFactory] warning Transactional cache update outside transaction. All updates to this cache should be performed from a thread with a valid transaction context. -- referer: http://localhost:10552/confluence/pages/worddav/uploadimport.action?pageId=950274 | url: /confluence/rest/stp/1.0/license/status | userName: admin 2014-08-18 12:51:30,781 WARN [http-bio-10552-exec-9] [com.benryan.webwork.WordImportAction] executeFileUpload Failed to delete uploaded file /home/denise/confluence/home/552home/temp/upload_bdfcea9b_ccf0_4f35_a28f_2e94ad861811_00000001.tmp -- url: /confluence/pages/worddav/importword.action | page: 950274 | userName: admin | referer: http://localhost:10552/confluence/pages/worddav/uploadimport.action?pageId=950274 | action: importword 2014-08-18 12:51:31,276 WARN [http-bio-10552-exec-5] [atlassian.confluence.cache.TransactionalCacheFactory] warning Transactional cache update outside transaction. All updates to this cache should be performed from a thread with a valid transaction context. -- referer: http://localhost:10552/confluence/pages/worddav/importword.action | url: /confluence/rest/stp/1.0/license/status | userName: admin
- Running strace on the process shows that it is killed by a seg fault:
Process 4901 attached futex(0x7fe36b4269d0, FUTEX_WAIT, 4905, NULL <unfinished ...> +++ killed by SIGSEGV (core dumped) +++
Workaround
Save the image in another format and use that instead. I used .bmp for the attached testfall-working.doc, which imports successfully.
If you regularly experience this problem, and are running Confluence 5.9.1 or later, see JVM crashes during Import from Word knowledge base article for details of a workaround.
[CONFSERVER-34383] Severe Confluence Server Crash Down On Word Document Import
Workflow | Original: JAC Bug Workflow v3 [ 2890164 ] | New: CONFSERVER Bug Workflow v4 [ 2982537 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2803845 ] | New: JAC Bug Workflow v3 [ 2890164 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2737906 ] | New: JAC Bug Workflow v2 [ 2803845 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395118 ] | New: JAC Bug Workflow [ 2737906 ] |
Labels | Original: Office-Connector-Doc-Import affects-server bug-hunt bugfix critical editor editor-macros loyalty | New: Office-Connector-Doc-Import affects-server bug-hunt critical editor editor-macros loyalty |
Labels | Original: Office-Connector-Doc-Import affects-server bug-hunt bugfix critical editor editor-macros | New: Office-Connector-Doc-Import affects-server bug-hunt bugfix critical editor editor-macros loyalty |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2290893 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395118 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2228820 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2290893 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185237 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2228820 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1924333 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185237 ] |