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

 
 

bug #32668: makecheck fails on aptosid

Submitted by:  Gabriele Giacone <gg0>
Submitted on:  Thu 03 Mar 2011 05:29:13 PM UTC  
 
Category: buildSeverity: 3 - Normal
Release: masterStatus: Fixed
Privacy: PublicAssigned to: Gabriele Giacone <gg0>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project MemberIn charge of this item.
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>
Project 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>
Project 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>
Project MemberIn charge of this item.
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>
Project 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>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by gg0
  • -unavailable- added by bwy (Posted a comment)
  • -unavailable- added by gg0 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Mar 2011 11:51:13 PM UTCgg0StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat 19 Mar 2011 08:59:40 PM UTCgg0StatusIn Progress=>Ready For Test
      Assigned toNone=>gg0
    Fri 04 Mar 2011 10:56:15 AM UTCgg0Categorytestsuite=>build
      StatusWorks For Me=>In Progress
      Open/ClosedClosed=>Open
    Thu 03 Mar 2011 11:58:49 PM UTCgg0Carbon-Copy-=>Added massimo di stefano
    Thu 03 Mar 2011 08:17:52 PM UTCbwyStatusNone=>Works For Me
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1