Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4950 - Latest curl causes bzflag to segfault

Attached to Project: Arch Linux
Opened by Michal Witkowski (Neuro) - Monday, 03 July 2006, 13:10 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 04 July 2006, 07:25 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To dorphell (dorphell)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After today's update to testing/current bzflag started segfaulting upon map downloads. After running gdb it appears that it's caused by libcurl.so.3:
gdb bzflag
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/bzflag
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1224440112 (LWP 2791)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1233212512 (LWP 2795)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224440112 (LWP 2791)]
0xb7bf8580 in Curl_splaygetbest () from /usr/lib/libcurl.so.3
(gdb) quit

I've got the latest package:
Name : curl
Version : 7.15.4-1
Packager : Tobias Powalowski <tpowa@archlinux.org>
Build Date : Sat Jul 1 12:13:12 2006 UTC
Install Date : Mon Jul 3 08:59:26 2006 UTC
Reason: : installed as a dependency for another package
Depends On : bash openssl zlib
Required By : bzflag gnupg vorbis-tools xine-ui

This causes bzflag from package bzflag-2.0.8-2 to segfault. The problem also accured after I compiled my own bzflag package against the newest curl package. Everything worked fine before the latest curl update.
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 13 August 2006, 14:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  Curl 7.15.5 has been released which contains the quoted fix.
Comment by Jan de Groot (JGC) - Monday, 03 July 2006, 17:30 GMT
Debian bugtracker has the same one: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375076

I don't know what is going on here exactly, so I'll watch the debian bug a bit more closely.
Comment by Michal Witkowski (Neuro) - Wednesday, 12 July 2006, 11:09 GMT
I've been talking to one of the bzflag devs about this issue. It appears to be a problem within curl 7.15.4. He said that bzflag will soon gain a walkaround for the bug.

Until then it seems the only way for bzflag not to segfault is to use the old package curl-7.15.3-1.
Comment by Jan de Groot (JGC) - Monday, 31 July 2006, 13:56 GMT
From curl changelog:
Daniel (17 July 2006)
- Jari Sundell did some excellent research and bug tracking, figured out that
we did wrong and patched it: When nodes were removed from the splay tree,
and we didn't properly remove it from the splay tree when an easy handle was
removed from a multi stack and thus we could wrongly leave a node in the
splay tree pointing to (bad) memory.

Now to find out which files were affected.

Loading...