https://bugs.kde.org/show_bug.cgi?id=409873

            Bug ID: 409873
           Summary: Space before \documentclass{beamer} = crash
           Product: kile
           Version: 2.1.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: michel.lud...@kdemail.net
          Reporter: olavocont...@gmail.com
  Target Milestone: ---

SUMMARY

Dear Kile Developers,

I noticed that every time I try to open a .tex file with one or more spaces at
the first line before  \documentclass{beamer}, kile will immediately crash. 
I could fix the problem removing the space  at the first line. 
Could you please try to reproduce this error?

Thanks in advance.

Olavo


STEPS TO REPRODUCE
1. Open Kile with an empty document and type the following:

 \documentclass{beamer}

\begin{document}

\end{document}

2. Notice that  \documentclass{beamer} should be at the 1st line and there is a
space before it.

3. Save the file

4. Close the file

5. Open the file


OBSERVED RESULT
Kile will crash with a segmentation fault error.
E.g: 
Executable: kile PID: 7366 Signal: Segmentation fault (11) Time: 07/16/19
05:56:11 PM


SOFTWARE/OS VERSIONS
Application: kile (2.1.3)
KDE Platform Version: 4.14.16
Qt Version: 4.8.7
Operating System: Linux 4.4.0-154-generic x86_64
Distribution: Ubuntu 16.04.6 LTS

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

-- Backtrace:
A useful backtrace could not be generated

Report to https://bugs.kde.org/


ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to