Linux SIGSEGV on window open
Linux is crashing with the following error when opening
windows:
"Application crashed with an unhandled SIGSEGV"
I can cause the error to occur with a simple test script at
random intervals.
Sometimes it will crash on as little as 2 windows and other
times at 50+
windows. This was occurring with the beta SDK and is still
happening with the
latest version. Here is my simple test app code:
function appLoad(){
var num = 0;
var timer = new air.Timer(1000);
timer.addEventListener('timer', function () {
air.trace('create window')
var newWindow = air.HTMLLoader.createRootWindow(true, null,
true);
num++
air.trace('load url ' + num)
newWindow.load(new air.URLRequest('/testwin.html'));
timer.start()
I will reply with the crash log as it is too long to post by
forum rules.
Linux is crashing with the following error when opening
windows:
"Application crashed with an unhandled SIGSEGV"
I can cause the error to occur with a simple test script at
random intervals.
Sometimes it will crash on as little as 2 windows and other
times at 50+
windows. This was occurring with the beta SDK and is still
happening with the
latest version. Here is my simple test app code:
function appLoad(){
var num = 0;
var timer = new air.Timer(1000);
timer.addEventListener('timer', function () {
air.trace('create window')
var newWindow = air.HTMLLoader.createRootWindow(true, null,
true);
num++
air.trace('load url ' + num)
newWindow.load(new air.URLRequest('/testwin.html'));
timer.start()
I will reply with the crash log as it is too long to post by
forum rules.
Similar Messages
-
I had multiple windows opened and accidentally closed one of the windows. How do I restore the window I accidentally closed?
You can use this button to go to the currently used Firefox profile folder:
*Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
*http://kb.mozillazine.org/Profile_folder_-_Firefox
Windows hides some file extensions by default.
Among them are .html and .ini and .js and .txt, so you may only see file name without file extension.
You can see the real file type (file extension) in the properties of the file via the right-click context menu in Windows Explorer. -
i like to know when i use fire fox why it take so much resource of my computer ? it almost 1/4 of my 4 gig of memory , i have 6,-8 page of firefox window open at cpu level its is almost 25% been used up. i see its taking too much resource i wonder why ?? how not to take so much and it crashes often.. any help,ive 24.0 ,
Firefox add-ons take some memory. This amount varies depending on the add-on.
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
* On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
[[Image:FirefoxSafeMode|width=520]]
''Once you get the pop-up, just select "'Start in Safe Mode"''
[[Image:Safe Mode Fx 15 - Win]]
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
Does this decrease the memory usage? Please report back soon. -
With more than one window open in firefox 4 I starts to drain my memory
With mozilla 4 I have more than one window open and my memory which has 2 gigs in it starts to drain and then everything freezes.
Which Windows platform shouldn't make much difference. The screenshot may look as coming from an older Windows version, but the basics should be the same.
If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
*Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
* Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
Often, with 4 or 5 windows open, maybe 20 tabs total, firefox stutters when vertical scrolling pages. A restart fixes it.
I can often work all day with many more tabs than 20 open with no issues. So I'm pretty sure the issue is not a lack of system resources.
This last time I've noticed it, it is after waking my Macbook Air from sleep.Hello,
Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
'''Note:''' You might want to print these steps or view them in another browser.
#Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
#After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
#Delete the Firefox installation folder, which is located in one of these locations, by default:
#*'''Windows:'''
#**C:\Program Files\Mozilla Firefox
#**C:\Program Files (x86)\Mozilla Firefox
#*'''Mac:''' Delete Firefox from the Applications folder.
#*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
#Now, go ahead and reinstall Firefox:
##Double-click the downloaded installation file and go through the steps of the installation wizard.
##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
Please report back to see if this helped you!
Thank you. -
I clicked on a link of a site I thought was ok, but a bad window opened.
I clicked on a link. A new window opened up from https://rts.sparkstudios.com. It is clearly a malware window, I have not pressed any buttons on this window. Its close button is grayed out. I cannot close it. I can close firefox and restart the session, but the window comes back. If I don't restart the session it'll be fine. But is there a way to just kill off the offending window?
Try to rename (or delete) the mimeTypes.rdf file in the Firefox profile folder to reset all file actions.
*http://kb.mozillazine.org/mimeTypes.rdf
*http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions
You can use this button to go to the currently used Firefox profile folder:
*Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
*http://kb.mozillazine.org/Profile_folder_-_Firefox
You can check the value of the plugin.disable_full_page_plugin_for_types pref on the about:config page and remove the application/pdf part if present or reset the pref to the default via the right-click context menu if you want to display PDF documents in Firefox with another application (i.e. not the built-in PDF Viewer).
*http://kb.mozillazine.org/about:config
See also:
*https://support.mozilla.org/kb/view-pdf-files-firefox-without-downloading-them
*https://support.mozilla.org/kb/disable-built-pdf-viewer-and-use-another-viewer -
While surfing a small black window opens up with the firefox header and i cant close or minimize it
When i browse the internet a small black window opens up in the bottom right corner that i cant close or minimize and it has the firefox header. It came up randomly and I dont use many addons. What can i do?
If it works in Safe Mode and in normal mode with all extensions (Firefox/Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: Firefox > Quit Firefox; Linux: Firefox/File > Quit)
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Mx.core.Window open() not working on PC / Windows XP
This seems odd to me almost like some sort of popup blocking trouble...which wouldnt make sense in AIR.
I have an app the trys to create a mx.core.Window in the windowComplete event. It works fine on my mac and on linux, but on the pc I have for testing it refuses to open the window. I have verified that the windowComplete event is firing and calling the appropriate function. If I call the same code from a click handler of a button in the main WindowedApplication he window opens fine.
Am I missing something? Is there something special I have to do for the pc?
Thanks in advance.Sure, thanks for responding:
<mx:WindowedApplication windowComplete="init()" .........removed excess here
<mx:Script>
<![CDATA[
import mx.core.Window;
protected var theWIndow:Window;
protected function init():void{
theWindow = new Window();
theWindow.open();
]]>
</mx:Script>
</mx:WindowedApplication>
In my actual code I have a mxm component that extends Window, so the Window type would be that instead, but since it directly extends it there is no difference. I am actually using the fb.FBConnect code from the facebook-actionscript-api and its open() call also fails on the pc...that is unless I start the process from a flex Button click, then it all works. -
Problem with Sessions and window.open
Hi,
Hi everyone,
Help Please!!!
I am working with Sevlet session objects and HTML forms and windows. I have an HTML form for the user to supply a username and password. Once the user clicks submit I need to open another browser window that has no toolbar, no location, no status bar, etc. The user should also be able to go back to that login screen and login again and open a 2nd, 3rd, etc. instance of the application. My problem is that each application is being asigned the same sessionId. I believe it is being asigned to the main login window and thus to the other child windows it opens. Is there a way to work around this? Do I need to make the user open another browser window to login? I need to be able to let the user open multiple instances of the application with unique session ids for each.
Any insight is GREATLY appreciated on this topic. Anything you can tell me about sessions (Java), IE, window.open would help greatly!
THANK YOU IN ADVANCE!!!
MATo achieve this, you must introduce another level of
abstraction to the Servlet specifications. When you
work with JSP/Servlets you use mostly the HttpSession
to handle user related tasks, and the aplication
context, for things that are common to all users. But
inside the HttpSession scope, you want to create
containers that have 'smaller' scope and are uniquely
identified.
A ipothetical scenario :Let's say that you must have
multiple connections to several databases, on each
database user rights beeing diferrent, and you must be
able to track user actions globaly, and eventualy
capture a 'Close Application event' and close all db.
connections.
1. when the user first accesses the login frame create
the HttpSession. In the HttpSession object, store a
Hastable (let's call it 'ConnectionTable'). Each
object in the Hashtable must identify uniqely a
database connection. Now, to create unique identifiers
ids, make the keys in the hashtable java.lang.Long
objects, created using System.getCurrentTimeMillis().
This guaranties there will be no possible confusion.
From each new open window, on each request to the
server, along with the usefull parameters, send the
connection identifier. When proccessing the request,
select the object from the Hastable wich corresponds
to the ID.
2. Now, the values in the ConnectionTable, must act as
the containers that I mentioned in the first
paragraph. The simplest way to do this is to have
again a Hashtable derived class to do the job, wich
exploses methods similar to HttpSession: setAttibute (
Object key, Object value) and getAttibute ( Object
key, Object value). This container may use internally
a Hashtable to store object, and explose only the
getAttribute and setAttribute methods for clarity. Any
way, this is a problem of implementation. Let's call
this class CustomSession.
Now, a textual activity diagram:
1 user accesses the main page, you start a new
HttpSession; In the HttpSession object, store the
ConnectionTable object.
2. the user enters the userID and pwd and adatabase
name, and a new window is opened. Let's supose the
data entered is valid.
3. when you process the login data, you create a new
CustomSession object. you put in it whatever you would
put in your HttpSession. You generate a unique
identifier using System.CurrentTimeMillis(). Put the
CustomSession object in the ConnectionTable, using the
generated id as key. Send the response.
..... later on .....
100. the user asks for a particular action to be
performed - e.g. a row deletion. The page contains a
form with text field where the user introduces the
row number, a submit button and a hidden input with
the ID.
101. you process the data. Get the ID from the request
object, get the ConnectionTable from the session, get
the CustomSession using the ID as key, do whatever
your logic was doing, but obtaining the objects from
the CustomSession instead of HttpSession
NicNic,
Very slick idea. I think that it could work and it seems that there would be not security issues because the id that you would store on the client side is the Unique Identifier and not the actual Session Id. Do you forsee any security issues for this implementation? -
This does not appear to be a system issue, but rather a functional aspect of the browser windows. E.g., if I have 7 browser windows open to different sites... and all are Minimized, and I decide to open one to study, THEY ALL POP OPEN automatically. I am using Firefox v3.6.8 on Windows 7. This is an annoying behavior of the browser, and I am sure it can be somehow "turned off" but cannot determine how to do that. I have looked through all options. I am not a techie, but have reasonable proficiency with software apps.
This can happen if you drag a tab slightly down in the browser window while clicking.
Firefox has a feature called tear-off tabs
You can detach a tab from the current window and open it in a new window by dragging a tab in the browser window.
You can also do this via the right-click context menu of a tab: Move to New Window
You can drag that tab back to the tab bar in the original window to undo that detaching.
* https://addons.mozilla.org/firefox/addon/bug489729-disable-detach-and-t -
I am running Firefox 3.6.3 on my Mac G5 and my MacBook.
Since I installed Firefox 3.6.3, everytime I open Google Notifier, two Firefox browser windows open. This happens on both of my computers.
This never used to happen before, in the earlier versions.
How do I make it so that only one browser window opens?
== This happened ==
Every time Firefox opened
== I installed Firefox 3.6.3 ==
== User Agent ==
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7I got this all screwed up too.
hmm.. where to start?
3.6 and 4.0 beta - really aren't intended to play well together.
As has been mentioned above, they tend to write over each other.
I managed to get both 3.6.15 and 4.0 beta 12 on the same machine.
But, I had to do it several times.
I got lucky by deleting everything Mozilla, then installing 4.0b12, then 3.6.15 - while making sure that each installed into a separate folder.
I also took care to copy out a couple of BookMark BackUp files - just in case.
My old 3.6# had become so bloated - and, Unstable - for Me, it was time.
The bookmarks were all that I was still interested in.
All the Plugins, Themes, AddOns, etc... had slowed the app to a crawl.
So, I did as complete a wipe of Mozilla bloat code that I could, including profiles.
I then did some registry cleaning.
Then I installed 4.0b12 and 3.6.15.
I can't open them both at the same time.
If I open 3.6.15 first, then open 4.0b12 - the beta comes up as 3.6.15.
If I open 4.0b12 first, then open 3.6.15 - the 3.6 comes up as the beta.
This has a lot to do with both apps sharing the same default profile.
I hope to drop down to one app in the near future.
So, cobbling multiple profiles in order to diddle side by side apps - isn't worth it at this stage.
For me, I can't open FF 4.0b12 when my virus protection is running. PCTools doesn't like some thing about the way FF4.0 wants to phone home when it opens.
So, I can't commit to the 4.0b12, yet.
3.6.15 was crashing on open too - until I uninstalled the feedback addon. - go figure -.
Also, I can't get the 4.0b12 to start in safe-mode with the PCTools antivirus running.
At the rater they are going, I don't see 3.6.# going away any time soon. -
Since I started using FireFox version 4, every time I open a "new window", all other instances of FireFox windows open up. This is annoying as it often covers up instances I am currently using with instances that I don't wish to use right now. I can't seem to find a way to keep this behavior from occurring.
Try go to '''about:config''' search for '''browser.startup.homepage''' change its value to:
'''about:home''' - default page<br>
'''about:blank''' - blank page<br>
'''url''' - a page that you want
Also:
*[https://support.mozilla.org/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in safe mode]
*[https://support.mozilla.org/kb/reset-firefox-easily-fix-most-problems Reset Firefox]
*[https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware Problems caused by malwares]
*[https://support.mozilla.org/kb/how-to-fix-preferences-wont-save Preferences won’t save]
*[http://kb.mozillazine.org/Preferences_not_saved] -
How to get the window.opener object into a model window
Hi,
I m opening a new popup window with the help of window.showModalDialog(url,self,''). Now i want to access the opner window inside this popup window. Since this showModalDialog does not support window.opener so i passed 'self' as parameter and if i want to access the parent window i can access it with the help of window.dialogArguments . But the problem is window.dialogArguments is not an object .
for e.g.
var caller = window.opener
then caller can be used as object but if i do like this
var caller = window.dialogArguments
then i can't use caller as an object.
Can anybody tell me the correct way.
manishHi Manish,
I'm trying to use as well showModalDialog in IE and in the same time have a similar experience in other browsers (like Firefox) - similar to the Hotmail Empty Junk mail button, so here is a piece of code you might be interested in:
Caller page
// showModalDialog for Non-IE browsers
if (!window.showModalDialog) {
window.showModalDialog = function(sUrl, vArguments, sFeatures) {
var wFeatures = sFeatures.replace(/dialog/gi,"").replace(/:/gi,"=").replace(/;/gi,","); // plus a little more replacement
var modalWindow = window.open (sUrl, "_blank", wFeatures);
modalWindow.setFocusToWindow = function () {
modalWindow.focus();
modalWindow.setInterval ("setFocusToWindow()", 100);
// Show modal dialog...
window.showModalDialog ("modal_dialog.html", self, "dialogHeight: 300px; dialogWidth: 400px; center: yes; help: no; status: no")
modal_dialog.html
// IE only - other browsers will be fine
if (window.dialogArguments) {
window.opener = window.dialogArguments;
// Write something back in the opener window
window.opener.document.write ("here you go..."); -
Request.getParameter is NULL from window.open form submit
Hi all,
We have one portlet application where a jsp page has a link which opens as a child window using the window.open function in javascript.
It has a form and some textboxes with a save submit button.When the save button is clicked the portlet processAction is called but when i try to set the renderrequest all the request.getParameters are null .I have tried both the ActionRequest and HttpServletRequest and both have nul values.
As a result me Save is failing since the request.getparametrs are null.I added the "save" as part of form action URL and its getting passsed but the other, i am unable to fetch.
My Form action is : <form name="saveEntries" id="saveEntries" action="<portlet:actionURL secure="true"/>&action=save&_pageLabel=ABC" method="post">
My process action code is :
Enumeration<String> parameters = request.getParameterNames();
while(parameters.hasMoreElements()) {
String parameter = parameters.nextElement();
String[] values = request.getParameterValues(parameter);
if(values != null && values.length > 1){
response.setRenderParameter(parameter, values);
} else {
response.setRenderParameter(parameter, request.getParameter(parameter));
if(request.getParameter(parameter)!=null && "save".equalsIgnoreCase(request.getParameter(parameter))){
HttpServletRequest httpRequest = (HttpServletRequest) request.getAttribute("javax.servlet.request");
Enumeration parameterNames = httpRequest.getParameterNames();
Enumeration<String> httpparameters = parameterNames;
while(httpparameters.hasMoreElements()) {
String httpparameter = httpparameters.nextElement();
String[] httpvalues = httpRequest.getParameterValues(httpparameter);
if(httpvalues != null && httpvalues.length > 1){
response.setRenderParameter(httpparameter, httpvalues);
} else {
logger.debug("----------------->:ApproveTime else processAction = :Getting HTTP :parameter:"+parameter);
logger.debug("----------------->:ApproveTime else processAction = :Getting HTTP :request.getParameter(parameter):"+request.getParameter(parameter));
response.setRenderParameter(httpparameter, httpRequest.getParameter(httpparameter));
Any help is highly appreciated.Hello,
One potential reason why it isn't working for you is that the Java Portlet specifications (JSR168 and JSR286) don't allow URLs to be manipulated once they are created with a a portlet:xxxURL tag. The reason for this is that the portlet container needs to be able to rewrite the URLs to properly go back through the portal framework (or over WSRP if running the portlet remotely) and to encode all the parameters needed. The portal framework could even change it from a URL to a Javascript action, where simply appending extra "¶mName=someValue" onto the end of the generated URL won't work. So this:
<form action="<portlet:actionURL secure="true"/>&action=save&_pageLabel=ABC" method="post">isn't legal by the portlet specification-- if you want to add parameters to the actionURL, you can by doing this:
<form action="<portlet:actionURL secure="true"><portlet:param name="action" value="save"/><portlet:param name="_pageLabel" value="ABC"/></portlet:actionURL>" method="post">which will add the parameters to the URL in a way that will always work with the portal framework.
One other thing to note- it looks like you're just trying to copy all of the action parameters in the request into render parameters in the response; this can be done much easier like this:
response.setRenderParameters(request.getParameterMap());Kevin -
Problem with window.close and window.open
I am having two suspected Actionscript problems which only seem to be happening with Flash player 9 and later.
BACKGROUND:
I have a client who needs browser-launched swf files to play from a CD-ROM (I do not want to use the Flash projector). These files were created a few years ago using Actionscript 1 & 2 code and everything has worked perfectly until now.
Here is the setup:
First, an autorun file on the root of the CD runs and writes a 'trust file' to the 'Macromed' directory. The autorun next launches 'index.htm' which is simply an html page containing a series of links (topic1.htm; topic2.htm; and so on). Next, let's assume the student clicks the 'topic1.htm' link from the 'index.htm' page. The 'topic1.htm' link launches a web page (also located on the CD) which contains and displays 'topic1.swf'. So far, everything works fine.
Here is where the two problems happen.
Problem 1:
I have an 'Exit' button within each swf (remember each swf is contained inside an html page). The 'Exit' button has always worked properly, but suddenly does not work in Flash player 9. I am using the following Actionscript 2 code on the 'Exit' button:
on (release) {
getURL("javascript:window.close()");
The 'Exit' button has always worked using this code (and still works in Flash player 8 and lower). However, it does nothing when played using Flash player 9.
Problem 2:
There are links to html popup windows within the 'topic1.swf' file (remember 'topic1.swf' is contained inside 'topic1.htm'). Each popup window contains a swf file that is used to present a demonstration. When the student clicks the 'demo1.htm' link from 'topic1.swf', an html popup window SHOULD load and display 'demo1.swf' inside the 'demo1.htm' window. The main ('topic1.htm') window stays open so that the student can return to the topic after completing the demo. This has always worked properly until Flash player 9. Here is the Actionscript 2 code
which I am using on the button inside 'topic1.swf' to launch 'demo1.htm':
on (release) {
getURL("javascript:launchWin2('webpage2.html');");
ADDITIONAL INFO:
'topic1.htm' contains the following code which is used to support the Actionscript code listed under 'Problem 2' above.
<SCRIPT LANGUAGE=JavaScript>
<!--
var padvar="";
var childwind;
function launchWin2(arg) {
openWin2(arg);
function openWin2(arg) {
childwind = window.open(arg,"padwind2","menubar=no,location=no,status=no,scrollbars=no,width=750px,he ight=500px,left=0,top=0");
//-->
</SCRIPT>
I would appreciate any help anyone can offer. I am wondering if the problem has to do with a need to use ONLY Actionscript 3 code from Flash player 9 onwards.
Thanks!
TerryYou may have '''Switched ON Caret Browsing'''. press '''F7 (on Mac: fn + F7)''' to toggle '''Caret Browsing ON/OFF'''
* click '''Firefox''' button and click '''Options''' -> Advanced -> General -> remove
Checkmark from '''Always use the cursor keys to navigate within pages'''
* http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
* http://kb.mozillazine.org/Accessibility_features_of_Firefox
Check and tell if its working.
Maybe you are looking for
-
No text message forwarding option in my iphone 5 ios 8.1
Please help! I have downloaded the latest ios 8.1 on my iphone 5, and osx yosemite in my macbook. But i still dont have a "TEXT MESSAGE FORWARDING" option in my iphone 5. I have already included my icloud email in the send and receive options. but i
-
Noticed last night (Sunday 3/18) that a couple of shows on Series recordings that we expected to record had not. Went to View Schedule - blank. All gone. They are still showing in Series Recordings but not in the Schedule. So we have missed several p
-
Illustrator PDF saving as an InDesign PDF
Strange... I have CS5. Just recently, when I try to save an AI document as a PDF, it looks like everything works correctly, but the resulting icon on my desktop shows ID (pdf). When I click on it, it says InDesign can not open the document because
-
How to Download Data in Excel Formate
Hi Friend, I have one doubt on webdynpro with java. Req: For download data in Excel formate. I will follow this http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3596. [original link is broken] [original link is broken] [original link is broken]
-
Transporter L/r number and invoice
Hi, My client requirement is: They have a contract with a transporter to transfer their FG to different states. Once in month or 3 month all the transporter invoice are cleared. They want to track the L/R number,with respect to L/R number they will c