Do you use Mozilla Firefox?
Do you hate the presence of the close buttons on tabs?
Do you want to hide the close buttons on tabs?
I really do. I use Tree-style view and they waste a bunch of space. Stupid close buttons! So, go to about:config, filter for the property browser.tabs.closeButtons, and change its integer value from 1 to 0. This way, it will only display the close X button on the tab you are on.
Yay!
2009-06-16
Xephyr
Running Fedora 11? Running into an X11 crasher bug that you can reliably reproduce but don't have the hard iron to run all of X in gdb? Perhaps like this one when you click on the Gimp's canvas and see X flash before your eyes?
Then, run which apps you need to inside Xephyr to reproduce the bug. (e.g. the Gimp).
You can tell them which X server to appear in by setting the DISPLAY variable like so
Once you have the symbols loaded and gdb connected to your Xephyr process, tell gdb to "continue", and now reproduce your crasher. gdb should catch the segfault (or signal SIGSEV or something). Then you can get a backtrace ("bt") from gdb and start finding out where you are.
After that, I tend to restart Xephyr, reconnect gdb, and "break" at the names of functions where the crash happens, and then start "step"ing and "next"ing through, "print"ing the variables whose values I want to see until I find out why I'm crashing.
RH bug 505823 will let me know if this was at all useful.
Perhaps the bug is equally represented in Xorg and Xephyr. In which case, you can probably run Xephyr from your desktopBacktrace: 0: /usr/bin/Xorg(xorg_backtrace+0x3b) [0x812d07b] 1: /usr/bin/Xorg(xf86SigHandler+0x9e) [0x80c061e] 2: [0xdf0400] Fatal server error: Caught signal 11. Server aborting
Xephyr :1with :1 to denote which display it should take (:0 should be in use by your session already).
Then, run which apps you need to inside Xephyr to reproduce the bug. (e.g. the Gimp).
You can tell them which X server to appear in by setting the DISPLAY variable like so
DISPLAY=:1 gimpNow, right before you cause the Xephyr X server to crash, run gdb on it
gdb --pid=`pidof Xephyr`You might not have the debuginfo files installed, which you'll want to be able to trace through the human-readable source code. gdb should prompt you with a command for any relevant, missing debuginfo. Note that, on Fedora 11, you'll also need librpm.so available for it to do this (provided by rpm-devel).
Once you have the symbols loaded and gdb connected to your Xephyr process, tell gdb to "continue", and now reproduce your crasher. gdb should catch the segfault (or signal SIGSEV or something). Then you can get a backtrace ("bt") from gdb and start finding out where you are.
After that, I tend to restart Xephyr, reconnect gdb, and "break" at the names of functions where the crash happens, and then start "step"ing and "next"ing through, "print"ing the variables whose values I want to see until I find out why I'm crashing.
RH bug 505823 will let me know if this was at all useful.
Unable to open "librpm.so"? Perhaps rpm-devel is missing.
In Fedora 11, are you getting something like this when using gdb when you're missing some debug info files?
misisng debug information and symbols.
I did a locate for librpm.so and found librpm.so.0 and friends in /usr/lib. Guessing that's where librpm.so was supposed to be, I did "yum whatprovides /usr/lib/librpm.so" and that told me rpm-devel-4.7.0, which I then installed.
After that, I ran gdb on the process I wanted to inspect again, and ta-da, I am finally told the name of the package which I need to install to get my debugging symbols. Copy, paste, yay.
Unable to open "librpm.so" (librpm.so: cannot open shared object file: No such file or directory), missing debuginfos notifications will not be displayed.I was, and it meant that gdb couldn't suggest which package I had to debuginfo-install to get the
misisng debug information and symbols.
I did a locate for librpm.so and found librpm.so.0 and friends in /usr/lib. Guessing that's where librpm.so was supposed to be, I did "yum whatprovides /usr/lib/librpm.so" and that told me rpm-devel-4.7.0, which I then installed.
After that, I ran gdb on the process I wanted to inspect again, and ta-da, I am finally told the name of the package which I need to install to get my debugging symbols. Copy, paste, yay.
2009-06-03
DJ Aqua
A plugin for Rhythmbox to have Speech Dispatcher announce a track's artist and title before and after play. The code, finally available.
Labels:
development,
djaqua,
git,
gitorious,
open source,
rhythmbox,
speech,
speechdispatcher
Subscribe to:
Posts (Atom)
Blog Archive
-
►
2010
(28)
-
►
April
(15)
- Just a test
- 24fps as authentic.
- Fun research
- Blogger: so mature after a decade
- Enhanced History: not as bad as Trac
- I have finally converted my template for this blog...
- Green and Clean
- Let us party
- Presume to feel about technology
- Pidgin freezes when opening conversations for new ...
- Google Wave not working for over a week
- Neat, avatars across Google
- Interlocutor is working! Well, its prototype is a...
- writing
- Spell checking with multiple languages
-
►
April
(15)
-
▼
2009
(69)
-
►
November
(17)
- Plain Design Ltd.
- Why isn't my z-index doing anything?!
- Stop GNOME from resuming old sessions
- libgdata
- Almost Perfect
- Fedora 12
- Preupgrade crash when resuming
- The Internet is for Recipes
- Pay Me
- Blogger navbar returns
- GenderGuesser SetBuilder
- Security on the local machine
- And now
- Gnome Blog
- New Softwares!
- Maintenance
- The Web
-
►
November
(17)
