[Libreoffice-bugs] [Bug 107829] New: Fatal exception: Signal 6 when using SDK to insert text

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat May 13 21:54:27 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=107829

            Bug ID: 107829
           Summary: Fatal exception: Signal 6 when using SDK to insert
                    text
           Product: LibreOffice
           Version: 5.3.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: kstenerud at gmail.com

Created attachment 133300
  --> https://bugs.documentfoundation.org/attachment.cgi?id=133300&action=edit
Self contained test java app

When using the Java SDK to create a document and add a bunch of styled text, it
crashes in libuno_sal.so.3.

I've reduced it to a test java source file that reproduces the error about 75%
of the time:

run:
CE> Application Error
CE> 
CE> 
CE> Fatal exception: Signal 6
CE> Stack:
CE> /usr/lib/libreoffice/program/libuno_sal.so.3(+0x3a4a0)[0x7f5f461884a0]
CE> /usr/lib/libreoffice/program/libuno_sal.so.3(+0x3a611)[0x7f5f46188611]
CE> /lib/x86_64-linux-gnu/libc.so.6(+0x357f0)[0x7f5f45dbc7f0]
CE> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x9f)[0x7f5f45dbc77f]
CE> /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f5f45dbe37a]
CE> /usr/lib/libreoffice/program/libmergedlo.so(+0x2d40402)[0x7f5f490e5402]
CE>
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application5AbortERKN3rtl8OUStringE+0x9a)[0x7f5f49057aca]
CE> /usr/lib/libreoffice/program/libmergedlo.so(+0x1cc0d38)[0x7f5f48065d38]
CE> /usr/lib/libreoffice/program/libmergedlo.so(+0x2cb8392)[0x7f5f4905d392]
CE> /usr/lib/libreoffice/program/libuno_sal.so.3(+0x15a22)[0x7f5f46163a22]
CE> /usr/lib/libreoffice/program/libuno_sal.so.3(+0x3a5cf)[0x7f5f461885cf]
CE>
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so(+0x8be86d)[0x7f5ef9c5e86d]
CE>
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so(JVM_handle_linux_signal+0x1b9)[0x7f5ef9c63509]
CE>
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so(+0x8b7268)[0x7f5ef9c57268]
CE> /lib/x86_64-linux-gnu/libc.so.6(+0x357f0)[0x7f5f45dbc7f0]
CE>
/usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3(_ZNK3com3sun4star3uno19WeakReferenceHelper3getEv+0x35)[0x7f5f3fc26095]
CE>
/usr/lib/libreoffice/program/../program/libswlo.so(+0x370795)[0x7f5efb14f795]
CE>
/usr/lib/libreoffice/program/../program/libswlo.so(+0x368061)[0x7f5efb147061]
CE>
/usr/lib/libreoffice/program/../program/libswlo.so(+0x368b2c)[0x7f5efb147b2c]
CE>
/usr/lib/libreoffice/program/../program/libswlo.so(+0x659890)[0x7f5efb438890]
CE>
/usr/lib/libreoffice/program/../program/libswlo.so(_ZN11SwViewShell10LayoutIdleEv+0xde)[0x7f5efb7778ae]
CE>
/usr/lib/libreoffice/program/../program/libswlo.so(+0x49065c)[0x7f5efb26f65c]
CE> /usr/lib/libreoffice/program/libmergedlo.so(+0x2ca5ec1)[0x7f5f4904aec1]
CE>
/usr/lib/libreoffice/program/libmergedlo.so(_ZN9Scheduler21ProcessTaskSchedulingEb+0x38)[0x7f5f4904b0e8]
CE>
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application5YieldEv+0x66)[0x7f5f49058306]
CE>
/usr/lib/libreoffice/program/libmergedlo.so(_ZN11Application7ExecuteEv+0x45)[0x7f5f4905a155]
CE> /usr/lib/libreoffice/program/libmergedlo.so(+0x1cc896d)[0x7f5f4806d96d]
CE> /usr/lib/libreoffice/program/libmergedlo.so(+0x2cb9b76)[0x7f5f4905eb76]
CE>
/usr/lib/libreoffice/program/libmergedlo.so(_Z6SVMainv+0x22)[0x7f5f4905ec72]
CE>
/usr/lib/libreoffice/program/libmergedlo.so(soffice_main+0x91)[0x7f5f4808f0a1]
CE> /usr/lib/libreoffice/program/soffice.bin(+0x7ab)[0x5578a714c7ab]
CE> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7f5f45da73f1]
CE> /usr/lib/libreoffice/program/soffice.bin(+0x7ea)[0x5578a714c7ea]
Exception in thread "main" com.sun.star.lang.DisposedException
        at
com.sun.star.lib.uno.environments.remote.JobQueue.removeJob(JobQueue.java:201)
        at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:308)
        at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:281)
        at
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:81)
        at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:618)
        at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:145)
        at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:129)
        at com.sun.proxy.$Proxy11.setPropertyValue(Unknown Source)
        at org.testing.OfficeTest.applyTextStyle(OfficeTest.java:92)
        at org.testing.OfficeTest.insertParagraph(OfficeTest.java:113)
        at org.testing.OfficeTest.insertStory(OfficeTest.java:99)
        at org.testing.OfficeTest.testBigDocument(OfficeTest.java:43)
        at org.testing.OfficeTest.main(OfficeTest.java:30)
Caused by: java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:392)
        at com.sun.star.lib.uno.protocols.urp.urp.readBlock(urp.java:364)
        at com.sun.star.lib.uno.protocols.urp.urp.readMessage(urp.java:96)
        at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:92)
/home/karl/.cache/netbeans/8.1/executor-snippets/run.xml:53: Java returned: 1
BUILD FAILED (total time: 7 seconds)


Some observations:
- If I don't add any paragraph styles, it never crashes.
- I've had it crash even when the page style hasn't been applied.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170513/536c5c55/attachment-0001.html>


More information about the Libreoffice-bugs mailing list