General :: Debugging Browser Crash Via CLI?

Sep 14, 2011

I'm preparing for an interview and came across this question in a forum:

If your browser crashes, how would you debug it only using the command line?

For simplicity, let's assume it's a Firefox browser on a *nix environment.

View 2 Replies


ADVERTISEMENT

Programming :: Effective Debugging Or Improving Ones Debugging Skills ?

May 21, 2009

Does anyone know how can one improve his debugging skills or how can one narrow down the problem and try to get to the solution ASAP.Or rather how once should approach a problem.I know this is a bit vague question but I want to know how you people approach?

View 3 Replies View Related

Ubuntu Multimedia :: Flash Videos Crash Every Browser?

May 7, 2010

i have ubuntu 10 lts and have searched the forums and internet yet not resolved this issue so hope i`ve posted in the right place. i have installed, via the ubuntu software manager, the latest adobe flash as every browser i try crashes within at most ten minutes of trying to play a flash video full screen, usually within four minutes. i cannot play anything on bbc iplayer or videos fullscreen and i have no idea why. i have the latest flash plugin and have tried chromium, midori, firefox, opera, conkerer (not konqueror) and epiphany and every one crashes. tried firefox in safe mode and it still happens, opera just stops playing the video but all the other browsers crash except chromium which tells me the flash plugin stopped working. i really need it working and don`t want to have to return to windows just for flash so has any one an idea where i can start in solving it?

View 9 Replies View Related

Ubuntu :: Crash - Disc Check Hangs Then Browser Won't Open

Feb 1, 2011

Running Maverick on my desktop. Had a strange happening sometime last night. I generally leave the computer on all the time. When I got up this morning, I saw that my computer had rebooted and it said that it wanted to check for disc errors and that there was a problem with /home It checked until about 70%, at which point it stopped advancing for a half hour, so I did a hard reboot and choose "I"gnore when I got the message again.

The computer booted fine. The disc manager gui seemed to think my hard drive is fine, but I didn't do the full, slow check. My hard drive is about a month old. When I opened "open office" there as a document to recover, indicating that the thing did in fact crash sometime last night. The next odd thing- my "Opera" web browser doesn't open the browser. The command it is calling up is "/usr/bin/opera %U" Doesn't do anything, nothing shows up as running in the status monitor. Rebooting doesn't change anything with opera, and I still get the request to do a disc scan and to try to fix errors.

I uninstalled and reinstalled the latest version of opera. I uninstalled that and installed an earlier version of opera. Then, I reinstalled the latest version of opera. In terminal, typing "opera" gives me the message: Could not initialize Opera. Typing "sudo opera" opens Opera. Using the icon to open opera still points to the same place, and still doesn't work. So, here are my questions:

1- How do I get a logfile of the crash that happened last night?
2- How do I figure out if there is a problem with the /home folder or a problem otherwise with my hard disc? How do I fix that?
3- Where would I point the "opera" icon so it opens normally?
4- Is there any way to recover the information that I previously had in Opera, such as passwords? I used "my opera" to recover my latest bookmarks, but that doesn't save passwords. I'm thinking maybe those files are still around, even though I uninstalled and reinstalled opera.

View 3 Replies View Related

Ubuntu :: Natty Browser Randomly Causing System Crash

Jul 3, 2011

Whenever I'm browsing the web on one of my natty machines, I'm subject to periodic reboots that leave nothing in the syslog. Here's the two constants I've discovered thus far.

It only happens when I'm using a browser (plugin?).
It doesn't matter whether I'm in Chromium or Firefox.
It doesn't matter whether I use Unity or Gnome 2.
This happens every 2-3 days from what I can tell.
This problem is not power related because I've tested it with and without an UPS present.

The computer does a full reboot without any shutdown procedure.

The configuration of this computer is as follows:
Intel i3 2100
ECS H67 Dual Nic
Haupaugge Dual ATSC Tuner
MDADM RAID 10
8GB 1333MHz (MemTested)

The browser plugins are as follows:
Flash 10.3r181
VLC Multimedia Plugin (compatible Totem 2.32.0)
Windows Media Player Plug-in 10 (compatible; Totem)
DivX Web Player version 1.4.0.233
QuickTime Plug-in 7.6.6

View 3 Replies View Related

General :: Debugging A Makefile ?

Feb 24, 2011

Is it possible to debug a makefile? In a bash script I can use "set -x" so that all variables are shown with their values. I am looking for such feature in makefile to see the variables and their values.

