Your message dated Sun, 26 Nov 2023 08:34:35 +0000
with message-id <[email protected]>
and subject line Bug#1037274: fixed in readline 8.2-3
has caused the Debian Bug report #1037274,
regarding libreadline8: Segmentation fault in rl_do_undo()
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1037274: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037274
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libreadline8
Version: 8.2-1.3
Severity: normal
Tags: upstream
X-Debbugs-Cc: [email protected]

My interactive sqlite3 shell crashed and dumped core.

Here's a backtrace with debug symbols via debuginfod:

(gdb) bt full
#0  0x00007f1d30e4b6b6 in rl_do_undo () at ./undo.c:186
        release = <optimized out>
        search = <optimized out>
        waiting_for_begin = 0
        start = <optimized out>
        end = <optimized out>
        cur = <optimized out>
        temp = <optimized out>
#1  0x00007f1d30e4b995 in rl_revert_line (count=count@entry=1, key=key@entry=0) 
at ./undo.c:337
No locals.
#2  0x00007f1d30e2ef3d in readline_internal_teardown (eof=0) at ./readline.c:498
        temp = 0x559dad7afb40 "\337\022\240\364\230U"
        entry = <optimized out>
#3  0x00007f1d30e303db in readline_internal () at ./readline.c:734
No locals.
#4  readline (prompt=prompt@entry=0x559dabc03740 <mainPrompt> "sqlite> ") at 
./readline.c:387
        value = <optimized out>
#5  0x0000559dabbed320 in one_input_line (isContinuation=<optimized out>, 
zPrior=0x559dad7ff720 "\377\213Z\364\230U", in=0x0) at ./shell.c:757
        zPrompt = 0x559dabc03740 <mainPrompt> "sqlite> "
        zResult = <optimized out>
        zPrompt = <optimized out>
        zResult = <optimized out>
#6  process_input (p=0x7fff9cc73970) at ./shell.c:25506
        zSql = <optimized out>
        nSql = <optimized out>
        errCnt = <optimized out>
        qss = <optimized out>
        zLine = <optimized out>
        nLine = <optimized out>
        nAlloc = <optimized out>
        rc = <optimized out>
        startline = <optimized out>
        zLine = <optimized out>
        zSql = <optimized out>
        nLine = <optimized out>
        nSql = <optimized out>
        nAlloc = <optimized out>
        rc = <optimized out>
        errCnt = <optimized out>
        startline = <optimized out>
        qss = <optimized out>
        i = <optimized out>
#7  process_input (p=0x7fff9cc73970) at ./shell.c:25485
        zLine = 0x0
        zSql = 0x0
        nLine = <optimized out>
        nSql = 0
        nAlloc = 0
        rc = <optimized out>
        errCnt = 0
        startline = 0
        qss = QSS_Start
        i = <optimized out>
#8  0x0000559dabbc1b25 in main (argc=<optimized out>, argv=0x7fff9cc74fd8) at 
./shell.c:26411
        zHome = <optimized out>
        zHistory = <optimized out>
        nHistory = <optimized out>
        zErrMsg = 0x0
        data = {db = 0x559dad6ce4e8, autoExplain = 1 '\001', autoEQP = 0 
'\000', autoEQPtest = 0 '\000', autoEQPtrace = 0 '\000', scanstatsOn = 0 
'\000', 
          openMode = 1 '\001', doXdgOpen = 0 '\000', nEqpLevel = 0 '\000', 
eTraceType = 0 '\000', bSafeMode = 0 '\000', bSafeModePersist = 0 '\000', 
cmOpts = {iWrap = 0, 
            bQuote = 0 '\000', bWordWrap = 0 '\000'}, statsOn = 0, mEqpLines = 
0, inputNesting = 1, outCount = 0, cnt = 140, lineno = 31, openFlags = 0, in = 
0x0, 
          out = 0x7f1d30de9760 <_IO_2_1_stdout_>, traceOut = 0x0, nErr = 0, 
mode = 0, modePrior = 0, cMode = 0, normalMode = 2, writableSchema = 0, 
showHeader = 0, 
          nCheck = 0, nProgress = 0, mxProgress = 0, flgProgress = 0, shellFlgs 
= 2, priorShFlgs = 0, szMax = 0, zDestTable = 0x0, zTempFile = 0x0, 
          zTestcase = '\000' <repeats 29 times>, colSeparator = "|", '\000' 
<repeats 18 times>, rowSeparator = "\n", '\000' <repeats 18 times>, 
          colSepPrior = '\000' <repeats 19 times>, rowSepPrior = '\000' 
<repeats 19 times>, colWidth = 0x0, actualWidth = 0x0, nWidth = 0, 
          nullValue = '\000' <repeats 19 times>, outfile = '\000' <repeats 4095 
times>, pStmt = 0x0, pLog = 0x0, aAuxDb = {{db = 0x0, 
              zDbFilename = 0x7fff9cc76e3c "lowballer.sqlite", zFreeOnClose = 
0x0, nSession = 0, aSession = {{zName = 0x0, nFilter = 0, azFilter = 0x0, p = 
0x0}, {
                  zName = 0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {zName = 
0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {zName = 0x0, nFilter = 0, azFilter 
= 0x0, 
                  p = 0x0}}}, {db = 0x0, zDbFilename = 0x0, zFreeOnClose = 0x0, 
nSession = 0, aSession = {{zName = 0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {
                  zName = 0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {zName = 
0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {zName = 0x0, nFilter = 0, azFilter 
= 0x0, 
                  p = 0x0}}}, {db = 0x0, zDbFilename = 0x0, zFreeOnClose = 0x0, 
nSession = 0, aSession = {{zName = 0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {
                  zName = 0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {zName = 
0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {zName = 0x0, nFilter = 0, azFilter 
= 0x0, 
                  p = 0x0}}}, {db = 0x0, zDbFilename = 0x0, zFreeOnClose = 0x0, 
nSession = 0, aSession = {{zName = 0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {
                  zName = 0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {zName = 
0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {zName = 0x0, nFilter = 0, azFilter 
= 0x0, 
                  p = 0x0}}}, {db = 0x0, zDbFilename = 0x0, zFreeOnClose = 0x0, 
nSession = 0, aSession = {{zName = 0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {
                  zName = 0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {zName = 
0x0, nFilter = 0, azFilter = 0x0, p = 0x0}, {zName = 0x0, nFilter = 0, azFilter 
= 0x0, 
                  p = 0x0}}}}, pAuxDb = 0x7fff9cc74ab8, aiIndent = 0x0, nIndent 
= 0, iIndent = 0, zNonce = 0x0, sGraph = {pRow = 0x0, pLast = 0x0, 
            zPrefix = '\000' <repeats 99 times>}, expert = {pExpert = 0x0, 
bVerbose = 0}}
        zInitFile = <optimized out>
        i = <optimized out>
        rc = <optimized out>
        warnInmemoryDb = 0
        readStdin = <optimized out>
        nCmd = <optimized out>
        azCmd = <optimized out>
        zVfs = <optimized out>
(gdb) 



-- System Information:
Debian Release: 12.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libreadline8 depends on:
ii  libc6            2.36-8
ii  libtinfo6        6.4-2
ii  readline-common  8.2-1.3

libreadline8 recommends no packages.

libreadline8 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: readline
Source-Version: 8.2-3
Done: Matthias Klose <[email protected]>

We believe that the bug you reported is fixed in the latest version of
readline, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated readline package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 26 Nov 2023 09:01:05 +0100
Source: readline
Architecture: source
Version: 8.2-3
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Closes: 1037274 1056314
Changes:
 readline (8.2-3) unstable; urgency=medium
 .
   * Fix crash in rl_do_undo, taken from upstream. Closes: #1056314, #1037274.
Checksums-Sha1:
 3979eec1ae333567a8f205a3959a10ad673c04f0 2783 readline_8.2-3.dsc
 77091fad0a5db53b4402a728687052b6102ac79c 33220 readline_8.2-3.debian.tar.xz
 082b1655d16b5ed988199692505c41df89b7246b 7093 readline_8.2-3_source.buildinfo
Checksums-Sha256:
 9a3f265e7bf77fd241f5b3cb5f10e9564b73c4422d18402a1fd36d4dbd34ac76 2783 
readline_8.2-3.dsc
 f1211d371626f139b2eb87a431cc9f58a09dca3391f3245bffe7ccdf95d72f28 33220 
readline_8.2-3.debian.tar.xz
 ade67583ad4b2f06f6ff8ad6ea5194d52c3b4e904d46fd1ef17bb00b826a19df 7093 
readline_8.2-3_source.buildinfo
Files:
 3487e0a6b8803053287d3458b572975f 2783 libs optional readline_8.2-3.dsc
 3c437a6825f5ca74999d35b9034086d2 33220 libs optional 
readline_8.2-3.debian.tar.xz
 6a23ebc43531e581d54a889b5b3762e0 7093 libs optional 
readline_8.2-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmVi/KgQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9TfwD/0SvBG97UaomdJWa+DM6CITRAdugP2SMO4b
HpK/BtfEdcYNPkvMZpZwBr8HdgGgdMpZwLOnz24MRoBbK18OkzQTmHuoNsAXXeck
IvuJV5gfyygqDdmM6eIkot92LwGW1tdjMKNFCl+1PN5wI5XQ34To0QzFe2yVvJm+
QaTtTpWiFwEZj78Nxv2+A8cDwlgc+IGlRSdi+MVqaFQzQnnR+raOAP34fSepPec2
RngO1g8IPTlTBomBbrrNcx+BfLCkebvTXkH7jfuiUwwWNO0OZ+qgI44beK6eIalL
R8nsVMWUeEZ9H+oIyESmLZSQsZNZf+ysNjKg5O9snfRJs+bbXoTMAnV9uStjQXj+
bSYB3SNoYY5360KrPUokyxr/sa6+1pA7hF0mXFWSQ5tnckwq3sSwFx6lbouP39na
cl1dVmp1Y+FV03pvzhfAgWikHJS02dIAIF6/3BdUuT3i//5vibRtGEFGcqYqM2kR
i0vM5hOf0GibWqC1nmSx7ATDnC39H5AUxb+1itnR0cyaYo2eYd0dY5IW6BFeSdQP
I7100zQJWyi4HwaWhIH3lw/pZVT/7E2u6nXQQ4pcwvK3qTM/R5v/Q7WCqbNpv4qy
UKKlhDrukwPitjcEVhjlzD9HXwyg5Dt56wLPvMkQVLKDzuP37GOt1VSD36Qg0n3t
AFIKloXFhg==
=ZrZH
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to