Решено: Firefox не стартует

Sabayon, Calculate, Funtoo, Exherbo

Модератор: /dev/random

Аватара пользователя
demontager
Сообщения: 250
Статус: Seaman
ОС: Gentoo x86_64

Решено: Firefox не стартует

Сообщение demontager »

Собираю firefox c разными оптимизациями -j1 -j2, толку никакого, не запускается. В консоли пишет -

Код: Выделить всё

localhost cat # firefox

(firefox:13622): GnomeUI-WARNING **: While connecting to session manager:
None of the authentication protocols specified are supported.

emerge --info http://pastebin.com/ucrjs3ee
Поставил ещё firefox-bin, тоже не пускается, при старте пишет crash. Из-за firefox также не работает thunderbird

Код: Выделить всё

cat@localhost ~ $ thunderbird
/usr/lib/thunderbird/run-mozilla.sh: line 131: 14244 Segmentation fault      "$prog" ${1+"$@"}
OS:Gentoo amd64
Спасибо сказали:
Аватара пользователя
serg_sk
Бывший модератор
Сообщения: 2749
Статус: <3 Anime
ОС: Gentoo Linux <3

Re: Решено: Firefox не стартует

Сообщение serg_sk »

strace
Не ждали?! А я приперся!
Помойка Gentoo'шника
-------
Спасибо сказали:
Аватара пользователя
demontager
Сообщения: 250
Статус: Seaman
ОС: Gentoo x86_64

Re: Решено: Firefox не стартует

Сообщение demontager »

вывод localhost cat # strace -o /home/cat/trace firefox

http://pastebin.com/i4b1KxzS

и от пользователя
http://zalil.ru/29777069
(слишком много строк, на pastebin не влазит.)
OS:Gentoo amd64
Спасибо сказали:
Аватара пользователя
serg_sk
Бывший модератор
Сообщения: 2749
Статус: <3 Anime
ОС: Gentoo Linux <3

Re: Решено: Firefox не стартует

Сообщение serg_sk »

Как вариант сделай revdep-rebuild и глянь в сторону gdb.
http://www.gentoo.org/doc/en/bugzilla-howto.xml
Не ждали?! А я приперся!
Помойка Gentoo'шника
-------
Спасибо сказали:
Аватара пользователя
demontager
Сообщения: 250
Статус: Seaman
ОС: Gentoo x86_64

Re: Решено: Firefox не стартует

Сообщение demontager »

revdep-rebuild не помогает.
На счёт gdb пока не знаю, нужно разбираться как с ним работать. Пока только поставил его.
OS:Gentoo amd64
Спасибо сказали:
Аватара пользователя
taaroa
Сообщения: 1319

Re: Решено: Firefox не стартует

Сообщение taaroa »

Код: Выделить всё

firefox --safe-mode

так^ пробуйте.
если оно и так не стартует, то

Код: Выделить всё

# emerge -1av xulrunner firefox

.
bug похоже x86-only.
:wq
Спасибо сказали:
Аватара пользователя
vr13
Сообщения: 885
ОС: gentoo

Re: Решено: Firefox не стартует

Сообщение vr13 »

а по-моему, проблема в

Код: Выделить всё

System uname: Linux-2.6.34-gentoo-r6-i686-Intel-R-_Pentium-R-_M_processor_1.80GHz-with-gentoo-1.12.13
...
CFLAGS="-march=native -O2 -pipe"

особенно в контексте того, что с имеется два варианта pentium-m. может убрать native и сделать как советуют в wiki?
Спасибо сказали:
Аватара пользователя
demontager
Сообщения: 250
Статус: Seaman
ОС: Gentoo x86_64

Re: Решено: Firefox не стартует

Сообщение demontager »

Попробывал так
firefox --safe-mode # emerge -1av xulrunner firefox , тоже самое.
Потом, как рекомендует wiki, изменил make.conf таким образом:
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
Пересобрал firefox, не помагает.

OS:Gentoo amd64
Спасибо сказали:
Аватара пользователя
serg_sk
Бывший модератор
Сообщения: 2749
Статус: <3 Anime
ОС: Gentoo Linux <3

Re: Решено: Firefox не стартует

