bugGnash - The GNU Flash player - Bugs: bug #32668, makecheck fails on aptosid

 
 

bug #32668: makecheck fails on aptosid

Submitter:  Gabriele Giacone <gg0>
Submitted:  Thu 03 Mar 2011 05:29:13 PM UTC
   
 
Category:  build Severity:  3 - Normal
Release:  master Status:  Fixed
Privacy:  Public Assigned to:  gg0
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 19 Mar 2011 08:59:40 PM UTC, comment #5: 

Massimo, please run as root:
# echo "/usr/local /tmp/usr-local tmpfs ~buildbot" >>/etc/security/namespace.conf
# echo "session required pam_namespace.so" >>/etc/pam.d/common-session

Then restart buildbot service.
This makes buildbot user ignore /usr/local dir contents and build will find system libs only.

Thanks to antrik for the hint.

Gabriele Giacone <gg0>
Group Member
Fri 04 Mar 2011 04:44:12 PM UTC, comment #4: 

You can also use the ldd program to see which libraries the executable will use to link at runtime. Gnash's configure assumes if you have a package in /usr/local, then you want to override the system package. As a question, why is boost in /usr/local ? That should only be for user compiled packages.

Rob Savoye <rsavoye>
Group administrator
Fri 04 Mar 2011 09:47:20 AM UTC, comment #3: 

Problem seems to be the build is using headers from a version of boost and libs from another.

I suggested Massimo to rename /usr/local to /usr/local.tmp for a quick test of such theory.

Sandro Santilli <strk>
Group Member
Thu 03 Mar 2011 11:58:49 PM UTC, comment #2: 

configure [1] says boost and ffmpeg are found under /usr/local. so I tried to force system ones [2] by passing:

--with-boost-incl=/usr/include
--with-boost-lib=/usr/lib
--with-ffmpeg-incl=/usr/include/libavcodec
--with-ffmpeg-lib=/usr/lib

but it behaves in the same way and even backtrace is pretty the same with some references to /usr/lib and some to /usr/local. Anything missing in autotools?

[1] http://gnashdev.org:8010/builders/aptosid-linux-amd64/builds/41/steps/configure/logs/stdio
[2] http://www.gnashdev.org:8010/builders/aptosid-linux-amd64/builds/42

buildbot@stereo1:/home/habcam$ cd  /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec
buildbot@stereo1:~/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec$ libtool --mode=execute gdb --args ../../utilities/gprocessor -r11 -f10 -v /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec/src/test/trace/abort-really-aborts-5.swf
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/utilities/.libs/lt-gprocessor...done.
(gdb) run
Starting program: /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/utilities/.libs/lt-gprocessor -r11 -f10 -v /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec/src/test/trace/abort-really-aborts-5.swf
[Thread debugging using libthread_db enabled]
6904:1] 17:55:24 SECURITY: Checking security of URL 'file:///home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec/src/test/trace/abort-really-aborts-5.swf'
6904:1] 17:55:24 SECURITY: Load of file /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec/src/test/trace/abort-really-aborts-5.swf granted (under local sandbox /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec/src/test/trace/)
6904:1] 17:55:24 SECURITY: Extensions disabled

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff47e9b89 in boost::thread::start_thread() ()
   from /usr/lib/libboost_thread.so.1.42.0
(gdb) bt
#0  0x00007ffff47e9b89 in boost::thread::start_thread() ()
   from /usr/lib/libboost_thread.so.1.42.0
#1  0x00007ffff77ceeff in thread<boost::_bi::bind_t<void, void ()(gnash::SWFMovieLoader&, gnash::SWFMovieDefinition), boost::_bi::list2<boost::reference_wrapper<gnash::SWFMovieLoader>, boost::_bi::value<gnash::SWFMovieDefinition*> > > >
    (this=0x755b10) at /usr/local/include/boost/thread/detail/thread.hpp:204