View 2 Replies View Related

General :: Debugging Not Possible In Eclipse?

Feb 28, 2011

I tried to debug a C++ project in Eclipse Helios, last release. I set breakpoints in some non-main functions, but the debug function never stops there, and I get a warning message which says

"breakpoint attribute problem installation failed" What could be the reason?

PS: The same problem also happens with Eclipse Galileo, last release PS2: I found here info about the bug but no solution:[URL]..

View 1 Replies View Related

General :: Debugging A Preseeded Installation?

Dec 28, 2010

What's the best way to debug an automatic installation. I created an iso with a custom menu and that all seems fine... but when I launch my new menu item I get a blank screen with a blinking cursor and nothing else.

View 7 Replies View Related

General :: Debugging In Eclipse IDE Causes GUI Freeze

Mar 11, 2010

Recently I have been having trouble debugging in Eclipse. I an writing a Java Applet and testing it using Eclipse's Applet Viewer but when I attempt debug mode it sometimes causes my GUI to freeze. I am able to break out to the prompt using ctrl-alt-f1 and restart the gui, but that's annoying because I then have to restart all the apps running on it.

Eclipse (Galileo)
Java JDK 1.6
Ubuntu 9.10 with Gnome 2.28.1

View 4 Replies View Related

General :: Radius Has Started In Debugging Mode Upon Boot And Cannot Login

Oct 11, 2010

I have created a Radius startup script in /etc/init.d for Debian which looks like this:

Now this works but when I boot my server it shows as ready to process requests and it doesnt login. I cant get a login prompt. If I do a CTRL C to try close this it doesnt work and just shows CTRL C on the screen, I can type in kill radius but nothing happens.

I guess its because my script is in debugging mode, most of the suggestions for a script said I should use:

However the radiusd a doesnt work and if I try to run using command radiusd in it comes up and says invalid command and I dont have the option to use

So if this script runs on my server, I could connect to the server through a putty session via port 22 and log on fine and do what I need too, but if I try to connect to the server directly after boot its just sitting on ready to process requests and I cannot do anything when directly at the server. On one particular server I didnt have the network confg right so I couldnt putty to it and now Im a bit stuck. Will I need to rebuild my server? As I canït break out of this ready to process requests and I cannot login as its just sitting there, I have tried connecting through serial management via my laptop but I cant do anything this way either the only way I could do anything was if I could get through to the server on putty.

There must be a way when directly at the server to cancel the radius and get logged in? As Ive mentioned CTRL C doesnt work. I can get to the ok prompt but not sure what command to use and if I could change the network config at the ok prompt or if I could somehow cancel the startup script at the ok prompt? I thought I could use the init commands to start the server without the script starting but the init commands don�t work and the server just sits there.

Also I guess I shouldnt be using radius X in my startup script, to prevent this problem is there something else I should be using? I tried using radius x (the small x) and I hit enter and then no process for radius starts .

View 1 Replies View Related

General :: Debugging X And KDE On Startup \ Setup Xorg.conf File To Have A 1920x1200 Screen?

Aug 4, 2010

Been trying to setup my xorg.conf file to have a 1920x1200 screen.Strange behavior: when my X starts up, I see my mouse cursor, can move it around. It's small enough to suggest the 1920x1200 resolution took, is working.However, the rest of the screen remains black. No login prompt.I've looked at /var/log/xorg.conf, no errors.Is there something else I can look at?

View 1 Replies View Related

Ubuntu :: Which Is The Default File Browser (NOT Web Browser) Of 10.10 Maverick Meerkat

Apr 18, 2011

Which is the default file browser(NOT web browser) of Ubuntu 10.10 Maverick Meerkat?Nautilus?Are there any others for Ubuntu?

View 7 Replies View Related

Ubuntu :: Debugging SSH Connection With Public Key?

Nov 9, 2010

I am trying to debug a problem where I can't connect to a remote SSH server. I do not have admin rights on the box, however I have a valid account and can login fine with a password, I just wanted to use my public key instead.

I copied over my ~/.ssh/id_rsa.pub to the remote server to ~/.ssh/authorized_keys. I tried to connect to the server but it is not allowing me to authenticate when I ask it to use public keys instead of passwords.

Code:
ryan@TehLaptop:~$ ssh -v -o PreferredAuthentications=publickey ryan@unix.xxxxxxx.xxx
OpenSSH_5.5p1 Debian-4ubuntu4, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to unix.xxxxx.xxx [xxx.xxx.xxx.xxx] port 22.