Сообщение serg_sk »

Говорю заюзай gdb, может покажет что там за ошибка такая)
Не ждали?! А я приперся!
Помойка Gentoo'шника
-------
Спасибо сказали:
Аватара пользователя
demontager
Сообщения: 250
Статус: Seaman
ОС: Gentoo x86_64

Re: Решено: Firefox не стартует

Сообщение demontager »

Собрал xulrunner c флагом --debug. Вот что Firefox выдаёт при таком раскладе:

Код: Выделить всё

   1.
      cat@localhost ~ $ firefox
   2.
      fcntl(F_SETLK) failed. errno = 11
   3.
      WARNING: NS_ENSURE_TRUE(compMgr) failed: file nsComponentManagerUtils.cpp, line 90
   4.
      WARNING: NS_ENSURE_TRUE(compMgr) failed: file nsComponentManagerUtils.cpp, line 90
   5.
      WARNING: NS_ENSURE_TRUE(compMgr) failed: file nsComponentManagerUtils.cpp, line 90
   6.
      ###!!! ASSERTION: Failed to write xpti manifest!: 'Error', file xptiInterfaceInfoManager.cpp, line 1953
   7.
      ###!!! ASSERTION: Failed to write xpti manifest!: 'Error', file xptiInterfaceInfoManager.cpp, line 1953
   8.
      *** Registering components in: xpconnect
   9.
      *** Registering components in: nsUCvMathModule
  10.
      *** Registering components in: nsUConvModule
  11.
      *** Registering components in: nsI18nModule
  12.
      *** Registering components in: nsChardetModule
  13.
      *** Registering components in: nsUniversalCharDetModule
  14.
      *** Registering components in: necko
  15.
      *** Registering components in: nsCookieModule
  16.
      *** Registering components in: nsPermissionsModule
  17.
      *** Registering components in: nsAuthModule
  18.
      *** Registering components in: nsJarModule
  19.
      *** Registering components in: ZipWriterModule
  20.
      *** Registering components in: nsPrefModule
  21.
      *** Registering components in: nsSecurityManagerModule
  22.
      *** Registering components in: nsRDFModule
  23.
      *** Registering components in: nsXPIntlModule
  24.
      *** Registering components in: nsWindowDataSourceModule
  25.
      *** Registering components in: nsParserModule
  26.
      *** Registering components in: nsGfxModule
  27.
      *** Registering components in: nsWidgetGtk2Module
  28.
      *** Registering components in: nsImageLib2Module
  29.
      *** Registering components in: nsPluginModule
  30.
      *** Registering components in: nsLayoutModule
  31.
      *** Registering components in: docshell_provider
  32.
      *** Registering components in: embedcomponents
  33.
      *** Registering components in: Browser_Embedding_Module
  34.
      *** Registering components in: nsAccessibilityModule
  35.
      *** Registering components in: appshell
  36.
      *** Registering components in: nsTransactionManagerModule
  37.
      *** Registering components in: nsComposerModule
  38.
      *** Registering components in: nsChromeModule
  39.
      *** Registering components in: application
  40.
      *** Registering components in: nsFindComponent
  41.
      *** Registering components in: Apprunner
  42.
      *** Registering components in: CommandLineModule
  43.
      *** Registering components in: nsFileViewModule
  44.
      *** Registering components in: mozStorageModule
  45.
      *** Registering components in: nsPlacesModule
  46.
      *** Registering components in: tkAutoCompleteModule
  47.
      *** Registering components in: satchel
  48.
      *** Registering components in: PKI
  49.
      *** Registering components in: nsToolkitCompsModule
  50.
      *** Registering components in: RemoteServiceModule
  51.
      *** Registering components in: nsSoftwareUpdate
  52.
      *** Registering components in: JavaScript_Debugger
  53.
      *** Registering components in: BOOT
  54.
      *** Registering components in: NSS
  55.
      *** Registering components in: nsSystemPrefModule
  56.
      *** Registering components in: nsAutoConfigModule
  57.
      *** Registering components in: mozSpellCheckerModule
  58.
      *** Registering components in: nsUnixProxyModule
  59.
      *** Registering components in: jsctypes
  60.
      *** registering nsTaggingService.js: [ Places Tagging Service, Places Tag AutoComplete ]
  61.
      *** registering storage-Legacy.js: [ LoginManagerStorage_legacy ]
  62.
      *** registering nsLoginInfo.js: [ LoginInfo ]
  63.
      *** Registering components in: mozgnome
  64.
      *** registering nsBadCertHandler.js: [ XMLHttpRequest Bad Cert Handler ]
  65.
      *** registering nsPlacesAutoComplete.js: [ AutoComplete result generator for Places. ]
  66.
      *** registering nsBlocklistService.js: [ Blocklist Service ]
  67.
      *** registering nsPlacesDBFlush.js: [ Used to synchronize the temporary and permanent tables of Places ]
  68.
      *** loading ISO8601DateUtils
  69.
      *** registering FeedProcessor.js: [ Feed Processor, Feed Result, Feed, Feed Entry, Feed Text Construct, Feed Generator, Feed Person ]
  70.
      *** Registering components in: nsGnomeVFSModule
  71.
      *** registering pluginGlue.js: [ plugin bindings ]
  72.
      *** registering nsTryToClose.js: [ tryToClose Service ]
  73.
      *** registering nsSearchSuggestions.js: [ Remote Search Suggestions ]
  74.
      *** registering nsLoginManager.js: [ LoginManager ]
  75.
      *** registering nsWebHandlerApp.js: [ A web handler for protocols and content ]
  76.
      *** registering nsContentDispatchChooser.js: [ Used to handle different types of content ]
  77.
      *** registering nsHandlerService.js: [ Handler Service ]
  78.
      *** registering storage-mozStorage.js: [ LoginManagerStorage_mozStorage ]
  79.
      *** registering jsconsole-clhandler.js: [ jsConsoleHandler ]
  80.
      *** registering nsLoginManagerPrompter.js: [ LoginManagerPromptFactory, LoginManagerPrompter ]
  81.
      *** Registering components in: xpctools
  82.
      *** registering nsINIProcessor.js: [ INIProcessorFactory ]
  83.
      *** Registering components in: nsIconDecoderModule
  84.
      *** Registering components in: nsDBusModule
  85.
      *** registering nsExtensionManager.js: [ Extension Manager, Extension Manager Data Source, Update Item ]
  86.
      *** registering nsURLFormatter.js: [ Application URL Formatter Service ]
  87.
      *** registering nsFormAutoComplete.js: [ FormAutoComplete ]
  88.
      ###!!! ASSERTION: Trying to load an xpt file twice: 'Error', file xptiInterfaceInfoManager.cpp, line 531
  89.
      *** registering NetworkGeolocationProvider.js: [ A component that returns a geolocation based on WIFI ]
  90.
      *** registering nsDownloadManagerUI.js: [ Used to show the Download Manager's UI to the user ]
  91.
      *** registering nsAddonRepository.js: [ Addon Repository ]
  92.
      *** registering nsUpdateTimerManager.js: [ Timer Manager ]
  93.
      *** registering nsContentPrefService.js: [ Content Pref Service, Hostname Grouper ]
  94.
      *** registering GPSDGeolocationProvider.js: [ Returns a geolocation from a GPSD source ]
  95.
      *** registering nsPlacesTransactionsService.js: [ Places Transaction Manager ]
  96.
      *** registering nsMicrosummaryService.js: [ Microsummary Service ]
  97.
      *** registering nsSessionStore.js: [ Browser Session Store Service ]
  98.
      *** registering nsPrivateBrowsingService.js: [ PrivateBrowsing Service ]
  99.
      *** registering nsSetDefaultBrowser.js: [ Default Browser Cmdline Handler ]
 100.
      *** registering fuelApplication.js: [ Application ]
 101.
      *** Registering components in: BrowserDirProvider
 102.
      *** registering nsBrowserGlue.js: [ Firefox Browser Glue Service, Geolocation Prompting Component ]
 103.
      *** registering WebContentConverter.js: [ Web Content Handler Registrar ]
 104.
      *** Registering components in: nsBrowserCompsModule
 105.
      *** registering FeedWriter.js: [ Feed Writer ]
 106.
      *** registering nsSessionStartup.js: [ Browser Session Startup Service ]
 107.
      *** Registering components in: xpconnect
 108.
      *** Registering components in: nsUCvMathModule
 109.
      *** Registering components in: nsUConvModule
 110.
      *** Registering components in: nsI18nModule
 111.
      *** Registering components in: nsChardetModule
 112.
      *** Registering components in: nsUniversalCharDetModule
 113.
      *** Registering components in: necko
 114.
      *** Registering components in: nsCookieModule
 115.
      *** Registering components in: nsPermissionsModule
 116.
      *** Registering components in: nsAuthModule
 117.
      *** Registering components in: nsJarModule
 118.
      *** Registering components in: ZipWriterModule
 119.
      *** Registering components in: nsPrefModule
 120.
      *** Registering components in: nsSecurityManagerModule
 121.
      *** Registering components in: nsRDFModule
 122.
      *** Registering components in: nsXPIntlModule
 123.
      *** Registering components in: nsWindowDataSourceModule
 124.
      *** Registering components in: nsParserModule
 125.
      *** Registering components in: nsGfxModule
 126.
      *** Registering components in: nsWidgetGtk2Module
 127.
      *** Registering components in: nsImageLib2Module
 128.
      *** Registering components in: nsPluginModule
 129.
      *** Registering components in: nsLayoutModule
 130.
      *** Registering components in: docshell_provider
 131.
      *** Registering components in: embedcomponents
 132.
      *** Registering components in: Browser_Embedding_Module
 133.
      *** Registering components in: nsAccessibilityModule
 134.
      *** Registering components in: appshell
 135.
      *** Registering components in: nsTransactionManagerModule
 136.
      *** Registering components in: nsComposerModule
 137.
      *** Registering components in: nsChromeModule
 138.
      *** Registering components in: application
 139.
      *** Registering components in: nsFindComponent
 140.
      *** Registering components in: Apprunner
 141.
      *** Registering components in: CommandLineModule
 142.
      *** Registering components in: nsFileViewModule
 143.
      *** Registering components in: mozStorageModule
 144.
      *** Registering components in: nsPlacesModule
 145.
      *** Registering components in: tkAutoCompleteModule
 146.
      *** Registering components in: satchel
 147.
      *** Registering components in: PKI
 148.
      *** Registering components in: nsToolkitCompsModule
 149.
      *** Registering components in: RemoteServiceModule
 150.
      *** Registering components in: nsSoftwareUpdate
 151.
      *** Registering components in: JavaScript_Debugger
 152.
      *** Registering components in: BOOT
 153.
      *** Registering components in: NSS
 154.
      *** Registering components in: nsSystemPrefModule
 155.
      *** Registering components in: nsAutoConfigModule
 156.
      *** Registering components in: mozSpellCheckerModule
 157.
      *** Registering components in: nsUnixProxyModule
 158.
      *** Registering components in: jsctypes
 159.
      pldhash: for the table at address 0x8c24c10, the given entrySize of 48 probably favors chaining over double hashing.
 160.
      WARNING: dependent window created without a parent: file nsAppStartup.cpp, line 457
 161.
      pldhash: for the table at address 0x8c4eb08, the given entrySize of 48 probably favors chaining over double hashing.
 162.
      ++DOCSHELL 0x8c4eaa0 == 1
 163.
      ++DOMWINDOW == 1 (0x8c4f738) [serial = 1] [outer = (nil)]
 164.
      ++DOMWINDOW == 2 (0x89be6b8) [serial = 2] [outer = 0x8c4f708]
 165.
      --DOCSHELL 0x8c4eaa0 == 0
 166.
      WARNING: nsExceptionService ignoring thread destruction after shutdown: file nsExceptionService.cpp, line 194
 167.
      nsXPConnect::CommenceShutdown()
 168.
      WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file nsEventStateManager.cpp, line 282
 169.
      --DOMWINDOW == 1 (0x8c4f738) [serial = 1] [outer = (nil)] [url = chrome://global/content/commonDialog.xul]
 170.
      --DOMWINDOW == 0 (0x89be6b8) [serial = 2] [outer = (nil)] [url = about:blank]
 171.
      Could not write out persistent registry!
 172.
      nsStringStats
 173.
       => mAllocCount:           4756
 174.
       => mReallocCount:          782
 175.
       => mFreeCount:            4756
 176.
       => mShareCount:           3367
 177.
       => mAdoptCount:           1060
 178.
       => mAdoptFreeCount:       1060
 179.
      cat@localhost ~ $

OS:Gentoo amd64
Спасибо сказали:
Аватара пользователя
serzh-z
Бывший модератор
Сообщения: 8259
Статус: Маньяк
ОС: Arch, Fedora, Ubuntu

Re: Решено: Firefox не стартует

Сообщение serzh-z »

demontager
Так из всей это темы до сих пор неясны симптомы проблемы? FF-bin падает? Просто FF падает? GLib пишет предупреждение? Ещё что-то?
Спасибо сказали:
Аватара пользователя
serg_sk
Бывший модератор
Сообщения: 2749
Статус: <3 Anime
ОС: Gentoo Linux <3

Re: Решено: Firefox не стартует

Сообщение serg_sk »

Разобрались.

Код: Выделить всё

compiling sys-libs/zlib-1.2.3-r1 with gcc-4.4 and -O3, specifically the -ftree-vectorize flag causes applications to crash.


Так же не указывайте -ftree-vectorize при -O2.

Источник: http://bugs.gentoo.org/show_bug.cgi?id=270120
Не ждали?! А я приперся!
Помойка Gentoo'шника
-------
Спасибо сказали:
Аватара пользователя
serzh-z
Бывший модератор
Сообщения: 8259
Статус: Маньяк
ОС: Arch, Fedora, Ubuntu

Re: Решено: Firefox не стартует

Сообщение serzh-z »

serg_sk писал(а):
09.10.2010 01:07
Источник: http://bugs.gentoo.org/show_bug.cgi?id=270120
Ну как обычно - "дурная голова ногам покоя не даёт". )
Спасибо сказали:
Аватара пользователя
serg_sk
Бывший модератор
Сообщения: 2749
Статус: <3 Anime
ОС: Gentoo Linux <3

Re: Решено: Firefox не стартует

Сообщение serg_sk »

Да врятли. Просто человек только недавно на Gentoo перешел. А CFLAGS ему кто-то подсказал со словами: "так будет лучше оптимизация" :)
Не ждали?! А я приперся!
Помойка Gentoo'шника
-------
Спасибо сказали:
Аватара пользователя
serzh-z
Бывший модератор
Сообщения: 8259
Статус: Маньяк
ОС: Arch, Fedora, Ubuntu

