bugGnash - The GNU Flash player - Bugs: bug #20272, gnash configured --disable-shared...

 
 

bug #20272: gnash configured --disable-shared always segfaults immediately

Submitted by:  Martin Guy <martinwguy>
Submitted on:  Tue 26 Jun 2007 08:42:07 PM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 04 Jul 2007 11:09:53 AM UTC, comment #5:

Yes, I was building --disable-debugger and
yes, the problem seems to have gone away now.

Martin Guy <martinwguy>
Tue 03 Jul 2007 04:57:10 PM UTC, comment #4:

It was fixed here by removing a dangerous use of a module-static variable in Global.cpp.
Can you try confirm it's fixed also for you ?

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 03 Jul 2007 04:45:06 PM UTC, comment #3:

I just rebuilt with --disable-debugger, and am experiencing this segfault !!
Can you all confirm you have debugger disabled ?

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 03 Jul 2007 12:54:12 AM UTC, comment #2:

Actually, my builds with --disable-shared work fine, while the ones w/out have problems with video...

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sat 30 Jun 2007 05:55:29 PM UTC, comment #1:

I'm experiencing this segfault too:

(gdb) run
Starting program: /usr/local/bin/gnash
[Thread debugging using libthread_db enabled]
[New Thread 805547648 (LWP 31544)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 805547648 (LWP 31544)]
0x0f476234 in pthread_mutex_lock () from /lib/libpthread.so.0

System: ubuntu feisty on powerpc

Gnash configuration:

./configure --disable-klash --enable-renderer=agg --disable-debugger --disable-shared

(GTK GUI, mad media handler)

Anonymous
Tue 26 Jun 2007 08:42:07 PM UTC, original submission:

All builds I have tried wih --disable-shared segfault immediately regardless of parameters

Environment: Debian etch AMD32

Configuration: configure --disable-cygnal --disable-debugger --enable-maintainer-mode --disable-shared --enable-renderer=opengl --enable-gui=gtk --enable-media=ffmpeg

Run:$ gui/gnash
Segmentation fault

Stack Backtrace:$ gdb gui/gnash
...
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run
Starting program: /home/martin/lulu/opengl-gtk/gui/gnash
[Thread debugging using libthread_db enabled]
[New Thread -1501546816 (LWP 22707)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1501546816 (LWP 22707)]
0xa7796024 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) backtrace
#0 0xa7796024 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1 0xa77a7285 in boost::mutex::do_lock ()
from /usr/lib/libboost_thread-gcc-mt-1_33_1.so.1.33.1
#2 0x0809fc3a in gnash::LogFile::log (this=0x0,
msg=0xafb9c360 "Plugins path: /usr/local/lib/gnash/plugins")
at /usr/include/boost/thread/detail/lock.hpp:38
#3 0x0809fda7 in gnash::log_msg (fmt=0x8225e84 "Plugins path: %s")
at /home/martin/lulu/gnash/libbase/log.cpp:168
#4 0x081f01fd in Extension (this=0x826c9a0)
at /home/martin/lulu/gnash/libbase/extension.cpp:81
#5 0x0818bddb in __static_initialization_and_destruction_0 (
__initialize_p=<value optimized out>, __priority=<value optimized out>)
at /home/martin/lulu/gnash/server/asobj/Global.cpp:95
#6 0x08201595 in __do_global_ctors_aux ()
#7 0x080999d9 in _init ()
#8 0x08201529 in __libc_csu_init ()
#9 0xa703ce5d in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#10 0x0809b771 in _start () at ../sysdeps/i386/elf/start.S:119
(gdb)

Martin Guy <martinwguy>

 

(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 martinwguy (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 04 Jul 2007 11:09:53 AM UTCmartinwguyStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 03 Jul 2007 04:57:10 PM UTCstrkStatusNeed Info=>Ready For Test
      Assigned tonihilus=>strk
    Tue 03 Jul 2007 04:45:06 PM UTCstrkStatusNone=>Need Info
    Thu 28 Jun 2007 09:24:46 PM UTCnihilusCategoryNone=>build
      Assigned toNone=>nihilus

    Back to the top


    Powered by Savane 3.1-cleanup1