Your message dated Sat, 08 Nov 2014 12:58:48 +0000
with message-id <e1xn5bm-0002gp...@franck.debian.org>
and subject line Bug#766251: fixed in flightgear-data 3.0.0-2
has caused the Debian Bug report #766251,
regarding flightgear fails to start with *** stack smashing detected ***
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 ow...@bugs.debian.org
immediately.)


-- 
766251: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766251
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: flightgear-data-base
Version: 3.0.0-1
Severity: grave
Justification: renders package unusable
Control: tags -1 patch

A fresh install (no .fgfs) of amd64 flightgear in current jessie or current sid fails to start:

Program received signal SIGABRT, Aborted.
0x00007ffff1d6f077 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt full
#0 0x00007ffff1d6f077 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 25441
        selftid = 25441
#1  0x00007ffff1d70458 in __GI_abort () at abort.c:89
        save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x3020702d77722030, sa_sigaction = 0x3020702d77722030}, sa_mask = {__val = {2319406791620833328, 2319389199435444272, 2314885530818453536, 2314885530818453536, 2314885530818453536, 6731583338252032800, 7378697629483820554, 3472328296331896422, 7378697629483806000, 3472609797883717222, 2337500343188860976, 3472328296227680304, 3467824696768081952, 2314885530818453536, 2314885530818453536, 140737488344416}}, sa_flags = 60, sa_restorer = 0x7fffffffd660}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007ffff1dacfb4 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff1e9d60b "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175 ap = {{gp_offset = 32, fp_offset = 32767, overflow_arg_area = 0x7fffffffd670, reg_save_area = 0x7fffffffd600}}
        fd = 18
        on_2 = <optimized out>
        list = <optimized out>
        nlist = <optimized out>
        cp = <optimized out>
        written = <optimized out>
#3 0x00007ffff1e300a7 in __GI___fortify_fail (msg=msg@entry=0x7ffff1e9d5f3 "stack smashing detected") at fortify_fail.c:31
No locals.
#4  0x00007ffff1e30070 in __stack_chk_fail () at stack_chk_fail.c:28
No locals.
#5 0x00007ffff6c99569 in simgear::PredicateExpression<int, std::equal_to>::eval (this=0xb6d9e70, value=<optimized out>, b=<optimized out>) at /build/simgear-mmipqT/simgear-3.0.0/simgear/structure/SGExpression.hxx:1184
No locals.
#6 0x00007ffff70b1e72 in getValue (binding=0x7fffffffd730, this=<optimized out>) at /build/simgear-mmipqT/simgear-3.0.0/simgear/structure/SGExpression.hxx:126
        value = true
#7 simgear::AndExpression::eval (this=0xb6da340, value=@0x7fffffffd750: true, b=0x7fffffffd730) at /build/simgear-mmipqT/simgear-3.0.0/simgear/structure/SGExpression.hxx:1266
        i = 0
#8 0x00007ffff70afd03 in getValue (binding=0x7fffffffd730, this=<optimized out>) at /build/simgear-mmipqT/simgear-3.0.0/simgear/structure/SGExpression.hxx:126
        value = true
#9 simgear::Technique::validateInContext (this=0xb6d9bc0, gc=<optimized out>) at /build/simgear-mmipqT/simgear-3.0.0/simgear/scene/material/Technique.cxx:122
        oldVal = simgear::Technique::QUERY_IN_PROGRESS
binding = {<simgear::expression::Binding> = {_vptr.Binding = 0x7ffff742e670 <vtable for simgear::expression::FixedLengthBinding<1>+16>}, _bindings = {{typeTag = simgear::expression::INT, val = {boolVal = false, intVal = 0, floatVal = 0, doubleVal = 0}}}}
        contextId = 0
        newVal = simgear::Technique::INVALID
#10 0x00007ffff51ef556 in osg::GraphicsContext::runOperations() () from /usr/lib/x86_64-linux-gnu/libosg.so.100
No symbol table info available.
#11 0x00007ffff58a2d08 in osgViewer::ViewerBase::renderingTraversals() () from /usr/lib/x86_64-linux-gnu/libosgViewer.so.100
No symbol table info available.
#12 0x0000000000b989ea in fgOSMainLoop() ()
No symbol table info available.
#13 0x00000000005f94ee in fgMainInit(int, char**) ()
No symbol table info available.
#14 0x00000000005a00ff in main ()
No symbol table info available.

It looks like the problem is casting simgear::ConvertExpression<double, float>* (derived from SGExpression<double>*, simgear/structure/SGExpression.hxx:11xx) to SGExpression<int>*:

(gdb) frame 5
#5 0x00007ffff6c99569 in simgear::PredicateExpression<int, std::equal_to>::eval (this=0xb6d9e70, value=<optimized out>, b=<optimized out>) at /build/simgear-mmipqT/simgear-3.0.0/simgear/structure/SGExpression.hxx:1184 1184 /build/simgear-mmipqT/simgear-3.0.0/simgear/structure/SGExpression.hxx: No such file or directory.
(gdb) print *(simgear::PredicateExpression<int, std::equal_to> *) 0xb6d9e70
$2 = {<simgear::GeneralNaryExpression<bool, int>> = {<SGExpression<bool>> = {<simgear::Expression> = {<SGReferenced> = {_refcount = {mValue = 1}}, _vptr.Expression = 0x7ffff6f26150 <vtable for simgear::EqualToExpression<int>+16>}, <No data fields>}, _expressions = std::vector of length 2, capacity 2 = {{_ptr = 0xb6d9de0}, {_ptr = 0xb6d9e10}}}, _pred = {<std::binary_function<int, int, bool>> = {<No data fields>}, <No data fields>}}
(gdb) print *(SGExpression<bool> *) 0xb6d9de0
$22 = {<simgear::Expression> = {<SGReferenced> = {_refcount = {mValue = 1}}, _vptr.Expression = 0x7ffff6f25e50 <vtable for simgear::ConvertExpression<double, float>+16>}, <No data fields>}

This is fixed by

--- /home/rnpalmer/Debian/sourcepkgs/flightgear-data/Effects/model-combined-transparent.eff 2014-10-21 09:38:48.975690231 +0100 +++ /usr/share/games/flightgear/Effects/model-combined-transparent.eff 2014-10-21 18:06:00.895969579 +0100
@@ -12,7 +12,7 @@ and fallback to plain transparency when
                        <and>
                          <equal>
                                
<float-property>/sim/rendering/shaders/model</float-property>
-                               <value type="int">0</value>
+                               <value type="float">0</value>
                          </equal>
                          <or>
                                <less-equal>

(This change has already been made upstream as part of https://gitorious.org/fg/fgdata/commit/7e7e0ca450bc14575c64f4fbaa4a1f97cdf6b5f8 , though they reported graphical corruption rather than an outright crash)
--- End Message ---
--- Begin Message ---
Source: flightgear-data
Source-Version: 3.0.0-2

We believe that the bug you reported is fixed in the latest version of
flightgear-data, 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 766...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Wanner <mar...@bluegap.ch> (supplier of updated flightgear-data 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Fri, 07 Nov 2014 17:28:09 +0100
Source: flightgear-data
Binary: flightgear-data-base flightgear-data-ai flightgear-data-aircrafts 
flightgear-data-models flightgear-data-all fgfs-base fgfs-aircraft-base 
fgfs-models-base fgfs-scenery-base
Architecture: source all
Version: 3.0.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian FlightGear Crew <pkg-fgfs-c...@lists.alioth.debian.org>
Changed-By: Markus Wanner <mar...@bluegap.ch>
Description:
 fgfs-aircraft-base - FlightGear aircraft data - transitional dummy package
 fgfs-base  - FlightGear base data - transitional dummy package
 fgfs-models-base - FlightGear models data - transitional dummy package
 fgfs-scenery-base - FlightGear scenery data - transitional dummy package
 flightgear-data-ai - FlightGear Flight Simulator -- standard AI data
 flightgear-data-aircrafts - FlightGear Flight Simulator -- standard aircraft
 flightgear-data-all - FlightGear Flight Simulator - virtual package
 flightgear-data-base - FlightGear Flight Simulator -- base files
 flightgear-data-models - FlightGear Flight Simulator -- standard models
Closes: 766251
Changes:
 flightgear-data (3.0.0-2) unstable; urgency=medium
 .
   [ Rebecca N. Palmer ]
   * Fix type mismatch crash. Closes: #766251.
 .
   [ Markus Wanner ]
   * Add patch translation-update-pt.diff.
Checksums-Sha1:
 9a1bf93db316d436ae1065acba27780260ca67a0 3247 flightgear-data_3.0.0-2.dsc
 3a34243407480adeab3af9bff8312c465b612a87 6400 
flightgear-data_3.0.0-2.debian.tar.xz
 c4659e09db3702231c2f7dcdb29c4bac94352f6b 565941100 
flightgear-data-base_3.0.0-2_all.deb
 183fb95aefcaef22aa52b396daf2879ba02da5fd 191275150 
flightgear-data-ai_3.0.0-2_all.deb
 d6d658e31dd263033aadb4fcd7bb707a7574042f 151955620 
flightgear-data-aircrafts_3.0.0-2_all.deb
 4b72d7d1b4d4fc68176d0a473ad451847850fde5 92819304 
flightgear-data-models_3.0.0-2_all.deb
 c16fe3bd660cc52a02b5372f8a2f58c9d97b75a4 4988 
flightgear-data-all_3.0.0-2_all.deb
 47cbd4eee576e40e5e4886b83f68800958758501 4948 fgfs-base_3.0.0-2_all.deb
 0bf3881ed78200e79e7feb4f45ad2a89ed7494b5 4958 
fgfs-aircraft-base_3.0.0-2_all.deb
 2c1871d49b53ddab77b6dab332fe8fbf3d44611f 4952 fgfs-models-base_3.0.0-2_all.deb
 d18a339a3cebafaf1ce843635e902c5ffab7a1c5 4954 fgfs-scenery-base_3.0.0-2_all.deb
Checksums-Sha256:
 67487d431d34b6a012c2ddda107ca1a8ae890fee065bfd9a32ac089aef2c9170 3247 
flightgear-data_3.0.0-2.dsc
 f12ff054aeff3a78cb5a1c88e74d7a71ad9e89455b311cf19adffb55a3fa06e3 6400 
flightgear-data_3.0.0-2.debian.tar.xz
 f4e9a7ba105e853c42121f414e63625475f95ffb63357612385bdc53219edd01 565941100 
flightgear-data-base_3.0.0-2_all.deb
 83e8129be6be85847c5246b44baf4d51732261ad4879c8d8adad9cc9d87de194 191275150 
flightgear-data-ai_3.0.0-2_all.deb
 81192baf40e41b90b15b9e65e23ed27ea2ef6065cb3bf130ab5d46f52cc46178 151955620 
flightgear-data-aircrafts_3.0.0-2_all.deb
 53559dab48fe57d8ace4e84f0008484327c6d9b3e483fd6a56211042b8c48748 92819304 
flightgear-data-models_3.0.0-2_all.deb
 57e66fd1480dd3533996baf30e162bd970f3960124021e99b57aa189a92e5014 4988 
flightgear-data-all_3.0.0-2_all.deb
 f442b196f73d3f0a4034b306f69fc80170119247ad93f29672334625eeac583d 4948 
fgfs-base_3.0.0-2_all.deb
 06c4ac8840cf9afc85a2b5a9c0e251f75ae5dace6199cc149266bc8993b2e421 4958 
fgfs-aircraft-base_3.0.0-2_all.deb
 59f9946cfe88598751a79136c893ccda42896a1a82012410fb5e3b0b800ecd87 4952 
fgfs-models-base_3.0.0-2_all.deb
 94d5cfe2283b31cde7a2b049d038c20dc9be45b11d97b7f31c75b84afcfac7b2 4954 
fgfs-scenery-base_3.0.0-2_all.deb
Files:
 478930a3e4bcd9babf76ee31d69e8218 3247 games extra flightgear-data_3.0.0-2.dsc
 c13aff9d44ea729b41bd25f9f824076d 6400 games extra 
flightgear-data_3.0.0-2.debian.tar.xz
 354a5585ee4ed866c505b2b17cc960a4 565941100 games extra 
flightgear-data-base_3.0.0-2_all.deb
 178b2c6b2b77248d19291e17fd1f7496 191275150 games extra 
flightgear-data-ai_3.0.0-2_all.deb
 c7dd33bea9558f13158e8fdc4c9e56c5 151955620 games extra 
flightgear-data-aircrafts_3.0.0-2_all.deb
 74cc2886fa2895b35123a45f1d3b7e69 92819304 games extra 
flightgear-data-models_3.0.0-2_all.deb
 e6f1dd84325f6320feb989e71232c902 4988 games extra 
flightgear-data-all_3.0.0-2_all.deb
 6eb957150ca966068fc03c81da6baf0e 4948 oldlibs extra fgfs-base_3.0.0-2_all.deb
 f385d32b943f6f93b9eb3e2ed5a4b859 4958 oldlibs extra 
fgfs-aircraft-base_3.0.0-2_all.deb
 280171df9216b1061eb5eca45a51a894 4952 oldlibs extra 
fgfs-models-base_3.0.0-2_all.deb
 18133c75ff851872e4a93fb3013f31a2 4954 oldlibs extra 
fgfs-scenery-base_3.0.0-2_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