[Code].....

View 8 Replies View Related

Ubuntu :: Android Debugging All Screwed Up

Dec 3, 2010

This hasn't happened to me before, but I develop for the Android platform and (perhaps needless to say) I really need to be able to debug on a real device. On past installs, my device was recognized automatically and debugging was as easy as checking "debug" in the Android's settings, but now (after updating to Maverick from Lucid) the phone registers with adb as?It mentions some necessary tasks for set-up on Ubuntu, but only mentions this process for Dapper/Gutsy/Hardy. Is there any personal experience out there that can confirm that this works and/or is necessary on Maverick?

View 1 Replies View Related

Programming :: Debugging Multithreaded Application?

Aug 23, 2010

i need to debug a application which is using many threads. i am using eclipse with GDB debugger but it is not possible to debug it since it has a lot of different threads and i can not not debug it as wre debug in case of single thread(main) . So i would like to know, is there a way to debug such an application, if there is some tutorial that would be nice to know.

View 8 Replies View Related

Software :: Debugging Clients And Servers?

Feb 17, 2011

I am trying to find some ideas on debugging clients and servers. For example, what would be -really great- is to

1. start a debugger with a server (running on a port)

2. start up the client (using a debugger).

Run the client and then trace the processing from the client side to the server side.

How can one accomplish this?

I have downloaded valgrid and Qt Creator - but not sure how one can use both.

View 1 Replies View Related

Software :: Kernel Debugging In Fedora 11

Dec 24, 2010

I am trying to do remote debugging of kernel 2.6.30 form fedora 11 (2.6.29).For this gdb and kgdb are there in the kernels. But am not able to use it.I have not any manual for this.so plz tell me the procedure of remote debugging.

View 7 Replies View Related

Software :: Vim Not Connecting With Xdebug For Php Debugging

Jan 12, 2010

I'm running Ubuntu server 9.10 karmic koala and my client is also ubuntu 9.10 karmic. I've installed xdebug on the server and added to the php.ini file:

zend_extension = /full/path/to/xdebug.so
xdebug.remote_enable = 1
xdebug.remote_port = 9000
xdebug.remote_host = localhost
xdebug.remote_handler = dbgp

Vim and the proper plugins (debugger.vim and debugger.py) are both installed. I load the php file under consideration in my browser on the client with ?XDEBUG_SESSION_START=1 as part of the URL. I then vim the php file, press F5 and reload the page in firefox. Vim shows that it is waiting for 5 seconds for the connection. After 5 seconds it shows an error message that says:

[Code]....

After some googling it has become apparent that these messages mean nothing and the problem is that the connection is just never happening. Xdebug is supposed to be working on port 9000. I've looked at /etc/services and nothing else is mapped to port 9000. I've tried ssh -p 9000 xxx@a.b.c.d and had the connection refused (ssh without a port spec works fine). Now I don't know what to do to get this thing working and I really want it working.

View 1 Replies View Related

Programming :: GDB (No Debugging Symbols Found)

Oct 19, 2010

I'm running gdb across a network using gdb server. I've got it up and running. However I can't see any source or variables for my code (in ddd /gdb). At start up gdb says (no debugging symbols found). I've got a g in my make file,
CPFLAGS = -Wall -Os -g -pedantic

I've tried loading symbols in using "symbol-file testarm", this sort of works in that I can view symbols but not names, e.g. if I ask dd to show x y and z, rather than
x = 10
y = 20
x = 30

It says:
display
10/20/30

Also ddd does not show anything in the source window, is there a way I can get it to show this? I think it's because I've started ddd with ddd arm-linux-gdb, as I'm calling a crosscompiler gdb. So can I tell ddd to point to the correct folders? What commands I need to set in gdb/ddd to view variable names (it's hard to keep track when it bunches them all together) and how to view my source code.

View 2 Replies View Related

Programming :: Switch Between Processes When Debugging With Gdb?

Feb 11, 2011

How to switch between processes when debugging with gdb?

View 2 Replies View Related

Fedora Servers :: SQUID Slow / Debugging It?

Apr 30, 2010

I have squid running on F12 fully updated. Pretty much stock config except bigger cache size.

Over time it seems to start lagging and occupying more memory. Currently using ~400Mb after a couple of months. I'm sure its causing some lag / refreshes because if I turn if off and go direct to internet the same site I had to hit refresh on, loads instantly.