#2  gnash::SWFMovieLoader::start (this=0x755b10) at SWFMovieDefinition.cpp:139
#3  0x00007ffff77d1509 in gnash::SWFMovieDefinition::completeLoad (
    this=0x755800) at SWFMovieDefinition.cpp:357
#4  0x000000000040a705 in play_movie (filename=..., runResources=...)
    at processor.cpp:452
#5  0x000000000040c92b in main (argc=<value optimized out>,
    argv=<value optimized out>) at processor.cpp:371
(gdb)

Gabriele Giacone <gg0>
Group Member
Thu 03 Mar 2011 08:17:52 PM UTC, comment #1: 

I've installed aptosid, compiled Gnash and run the testsuite, and these segfaults don't happen. It seems that the problems are related to the slave; possibly there is a deficiency in Gnash's configure code, but possibly it's just a spaghetti setup.

I do get some failures (not crashes) in the swfdec testsuite, but these should be treated as individual bugs.

Benjamin Wolsey <bwy>
Group Member
Thu 03 Mar 2011 05:29:13 PM UTC, original submission:  


full log at http://www.gnashdev.org/buildbot/builders/aptosid-linux-amd64/builds/40

buildbot@stereo1:/home/habcam$ cd /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec
buildbot@stereo1:~/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec$ libtool --mode=execute gdb --args ../../utilities/.libs/lt-gprocessor -r11 -f10 -v /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec/src/test/trace/abort-really-aborts-5.swf
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/utilities/.libs/lt-gprocessor...done.
(gdb) run
Starting program: /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/utilities/.libs/lt-gprocessor -r11 -f10 -v /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec/src/test/trace/abort-really-aborts-5.swf
[Thread debugging using libthread_db enabled]
26338:1] 12:02:22 SECURITY: Checking security of URL 'file:///home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec/src/test/trace/abort-really-aborts-5.swf'
26338:1] 12:02:22 SECURITY: Load of file /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec/src/test/trace/abort-really-aborts-5.swf granted (under local sandbox /home/buildbot/buildbot/gnash/build/aptosid-linux-amd64/build/testsuite/swfdec/src/test/trace/)
26338:1] 12:02:22 SECURITY: Extensions disabled

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff47e9b89 in boost::thread::start_thread() ()
   from /usr/lib/libboost_thread.so.1.42.0
(gdb) bt
#0  0x00007ffff47e9b89 in boost::thread::start_thread() ()
   from /usr/lib/libboost_thread.so.1.42.0
#1  0x00007ffff77ceeff in thread<boost::_bi::bind_t<void, void ()(gnash::SWFMovieLoader&, gnash::SWFMovieDefinition), boost::_bi::list2<boost::reference_wrapper<gnash::SWFMovieLoader>, boost::_bi::value<gnash::SWFMovieDefinition*> > > >
    (this=0x755b10) at /usr/local/include/boost/thread/detail/thread.hpp:204
#2  gnash::SWFMovieLoader::start (this=0x755b10) at SWFMovieDefinition.cpp:139
#3  0x00007ffff77d1509 in gnash::SWFMovieDefinition::completeLoad (
    this=0x755800) at SWFMovieDefinition.cpp:357
#4  0x000000000040a705 in play_movie (filename=..., runResources=...)
    at processor.cpp:452
#5  0x000000000040c92b in main (argc=<value optimized out>,
    argv=<value optimized out>) at processor.cpp:371
(gdb)

Gabriele Giacone <gg0>
Group Member

 

(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 strk (Posted a comment)
  • -email is unavailable- added by gg0
  • -email is unavailable- added by bwy (Posted a comment)
  • -email is unavailable- added by gg0 (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 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-03-23 gg0 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2011-03-19 gg0 StatusIn Progress Ready For Test
        Assigned toNone gg0
    2011-03-04 gg0 Categorytestsuite build
        StatusWorks For Me In Progress
        Open/ClosedClosed Open
    2011-03-03 gg0 Carbon-Copy- Added massimo di stefano <massimodisasha@gmail.com>
    2011-03-03 bwy StatusNone Works For Me
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code