You are not logged in.
i have just upgraded gtk 2.6, and when firefox cannot connect to some site,all my RAM and all my swap are full and i must kill X :evil: :evil: :evil:
irc.bsd.cl #linux
irc.freenode.org #archlinux-es
Offline
mmmh.. i don't know if it's related either to gtk2.6 or kernel 2.6.10, anyway now firefox crash every time try to watch a lot of website that i usually watched before giving me:
/opt/mozilla-firefox/lib/firefox-1.0/run-mozilla.sh: line 159: 3742 Segmentation fault "$prog" ${1+"$@"}
[/code]
Offline
mmmh.. i don't know if it's related either to gtk2.6 or kernel 2.6.10, anyway now firefox crash every time try to watch a lot of website that i usually watched before giving me:
/opt/mozilla-firefox/lib/firefox-1.0/run-mozilla.sh: line 159: 3742 Segmentation fault "$prog" ${1+"$@"}
This issue is caused by upgrading your freetype2 library. I had the same problem and building the old freetype2 from abs and installing it fixed the issue.
As for the memory leaks, it's now well known around this forum that people are having problems with gtk 2.6 and similar situations to what you describe. I'm not sure if it's an Arch issue or just a gtk issue.
Offline
i recompiled firefox with abs's pkgbuilds, and the memory leak dissapeared
irc.bsd.cl #linux
irc.freenode.org #archlinux-es
Offline
Offline
i recompiled firefox with abs's pkgbuilds, and the memory leak dissapeared
There might be an unspotted dependency, or.. something firefox uses (not as a dependency) which makes your system unstable while others' don't. Maybe you could check pacman.log to see what you upgraded/installed just before firefox started eating up memory...
... or.. it could just be GTK leaking...
:: / my web presence
Offline
i'm running jgc' firefox and latest gtk and don't have any problems,
arch + gentoo + initng + python = enlisy
Offline
i recompiled firefox with abs's pkgbuilds, and the memory leak dissapeared
Could I ask what are the steps for the recompilation .
ADDITION: Sorry, I just found out about the sticky into the Making Packages forum.
I recompiled and still get the "run-mozilla.sh: line 159: 3742 Segmentation fault "$prog" ${1+"$@"}" problem
Offline
MMH, i've had the same problem, i've read somewhere that's because of missingf line in /etc/ld.so.conf , something like /opt/mozilla-firefox/lib , but i haven't tried it because i'm actually using opera that's smaller and faster... you can try either to add that line and run ldconfig or install opera.
Bye
Offline
MMH, i've had the same problem, i've read somewhere that's because of missingf line in /etc/ld.so.conf , something like /opt/mozilla-firefox/lib , but i haven't tried it because i'm actually using opera that's smaller and faster... you can try either to add that line and run ldconfig or install opera.
Bye
that was me....
http://bbs.archlinux.org/viewtopic.php?t=9177
that's an issue... but not entirely it on my machine....
can I asked for cases when you get the termination... if at all possible, is anyone willing tor ecompile firefox with debug enabled...?
Offline
I just learned that you can run firefox with the -g option.
It turned out that gdb says:
...
(no debugging symbols found)
....
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218730304 (LWP 26088)]
0xb5e6c2b6 in nsHTMLReflowState::UseComputedHeight () from /opt/mozilla-firefox/lib/firefox-1.0/components/libgklayout.so
So is it GTK th problem, from libgklayout.so ?
Offline
I just learned that you can run firefox with the -g option.
It turned out that gdb says:
...
(no debugging symbols found)
....
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218730304 (LWP 26088)]
0xb5e6c2b6 in nsHTMLReflowState::UseComputedHeight () from /opt/mozilla-firefox/lib/firefox-1.0/components/libgklayout.soSo is it GTK th problem, from libgklayout.so ?
hmmm mine is a different error... mine dies with SIG33...
Offline
I just did a package recompilation. I can try with the debug option but could someone point to me where / what I should change for it to be a debud version
Offline
in abs, go to the mozilla-firefox directory, and edit the "mozconfig" file.... switch "--disable-debug" to say "--enable-debug"
Offline
Thanks very much.
Here is the result, I started then tried to go to www.radioshack.ca/, clicked on a language and crash:
*** Registering nsBrowserCompsModule components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering succeeded
[New Thread -1259160656 (LWP 28639)]
nNCL: registering deferred (0)
nNCL: registering deferred (0)
nNCL: registering deferred (0)
GFX: dpi=92 t2p=0,0625 p2t=16 depth=24
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
++WEBSHELL == 1
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsPermissionManager.cpp, line 623
[New Thread -1268126800 (LWP 28640)]
[New Thread -1276523600 (LWP 28641)]
++DOMWINDOW == 1
++WEBSHELL == 2
++DOMWINDOW == 2
/opt/mozilla-firefox/lib/firefox-1.0/chrome/en-US.jar mtime changed, invalidating FastLoad file
Note: styleverifytree is disabled
Note: frameverifytree is disabled
WARNING: the property eo already exists
, file nsPersistentProperties.cpp, line 282
Note: verifyreflow is disabled
[New Thread -1285370960 (LWP 28642)]
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file nsUNIXCharset.cpp, line 189
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file nsUNIXCharset.cpp, line 189
++WEBSHELL == 3
++DOMWINDOW == 3
(no debugging symbols found)
[New Thread -1293984848 (LWP 28643)]
[New Thread -1302377552 (LWP 28644)]
(no debugging symbols found)
++WEBSHELL == 4
++DOMWINDOW == 4
frame: DocElementBox(dialog)(-1) (0x8726858) style: 0x87267d8 {}
Has parent context: style: 0x8726578 :-moz-canvas {}
Should be null
[Thread -1293984848 (LWP 28643) exited]
WARNING: nsTimeoutImpl::Release() proceeding without context., file nsGlobalWindow.cpp, line 5518
--WEBSHELL == 3
CSS Error (http://www.google.ca/firefox?client=firefox-a&rls=org.mozilla:en-US:official :3.315): Selector expected. Ruleset ignored due to bad selector.
CSS Error (http://www.google.ca/firefox?client=firefox-a&rls=org.mozilla:en-US:official :4.0): Unexpected end of file while searching for closing } of invalid rule set.
###!!! ASSERTION: View is hidden but widget is visible!: '!visible', file nsViewManager.cpp, line 1685
Break: at file nsViewManager.cpp, line 1685
--DOMWINDOW == 3
###!!! ASSERTION: font metrics should not be null - bug 136248: 'NS_SUCCEEDED(rv)', file nsDeviceContext.cpp, line 668
Break: at file nsDeviceContext.cpp, line 668
###!!! ASSERTION: no font metrics: 'nsnull != aFontMetrics', file nsHTMLReflowState.cpp, line 2100
Break: at file nsHTMLReflowState.cpp, line 2100
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219352896 (LWP 28636)]
0xb64330f0 in nsHTMLReflowState::UseComputedHeight () from /opt/mozilla-firefox/lib/firefox-1.0/components/libgklayout.so
Hope it helps
Offline
hmmm well, what I get from that is that firefox can't figure out how to draw the font you are using... it gripes about font metrics... says it's null, then fails computing the height...
are you using xft of freetype2 from firefox? (check the mozconfig from what you just built)
did you switch the default fonts? if so to what?
Offline
From the file, it is xft
ac_add_options --enable-xft
ac_add_options --disable-freetype2
I do not remember changing anything. The font & Color dialog says:
Fonts for Western
Proportional: Serif Size 16
Serif: serif
Sans-serif: sans-serif
Monospace: monospace Size 12
Display resolution: System setting
I did add French/Canada to the Languages list, which is top
And Character encoding is Western (ISO 8859-1)
Is it hard to make a project to run this into a visual debugger like kdevelop maybe? I have some experience in Visual Studio, sorry about that.
Offline
Is it hard to make a project to run this into a visual debugger like kdevelop maybe? I have some experience in Visual Studio, sorry about that.
run "pacman -S ddd"
and then "mozilla-firefox --debug" - it automatically detects ddd and uses it... though it's kinda odd to use....
Offline
Sadly, ddd does not start, I get
ddd: error while loading shared libraries: libXaw.so.8: cannot open shared object file: No such file or directory
I use Xorg 6.7.0 for the ATI driver so I suppose I do not have the file for that reason.
I have made a symbolic link from libXaw.so.7 to libXaw.so.8 in /usr/X11R6/lib but that gives the same error message
I have not found how to set a library path for it to find the library. the commands set and env does not show a variable like LIBPATH or something similar.
Offline
root@Celerondomain nrg2iso-0.4 # pacman -Qo /usr/X11R6/lib/libXaw.so.8
/usr/X11R6/lib/libXaw.so.8 is owned by xorg 11R6.8.1-1
but with the simbolic link, it should work.
Did you execute ldconfig after make the symbolic link?
ldconfig -p | grep libXaw.so, which is the ouput?
irc.bsd.cl #linux
irc.freenode.org #archlinux-es
Offline
Since I created the symlink, I get:
pacman -Qo /usr/X11R6/lib/libXaw.so.8
/usr/X11R6/lib/libXaw.so.8 is owned by xorg 11R6.7.0-1
but the ldconfig is not showingthe lib:
ldconfig -p | grep libXaw.so
libXaw.so.7 (libc6) => /usr/X11R6/lib/libXaw.so.7
libXaw.so.6 (libc6) => /usr/X11R6/lib/libXaw.so.6
libXaw.so (libc6) => /usr/X11R6/lib/libXaw.so
How can I add a library to the system. I feel like I am a pain in the a.. while I thought I could help.
Offline
Hey, you are having the same troubles that made me switch to opera and you also have my same pc configuration... i'm also using Xorg 6.7.0 with ATI drivers and now that i'm thinking about it firefox has begun to crash after i have:
- upgraded to kernel 2.6.10
- patched ATI drivers to make them work with such kernel version
- built gtk2 2.6.x package in my own because of a missing library dependencies using the one in arch current....
So i'm starting to think that the problem is related to ati drivers + kernel 2.6.10 and/or gtk2 2.6.x...
Have you gone on rage3d board to check if someone has had the same problem??? ( http://www.rage3d.org/board/forumdisplay.php?f=61 )
Offline
I did not have a problem with the 2.6.10-ARCH kernel and Firefox. It worked well. But it just might be the ati-driver or more probably the custom? build of gtk2 2.6.1-2
It could be an other side effect besides the xine going black for me. Note that I use kaffeine instead.
I will try to find a previous version of ddd that could work with libXaw.so.7 instaed of .8
ADDITION:
=======
From http://public.planetmirror.com/pub/archlinux/extra/ I have downloaded/installed version 3.3.9-1 of ddd. It runs with the available libXaw.so.x
I'll check what I can come up withe ddd and firefox
Offline
After the upgrade to the newest kernel, ati driver, xorg there is no more problem with Firefox.
Here is my config:
kernel26 2.6.10-3
xorg 11R6.8.1-1
mozilla-firefox 1.0-2
ati-drivers 8.8.25-1
ati-drivers-module-kernel26 8.8.25-1
and ddd also works
ddd 3.3.10-1
Offline