bugGnash - The GNU Flash player - Bugs: bug #18292, LocalConnection: mmap() failed:...

 
 

bug #18292: LocalConnection: mmap() failed: Operation not permitted

Submitted by:  Sandro Santilli <strk>
Submitted on:  Tue 14 Nov 2006 12:11:33 PM UTC  
 
Category: ActionScriptSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Rob Savoye <rsavoye>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Fri 17 Nov 2006 05:32:44 PM UTC, comment #6:

Yep, that does it:

18:32:07: $Id: dejagnu.as,v 1.4.2.1 2006/10/30 14:28:55 rsavoye Exp $
18:32:07: SWF6 - Gnash-0.7.2
18:32:07:
18:32:07: PASSED: LocalConnection::LocalConnection() constructor [31]
18:32:07: PASSED: LocalConnection::close() exists [38]
18:32:07: PASSED: LocalConnection::connect() exists [44]
18:32:07: PASSED: LocalConnection::domain() exists [50]
18:32:07: PASSED: LocalConnection::send() exists [56]
18:32:07: PASSED: LocalConnection::domain() returned localhost [65]
18:32:07: PASSED: LocalConnection::connect() [83]
18:32:07: PASSED: LocalConnection::close() [91]
18:32:07: Totals:
18:32:07: passed: 8
18:32:07: failed: 0

Sandro Santilli <strk>
Project Member
Fri 17 Nov 2006 12:16:49 AM UTC, comment #5:

Can you see if it still fails is you remove the PROT_EXEC flag ?

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Fri 17 Nov 2006 12:14:44 AM UTC, comment #4:

mmap2(NULL, 12288, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED, 6, 0) = -1 EPERM
(Operation not permitted)

Sandro Santilli <strk>
Project Member
Thu 16 Nov 2006 03:34:40 PM UTC, comment #3:

Try "-e mmap2" then, or just strace, which will dump all the system calls, and you can grep for mmap later.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Thu 16 Nov 2006 07:52:46 AM UTC, comment #2:

What am I doing wrong ?

[lo:actionscript.all]$ strace -e mmap ../../utilities/gprocessor -v LocalConnection.swf
strace: invalid system call `mmap'

[lo:actionscript.all]$ libtool --mode=execute strace -e mmap ../../utilities/gprocessor -v LocalConnection.swf
strace: invalid system call `mmap'

Sandro Santilli <strk>
Project Member
Tue 14 Nov 2006 06:46:03 PM UTC, comment #1:

Run this using "strace -e mmap" so I can hopefully see the error messages from the trace. It's entirely likely to be an issue with "testing", as this code runs on many machines.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Tue 14 Nov 2006 12:11:33 PM UTC, original submission:

I get this warning (and a subsequent failure) by running
gprocessor -v LocalConnection.swf in the 0.7.2 and head branches:

WARNING: mmap() failed: Operation not permitted

The failure is then:

FAILED: LocalConnection::connect() [85]

Note that the testcase succeeds in my debian stable machine, and only fails on my debian testing one.

Sandro Santilli <strk>
Project Member

 

(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

 

CC list is empty

 

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 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 17 Nov 2006 11:14:47 PM UTCstrkStatusConfirmed=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1