Going through the logs in /var/log/squid I don't see anything suspicious with the untrained eye, whats a better way of debugging it to see where/why the delays are happening? Its a single user setup (for fun really lol) so theres a lot of misses in access.log. cache.log just has a handful of bad img headers which does not line up with lagging websites.code...

View 5 Replies View Related

OpenSUSE Multimedia :: Keeps Debugging And Don't Generate The File

Apr 30, 2009

I'm having trouble with this developing tool... I dunno why but when I build my program, Lazarus compiles it, but keeps debugging and don't generate the file. Do anyone knows which may be the problem?

View 9 Replies View Related

Ubuntu Networking :: Trying To Turn On Samba Debugging?

Aug 20, 2011

im having problems with 1 mount from several shared, AFAIK identically from windows Vista Home

Quote:
root@server2:~# mount.cifs -v //gaia/thunderbirdMail /mnt/gaia -o user=guest,password='',domain=WORKGROUP, debug=8
mount.cifs kernel mount options: ip=192.168.2.6,unc=\gaia hunderbirdMail,,ver=1,u ser=guest,domain=WORKGROUP,pass=********
mount error(13): Permission denied

[Code]...

View 1 Replies View Related

Debian :: Debugging Package Installation Failure ?

May 12, 2010

I installed a packge redmine apt-get install redmine It went without any error. But I found later that it was not working. Another package I installed was red5 during installation it says it can not start red5-server. How can I debug the package installations. If there would have been some script I would have set some thing like set -vmx in it.

As an example while installing red5 I got a message to issue the following

Code:

See [url] for more information about dependency based boot sequencing. To reattempt the migration process run 'dpkg-reconfigure sysv-rc'. Even then it failed.

View 1 Replies View Related

Software :: Debugging Tool To Record Connections?

Jul 7, 2010

I'm looking for a tool which will record everybit of information is sent to internet by a particular software and let to inspect the data later

View 1 Replies View Related

Software :: Debugging Tools Scripts In Kate?

Oct 2, 2010

If you have a script that works sometimes and doesn't work other times in Kate and there just might be error outputs that kate isn't passing around in any obvious manner, how would one know how to find out what's going wrong?I'm talking about the user-made scripts under Tools/External Tools. When you run those scripts and an error happens, I don't see any error output.

View 2 Replies View Related

Programming :: Debugging GTK + Programs Hangs The System?

Oct 28, 2010

A thread-aware version of gdb receives a system notification when a thread starts in the app it is debugging. GTK+ has hidden threads associated with loading icons into menus. So trying to debug a GTK+ program, even one that is apparently single-threaded, can produce a deadlock between gdb, the app and XWindows. The app (actually GdkPixbufLoader) grabs the focus, the mouse and the keyboard and then starts a thread when a menu is opened. If gdb has trouble with threads, it leaves the app blocked but still holding the mouse, et. al. Then you can't talk to gdb or any other GUI interface. To make gdb happy, all GTK+ apps need to be linked with -pthread, if you have the source. If not, gdb cannot be used. In order to break the deadlock, you need a non-GUI shell. If your /etc/inittab starts agetty, mingetty, or the like, and you can get to it with <CRTL><ALT><F3...F6>, you can do a kill -KILL <pid> on the offending app, recover and then go back to XWindows with <CTRL><ALT> <F1/F2>. Otherwise it's reboot time.

View 3 Replies View Related

Programming :: Debugging Kernel Binaries And Modules

Jun 13, 2011

I need to debug "ls". I downloaded coreutils and compiled them in debug mode."ls" uses readdir() kernel API to fetch files/directories from a file system. readdir() fetch data from any file system (suppose FAT or ext3).I have debug version of FAT/ext3 and installed, I also have debug version of coreutils (ls) as well.Now I want to debug from "ls" to "FAT/ext3 readdir()".How to do that?

View 6 Replies View Related

Programming :: Debugging Nasm Source Code ?

Dec 5, 2010

I found on the Internet a rough suggestion to debug code which says to add a line:

An example shows this lists the lines of source that do work.

I do not know where these lines are supposed to go and whether the "notdeadyet" should be a call to a subroutine or what. I only found that "%define" is used to link to external files, so I am confused because what I tried did not work.

(I am unable to use (and learn) any debugging tool for another few weeks and I'd like to progress on this If I can.)

View 2 Replies View Related

Programming :: Debugging QT Project Through GDB In Command Line?

Jan 31, 2011

First step will obviously be to compile the QT project with -g option, but how to do that through command line?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved