[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4779: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4781: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4782: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4783: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Gentoo Taiwan 討論區 • 檢視主題 - Firefox 出現 Segfault

Firefox 出現 Segfault

有關於X 環境當中所遇到的問題

版主: Forums Team

Firefox 出現 Segfault

文章ranma » 週二 10月 06, 2009 10:37 am

請問大家, 只要將系統 emerge -avuDN world 與 emerge --depclean, revdep-rebuild 後, 安裝 Firefox 沒有辦法執行, 會出現 Segmentation Fault. 若安裝 mozila-firefox-bin, 則會出現
Gtk-CRITICAL **: gtk_widget_get_parent_window: assertion `GTK_IS_WIDGET (widget)' failed
這樣的訊息, 然後出現回報錯誤的視窗, 也無法執行.
因為 emerge -avuDN world 之前有備份系統, 直接 解回來再安裝 firefox, 卻很正常, 所以我就先 emerge --depclean > depclean.txt, 再手動一個一個將不需要的軟體移除, 結果全移完再 revdep-rebuild, Firefox 確很正常, 於是我有下 emerge -avuDN world, mozilla-firefox-bin 又無法執行了. 不知道要如何解決?

我的系統是
Kernel 2.6.31
Portage 2.1.6.13
Xorg-server 1.6.3.901-r2
Firefox 3.5.3
KDE 4.3.1
GTK+ 2.16.6
ranma
 
文章: 75
註冊時間: 週四 1月 06, 2005 9:52 pm

Re: Firefox 出現 Segfault

文章paar » 週二 10月 06, 2009 10:53 am

先不要 -Du world 先 -Du mozilla-firefox 怎樣?
叫我老帕好了!
圖檔
頭像
paar
 
文章: 1154
註冊時間: 週四 1月 30, 2003 10:53 am
來自: 打狗市

Re: Firefox 出現 Segfault

文章ranma » 週二 10月 06, 2009 11:02 am

等一下試試, 不過, 我目前測試使用的是 mozilla-firefox-bin, 應該是最新的, 且在 emerge -av mozilla-firefox-bin 時也沒有出現其它相依的程式要 emerge.
ranma
 
文章: 75
註冊時間: 週四 1月 06, 2005 9:52 pm

Re: Firefox 出現 Segfault

文章paar » 週二 10月 06, 2009 11:05 am

叫我老帕好了!
圖檔
頭像
paar
 
文章: 1154
註冊時間: 週四 1月 30, 2003 10:53 am
來自: 打狗市

Re: Firefox 出現 Segfault

文章ranma » 週二 10月 06, 2009 12:28 pm

現在resfore原來可以執行的備份, 重新 emerge --sync; emerge -1av portage; emege -avuD mozilla-firefox-bin, 一共要 emerge 57 個程式, 包含 GTK+ 由 2.16.5 升到 2.16.6, 可能要下午三點才是知道結果, 我會 update 完 firefox-bin 相依的套件後, 先測試一下 firefox 是否正常, 再下 emerge -avuD world, 不過, 有點擔心是 GTK+ 版本的差別造成 Firefox 相容性問題. 若真是如此, 要怎麼 Down 到 GTK+ 2.16.5 呢? 剛剛看了一下, Portage 中已經沒有 GTK+ 2.16.5 了.
ranma
 
文章: 75
註冊時間: 週四 1月 06, 2005 9:52 pm

Re: Firefox 出現 Segfault

文章ranma » 週二 10月 06, 2009 3:39 pm

emerge -avuD mozilla-firefox-bin 完成了, 不過也同樣 Firefox 無法執行, 又出現
Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
的錯誤,不過剛剛發現並沒有 update 到 GTK+, 只到 eselect-opengl-1.0.8-r5 就停止了
ranma
 
文章: 75
註冊時間: 週四 1月 06, 2005 9:52 pm

Re: Firefox 出現 Segfault

文章jojoyakira » 週二 10月 06, 2009 4:42 pm

Desktop:Intel Pentium(R) Dual-Core CPU E5300 @ 2.60GHz,OS: Gentoo GNU/Linux
jojoyakira
 
文章: 284
註冊時間: 週四 3月 01, 2007 10:42 pm
來自: kaohsiung

Re: Firefox 出現 Segfault

文章ranma » 週二 10月 06, 2009 6:11 pm

有, 不過我的 只剩下一個 gtk2-unicode-release-2.8, 設定為它情況依舊~~ :(
ranma
 
文章: 75
註冊時間: 週四 1月 06, 2005 9:52 pm

Re: Firefox 出現 Segfault

文章Jackie » 週三 10月 07, 2009 7:04 am

應該是預編的firefox用的GTK和系統中版本不相符且ABI或API不相容的緣故
假使機器還可以的話...
建議用自己機器編譯的版本(emerge www-client/mozilla-firefox)
因為就算你現在解決了GTK的問題
fx用到的library很多..難保下次不會其它的部分出事...

記得以前想要預先測試fx 3.5 (當時stable是3.0)
想說偷懶裝個預編的版本來試試也是會出錯
Jackie
 
文章: 137
註冊時間: 週六 7月 08, 2006 10:13 pm

Re: Firefox 出現 Segfault

文章ranma » 週三 10月 07, 2009 9:45 am

我原本都是用自編版的Firefox. 但它會 Segfault. 所以才改安裝 bin 版來測試.
故事始末如下...

1. 系統重新安裝完, 好不容易系統的基礎搞定, 包括 xorg-server, kde4.3, kde4bluetooth, swim-bridge...

2. 備份好系統(Backup1), 開始執行 emerge --sync, emerge -avuDN world, emerge -av --depclean, revdep-rebuild, 並 gcc-config 選定剩下來的 i686-pc-linux-gnu-4.4.1

3. 安裝 emerge -av mozilla-firefox, 發現會出現 Segfault, 花了一些時間找問題, 並用 eselect 將一些設定選定, 還是不行, 於是 emerge -av world, 好不容易全部完成, KDE4.3 感覺有跑得較順, 但是 firefox 還是無法執行, 就試了一下 mozilla-firefox-bin, 還是不行.

4. 再備份好系統(Backup2), 並將 Backup1 回復, 先安裝 mozilla-firefox-bin, 發現執行正常, 接著將 emerge -avp --depclean > depclean.txt 後, 手動將不需要的程式一個一個移除, 移除一個, 執行一次 firefox, 結果全都移除完也沒有問題.

5. 再備份好系統(Backup3), 並開始 emerge --sync, emerge -avuDN world, 結束後再執行 firefox-bin, 就出現 GTK+ 的錯誤訊息...無法執行

6. 回復 Backup3, 重新 emerge --sync, emerge -avuD mozilla-firefox-bin, 完成後 firefox-bin 還是出現 GTK+ 的錯誤訊息...無法執行.

Maybe 有空就把 Backup3 回復, 看看 emerge -av mozilla-firefox 可否使用, 再進行下一步...
ranma
 
文章: 75
註冊時間: 週四 1月 06, 2005 9:52 pm

Re: Firefox 出現 Segfault

文章Jackie » 週三 10月 07, 2009 11:14 am

看來是個很麻煩的問題
不過仔細看了一下你的設置...
似乎你系統是用ACCPET_KEYWORDS="~x86"
可能真的有什麼package真的會出問題吧...可能性太多...
或許用strace去啟動Firefox可以看到什麼東西
再不行可能就要用debugger去查問題了...
有時候CFLAGS設定太屌也會出事...我曾經遇到gcrypt壞掉的問題...
嗯...反正多嘗試幾種可能性吧
Jackie
 
文章: 137
註冊時間: 週六 7月 08, 2006 10:13 pm

Re: Firefox 出現 Segfault

文章ranma » 週五 10月 09, 2009 8:38 am

昨天把尚未 emerge -av --depclean 的備份叫回來(就是 Backup1), emerge --sync 然後先安裝 Firefox (emerge -av mozilla-firefox), 確定可以正常執行後,將 emerge -avuDp world 輸岀至文件檔, 再一個一個安裝昇級, 昇級完 xorg-server 後 (emerge -avuD xorg-server) Firefox 就出現 “程式記憶體區段錯誤”, 無法執行了, 以下是我 emerge -avuD xorg-server 所有昇級的東西, 希望大家幫我看看是誰出了問題...
[list=]
>>> --pretend disables --ask... removing --ask from options.

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild U ] sys-apps/usbutils-0.86-r1 [0.82] USE="zlib -network-cron" 241 kB
[ebuild U ] sys-apps/module-init-tools-3.10 [3.9] 865 kB
[ebuild U ] x11-libs/libXmu-1.0.5 [1.0.4] USE="ipv6 -debug" 316 kB
[ebuild U ] x11-proto/fontsproto-2.1.0 [2.0.2] 56 kB
[ebuild U ] x11-proto/videoproto-2.3.0 [2.2.2] 54 kB
[ebuild U ] x11-libs/libdrm-2.4.14 [2.4.13] USE="-debug" 405 kB
[ebuild U ] x11-proto/renderproto-0.11 [0.9.3] 65 kB
[ebuild U ] x11-libs/libfontenc-1.0.5 [1.0.4] USE="-debug" 245 kB
[ebuild U ] x11-libs/libpciaccess-0.10.9 [0.10.6] USE="-debug -minimal" 276 kB
[ebuild U ] x11-apps/xkbcomp-1.1.1 [1.1.0] USE="-debug" 215 kB
[ebuild U ] x11-proto/damageproto-1.2.0 [1.1.0] 52 kB
[ebuild U ] x11-libs/pixman-0.16.2 [0.16.0] USE="mmx sse2 (-altivec) -debug" 394 kB
[ebuild U ] x11-proto/resourceproto-1.1.0 [1.0.2] 48 kB
[ebuild U ] x11-proto/compositeproto-0.4.1 [0.4] 88 kB
[ebuild U ] media-fonts/font-util-1.0.2 [1.0.1] USE="-debug" 113 kB
[ebuild U ] x11-libs/libXrender-0.9.5 [0.9.4] USE="-debug" 256 kB
[ebuild U ] x11-apps/xauth-1.0.4 [1.0.3] USE="ipv6 -debug" 117 kB
[ebuild U ] x11-libs/libXv-1.0.5 [1.0.4] USE="-debug" 262 kB
[ebuild U ] x11-apps/luit-1.0.4 [1.0.3] USE="-debug" 113 kB
[ebuild U ] media-fonts/encodings-1.0.2-r1 [1.0.2] USE="-debug" 559 kB
[ebuild U ] x11-apps/bdftopcf-1.0.2 [1.0.0] USE="-debug" 94 kB
[ebuild U ] media-libs/fontconfig-2.7.3 [2.7.2] USE="-doc" 1,507 kB
[ebuild N ] media-fonts/font-misc-misc-1.0.0 USE="X nls" 1,813 kB
[ebuild U ] x11-terms/xterm-249 [243] USE="truetype unicode -Xaw3d -toolbar" 866 kB
[ebuild U ] x11-apps/xclock-1.0.4 [1.0.3-r1] USE="-debug" 126 kB
[ebuild U ] app-admin/eselect-opengl-1.0.8-r1 [1.0.7] 57 kB
[ebuild U ] x11-misc/xkeyboard-config-1.7 [1.6] 619 kB
[ebuild U ] sys-fs/lvm2-2.02.51-r1 [2.02.51] USE="lvm1 readline static -clvm (-cman) (-selinux)" 772 kB
[ebuild U ] x11-apps/xinit-1.0.8-r9 [1.0.8-r4] USE="consolekit%* pam -debug -minimal (-hal%*)" 115 kB
[ebuild U ] media-libs/mesa-7.5.2 [7.5.1] USE="nptl -debug -motif -pic -xcb (-doc%)" VIDEO_CARDS="intel -mach64 -mga -none -r128 -radeon -radeonhd -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 4,285 kB
[ebuild U ] x11-base/xorg-server-1.6.4 [1.6.3.901-r1] USE="hal ipv6 nptl xorg -debug -dmx -kdrive -minimal -sdl -tslib" 4,570 kB
[ebuild U ] x11-drivers/xf86-video-intel-2.9.0 [2.8.1] USE="dri -debug" 774 kB
[ebuild U ] x11-drivers/xf86-input-mouse-1.5.0 [1.4.0] USE="-debug" 301 kB
[ebuild U ] x11-drivers/xf86-input-evdev-2.2.5 [2.2.4] USE="-debug" 292 kB

Total: 34 packages (33 upgrades, 1 new), Size of downloads: 20,915 kB
[/list]
ranma
 
文章: 75
註冊時間: 週四 1月 06, 2005 9:52 pm

Re: Firefox 出現 Segfault

文章paar » 週五 10月 09, 2009 8:51 am

我覺得寫成英文放到官方討論區可能會快一點。
叫我老帕好了!
圖檔
頭像
paar
 
文章: 1154
註冊時間: 週四 1月 30, 2003 10:53 am
來自: 打狗市

Re: Firefox 出現 Segfault

文章pokkys » 週五 10月 09, 2009 12:01 pm

頭像
pokkys
 
文章: 94
註冊時間: 週六 12月 17, 2005 12:01 am
來自: 台灣台南

Re: Firefox 出現 Segfault

文章jojoyakira » 週五 10月 09, 2009 4:51 pm

小弟我查了一下,forums.gentoo.org似乎有不少firefox segfault的討論串,你可以參考看看,說不定就有解答。 :D



.....
Desktop:Intel Pentium(R) Dual-Core CPU E5300 @ 2.60GHz,OS: Gentoo GNU/Linux
jojoyakira
 
文章: 284
註冊時間: 週四 3月 01, 2007 10:42 pm
來自: kaohsiung

下一頁

回到 Gentoo 桌面

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 6 位訪客

cron