https://bugs.freedesktop.org/show_bug.cgi?id=50920

             Bug #: 50920
           Summary: BadAtom crash when pasting data from Wolfram
                    Mathematica
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO Master
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: [email protected]
        ReportedBy: [email protected]


How to reproduce:
0. Start LO Calc
1. Copy some data, e.g. a number from Mathematica Notebook
2. If Calc hasn't yet crashed, try pasting this data into a cell (if Ctrl+V
doesn't crash it, try RMB->Paste)
3. See this output:
The program 'soffice' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAtom (invalid Atom parameter)'.
  (Details: serial 208 error_code 5 request_code 17 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
warn:legacy.osl:11780:5:/fastdocs/programmer/libreoffice/libo/unotools/source/config/configmgr.cxx:217:
OSL_ASSERT: items_.empty()

This crash only occurs when GTK theming is being used: setting
OOO_FORCE_DESKTOP=kde4 avoids the crash.
Sometimes the crash doesn't reproduce. But after several tries of copy-pasting
different text from notebook it does crash.

Here's the backtrace of the case when just copying (without paste) data from
Mathematica Notebook leads to crash:
http://pastebin.com/2Ciy17w9

To get soffice.bin run in --sync mode, I had to interrupt it in gdb and set
_gdk_synchronize=1 manually, because soffice.bin doesn't accept --sync
argument.

If needed, I'll try to get a backtrace from paste crash (it crashes in the same
function, but the stack has more functions).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to