mainGnuTLS - Support: sr #108587, Upgrade from 3.3.2 to 3.3.3 causes...

 
 

sr #108587: Upgrade from 3.3.2 to 3.3.3 causes segfault

Submitter:  Excitable Snowball <snowball>
Submitted:  Sat 31 May 2014 05:09:05 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  4 - Important Status:  Done
Privacy:  Public Assigned to:  nmav
Open/Closed:  Closed Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 31 May 2014 04:14:56 PM UTC, comment #2: 

Thanks! 3.3.4 fixes the issue for me.

Excitable Snowball <snowball>
Sat 31 May 2014 08:46:46 AM UTC, comment #1: 

There was an issue with certain CPUs and 3.3.3. I've released 3.3.4 which should fix that issue.

Nikos Mavrogiannopoulos <nmav>
Group administrator
Sat 31 May 2014 05:09:05 AM UTC, original submission:  

A change between 3.3.2 and 3.3.3 causes a segfault in several programs
that depend on GnuTLS on Arch Linux.

In particular, GNOME Shell 3.12.2, WeeChat, and Liferea 1.10.9 have been
reported to crash. See the Arch Linux bug tracker for details:

-   https://bugs.archlinux.org/task/40615
-   https://bugs.archlinux.org/task/40617

Here is a backtrace from running Liferea 1.10.9 on x86_64:

    $ gdb liferea
    (gdb) run

    ...

    Program received signal SIGSEGV, Segmentation fault.
    0x00007fff6fd9cec0 in ?? () from /usr/lib/libgnutls.so.28
    (gdb) bt
    #0  0x00007fff6fd9cec0 in ?? () from /usr/lib/libgnutls.so.28
    #1  0x00007fff6fd9b66a in ?? () from /usr/lib/libgnutls.so.28
    #2  0x00007fff6fd1f45a in ?? () from /usr/lib/libgnutls.so.28
    #3  0x00007fff6fd10168 in ?? () from /usr/lib/libgnutls.so.28
    #4  0x00007fff6fd0c672 in ?? () from /usr/lib/libgnutls.so.28
    #5  0x00007fff6fd2ca48 in gnutls_alert_send () from /usr/lib/libgnutls.so.28
    #6  0x00007fff6fd0e5b9 in gnutls_bye () from /usr/lib/libgnutls.so.28
    #7  0x00007fff7c357032 in ?? () from /usr/lib/gio/modules/libgiognutls.so
    #8  0x00007ffff2e8f5f2 in g_io_stream_close () from /usr/lib/libgio-2.0.so.0
    #9  0x00007ffff50415a9 in ?? () from /usr/lib/libsoup-2.4.so.1
    #10 0x00007ffff5042d14 in soup_socket_disconnect () from /usr/lib/libsoup-2.4.so.1
    #11 0x00007ffff501db23 in ?? () from /usr/lib/libsoup-2.4.so.1
    #12 0x00007ffff503a685 in ?? () from /usr/lib/libsoup-2.4.so.1
    #13 0x00007ffff503f169 in ?? () from /usr/lib/libsoup-2.4.so.1
    #14 0x00007ffff503f23b in ?? () from /usr/lib/libsoup-2.4.so.1
    #15 0x00007ffff2920a65 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #16 0x00007ffff2920dc8 in ?? () from /usr/lib/libglib-2.0.so.0
    #17 0x00007ffff2920e6c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
    #18 0x00007ffff2ed24cc in g_application_run () from /usr/lib/libgio-2.0.so.0
    #19 0x000000000041b57d in main ()

If someone is willing to help me build from git, I'd be happy to bisect.
On my machine, the build fails with:

    $ git clone git://gitorious.org/gnutls/gnutls.git
    $ cd gnutls
    $ git checkout gnutls_3_3_2
    $ make autoreconf
    ...
    $ ./configure --enable-gcc-warnings --enable-gtk-doc --enable-gtk-doc-pdf
    ...
    $ make
    ...
    make[4]: Entering directory '/home/d/tmp/x/gnutls/src'
    /bin/true srptool-args.def
      CC       srptool-args.lo
    gcc: error: srptool-args.c: No such file or directory
    gcc: fatal error: no input files
    compilation terminated.
    Makefile:1835: recipe for target 'srptool-args.lo' failed
    make[4]: * [srptool-args.lo] Error 1
    make[4]: Leaving directory '/home/d/tmp/x/gnutls/src'
    Makefile:1855: recipe for target 'all-recursive' failed
    make[3]: * [all-recursive] Error 1
    make[3]: Leaving directory '/home/d/tmp/x/gnutls/src'
    Makefile:1614: recipe for target 'all' failed
    make[2]: * [all] Error 2
    make[2]: Leaving directory '/home/d/tmp/x/gnutls/src'
    Makefile:1373: recipe for target 'all-recursive' failed
    make[1]: * [all-recursive] Error 1
    make[1]: Leaving directory '/home/d/tmp/x/gnutls'
    Makefile:1300: recipe for target 'all' failed
    make: * [all] Error 2

Excitable Snowball <snowball>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nmav (Posted a comment)
  • -email is unavailable- added by snowball (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-06-04 nmav StatusNone Done
        Assigned toNone nmav
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code