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

          Priority: medium
            Bug ID: 58035
          Assignee: [email protected]
           Summary: CRASH segfault from invalid SQL stateme
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: x86-64 (AMD64)
            Status: UNCONFIRMED
           Version: 4.0.0.0.alpha0+ Master
         Component: Database
           Product: LibreOffice

Created attachment 71221
  --> https://bugs.freedesktop.org/attachment.cgi?id=71221&action=edit
typescript of gdb session

This bug report arises from Olivier Ploton"s message to the dev list
"recent git master branch : crash instead of error popup"
<http://nabble.documentfoundation.org/recent-git-master-branch-crash-instead-of-error-popup-tp4023332.html>.
He says ...

    Launch libreoffice.
    Create a new database.
    Edit a new query inside SQL view.
    Type in some garbage, e.g.    xxxxxxxxx
    Run query.
    LO crashes.


I have reproduced this with master commit id 8450a99, fetched around
2012-12-09 02:00 UTC, configured with ...

    --enable-dbgutil
    --enable-crashdump
    --disable-build-mozilla
    --without-system-postgresql
    --without-myspell-dicts
    --without-help
    --with-extra-buildid

built and running on ubuntu-natty (11.04) 32-bit ...

    $ uname -a
    Linux cougar-natty 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6 18:00:43 UTC
2012 i686 athlon i386 GNU/Linux

    $ gcc --version
    gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    $ java -version
    java version "1.6.0_24"
    OpenJDK Runtime Environment (IcedTea6 1.11.5)
(6b24-1.11.5-0ubuntu1~11.04.1)
    OpenJDK Client VM (build 20.0-b12, mixed mode, sharing)


In the attached typescript you will find
    line 161: SIGSEGV
    line 183: thread apply all backtrace
    line 451: backtrace full
    line 671: thread apply all backtrace full


A bug search turns up bug 47209 "In SQL mode in Queries, Base crashes
when a second SELECT followed by quotes is entered."  At first glance,
the backtrace there looks different from mine, and all the SQL
statements cited in the report are more comples than Olivier's.
Still, it could be the same problem.

-- 
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