Re: Решено: Firefox не стартует

Сообщение serzh-z »

serg_sk писал(а):
09.10.2010 02:13
А CFLAGS ему кто-то подсказал со словами: "так будет лучше оптимизация"
Ладно... перефразирую - "Чужая дурная голова ногам покоя не даёт". =)
Спасибо сказали:
Аватара пользователя
taaroa
Сообщения: 1319

Re: Решено: Firefox не стартует

Сообщение taaroa »

serg_sk писал(а):
09.10.2010 02:13
А CFLAGS ему кто-то подсказал со словами: "так будет лучше оптимизация" :)

:wq
Спасибо сказали:
Аватара пользователя
demontager
Сообщения: 250
Статус: Seaman
ОС: Gentoo x86_64

Re: Решено: Firefox не стартует

Сообщение demontager »

С Firefox всё решилось, работает, благодарю serg_sk, помагал через ssh с проблемой. Но осталась ещё проблема с thunderbird
cat@localhost ~ $ thunderbird
/usr/lib/thunderbird/run-mozilla.sh: line 131: 6712 Segmentation fault "$prog" ${1+"$@"}
OS:Gentoo amd64
Спасибо сказали:
Аватара пользователя
demontager
Сообщения: 250
Статус: Seaman
ОС: Gentoo x86_64

Re: Решено: Firefox не стартует

Сообщение demontager »

Всё норма, после пересборки мира, заработал и thunderbird.
OS:Gentoo amd64
Спасибо сказали: