Re: File upload leads to database crash

Benoit Mercier <[email protected]> Mon, 30 Sep 2024 10:20:31 -0400
Newsgroups gmane.text.xml.exist
Organization Université de Sherbrooke
Message-ID <[email protected]>
I had the exact same problem few weeks ago with the char 😊 (U+1F60A 
<https://www.compart.com/fr/unicode/U+1F60A>) in a TEI document. I 
retested 10 minutes ago. Just creating a file with the following content 
from OxygenXML, performing an XQuery on//badChar and deleting the file 
(from Oxygen again) make my eXist server crashed. But few weeks ago the 
problem appeared while running Xqueries and/or reindexing, cannot 
remember, sorry.

    <debug>
         <badChar>😊</badChar>
    </debug>


[eXist Version : 6.2.0]
[eXist Build : 2023-02-04T22:42:29Z]

Hope this will help,

Benoit

Le 2024-09-30 à 09 h 55, Joe Wicentowski a écrit :
> Hi Jannik,
>
> I see from the screenshot that you're using version 6.2.0.
>
> When the problem occurs, do you see any errors in exist.log?
>
> If you isolate the character(s) in question, could you open an issue? 
> (Or, feel free to email me the file, and I can take a look.)
>
> Joe
>
> On Sun, Sep 29, 2024 at 4:58 PM Jean-Paul Rehr <[email protected]> wrote:
>
>     Dear Jannik,
>
>     I ran into a similar issue some time ago, and it was due to a
>     problem with a hidden character inserted into the file. This may
>     or may not be your case, but if you have a backup version of the
>     file from when it worked fine, you could transform it into code
>     points, and do the same with the current file, and see if they are
>     truly identical.
>
>     Hope this helps,
>     JPR
>
>     On Sun, Sep 29, 2024 at 10:29 PM Jannik Franz <[email protected]> wrote:
>
>
>         Dear eXist-db community,
>
>         in our project we are using eXist-db for over two years now
>         and since a few weeks we are having a problem uploading a
>         specific XML-file (via eXide's upload interface).
>         As soon as the file is uploaded, the database crashes and the
>         server has to be restarted.
>         After the restart there remains an empty file in the database
>         as a result of the interrupted upload process.
>
>         The problem occurs only with this single file. It is a simple
>         TEI-XML document, 68KB small and not special in any way (and
>         it didn't cause any problems for the last 2 years).
>
>         Attached is a screenshot of the Monex report after uploading
>         the file.
>
>         Has anyone had a similar problem or has any advice how to deal
>         with it?
>
>         Many thanks in advance and best regards
>         Jannik Franz
>
>
>         Jannik Franz
>         Universität für Musik und darstellende Kunst Wien
>         Institut für Musikwissenschaft und Interpretationsforschung
>         Abteilung Wissenschaftszentrum Arnold Schönberg und die Wiener
>         Schule
>         Schwarzenbergplatz 6/Zaunergasse 1-3
>         1030 Wien
>         E-Mail: [email protected]
>         _______________________________________________
>         Exist-open mailing list
>         [email protected]
>         https://lists.sourceforge.net/lists/listinfo/exist-open
>         <https://lists.sourceforge.net/lists/listinfo/exist-open>
>
>     _______________________________________________
>     Exist-open mailing list
>     [email protected]
>     https://lists.sourceforge.net/lists/listinfo/exist-open
>     <https://lists.sourceforge.net/lists/listinfo/exist-open>
>
>
>
> _______________________________________________
> Exist-open mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/exist-open

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open