------- Comment From [email protected] 2018-11-27 08:10 EDT-------
Ok, I know what the problem with the missing libraries is -> you don't put the 
Shared-Object into the appropriate search pathes so that ld.so can find them.

But though, also with hand written search pathes the firefox package is
still broken:

milliadm@mclint:~$ 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/firefox:/usr/lib/gcc-mozilla/lib 
firefox
Segmentation fault (core dumped)
milliadm@mclint:~$ echo $?
139

For completeness, here is the stack breakdown:

#0  NS_ABORT_OOM (aSize=<optimized out>) at 
/build/firefox-VVCewt/firefox-63.0.3+build1/xpcom/base/nsDebugImpl.cpp:628
#1  0x000003fff457a1e4 in nsTSubstring<char>::AllocFailed (aLength=<optimized 
out>, this=0x3ffffffdb38)
at /build/firefox-VVCewt/firefox-63.0.3+build1/xpcom/string/nsTSubstring.h:1165
#2  nsTString<char>::ReplaceSubstring (this=this@entry=0x3ffffffdb38, 
aTarget=..., aNewValue=...)
at 
/build/firefox-VVCewt/firefox-63.0.3+build1/xpcom/string/nsTStringObsolete.cpp:275
#3  0x000003fff457a28e in nsTString<char>::ReplaceSubstring 
(this=this@entry=0x3ffffffdb38,
aTarget=aTarget@entry=0x3fff832e126 ";", 
aNewValue=aNewValue@entry=0x3fff807a438 "%3b")
at 
/build/firefox-VVCewt/firefox-63.0.3+build1/xpcom/string/nsTStringObsolete.cpp:252
#4  0x000003fff4674cb4 in net_GetURLSpecFromActualFile (aFile=<optimized out>, 
result=...)
at 
/build/firefox-VVCewt/firefox-63.0.3+build1/netwerk/base/nsURLHelperUnix.cpp:45
#5  0x000003fff463caaa in mozilla::FileLocation::GetURIString 
(this=this@entry=0x3fffd6ed5f0, aResult=...)
at /build/firefox-VVCewt/firefox-63.0.3+build1/xpcom/build/FileLocation.cpp:118
#6  0x000003fff4d65a80 in nsZipArchive::OpenArchive 
(this=this@entry=0x3fffd6fa000, aZipHandle=0x3fffd6ed5e0, aFd=aFd@entry=0x0)
at 
/build/firefox-VVCewt/firefox-63.0.3+build1/modules/libjar/nsZipArchive.cpp:359
#7  0x000003fff4d65bbe in nsZipArchive::OpenArchive 
(this=this@entry=0x3fffd6fa000, aFile=<optimized out>)
at 
/build/firefox-VVCewt/firefox-63.0.3+build1/modules/libjar/nsZipArchive.cpp:380
#8  0x000003fff4640352 in mozilla::Omnijar::InitOne (aPath=aPath@entry=0x0, 
aType=aType@entry=mozilla::Omnijar::GRE)
at /build/firefox-VVCewt/firefox-63.0.3+build1/xpcom/build/Omnijar.cpp:87
#9  0x000003fff4641dfa in mozilla::Omnijar::Init (aAppPath=0x0, aGrePath=0x0)
at /build/firefox-VVCewt/firefox-63.0.3+build1/xpcom/build/Omnijar.cpp:111
#10 NS_InitXPCOM2 (aResult=0x3fffd685a30, aBinDirectory=<optimized out>, 
aAppFileLocationProvider=<optimized out>)
at /build/firefox-VVCewt/firefox-63.0.3+build1/xpcom/build/XPCOMInit.cpp:609
#11 0x000003fff46421cc in NS_InitXPCOM2 (aResult=aResult@entry=0x3fffd685a30, 
aBinDirectory=<optimized out>,
aAppFileLocationProvider=<optimized out>) at 
/build/firefox-VVCewt/firefox-63.0.3+build1/xpcom/build/XPCOMInit.cpp:747
#12 0x000003fff74153d8 in ScopedXPCOMStartup::Initialize (this=0x3fffd685a30)
at /build/firefox-VVCewt/firefox-63.0.3+build1/toolkit/xre/nsAppRunner.cpp:1490
#13 0x000003fff741cf16 in XREMain::XRE_main (this=this@entry=0x3ffffffe280, 
argc=argc@entry=1, argv=argv@entry=0x3fffffff7a8,
aConfig=...) at 
/build/firefox-VVCewt/firefox-63.0.3+build1/toolkit/xre/nsAppRunner.cpp:4923
#14 0x000003fff741d2aa in XRE_main (argc=<optimized out>, argv=0x3fffffff7a8, 
aConfig=...)
at /build/firefox-VVCewt/firefox-63.0.3+build1/toolkit/xre/nsAppRunner.cpp:5019
#15 0x0000000100006c48 in do_main (argc=<optimized out>, argv=0x3fffffff7a8, 
envp=<optimized out>)
at /build/firefox-VVCewt/firefox-63.0.3+build1/browser/app/nsBrowserApp.cpp:233
#16 0x0000000100006468 in main (argc=<optimized out>, argv=0x3fffffff7a8, 
envp=0x3fffffff7b8)
at /build/firefox-VVCewt/firefox-63.0.3+build1/browser/app/nsBrowserApp.cpp:315

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1642965

Title:
  Firefox crashes - Error loading theme icon

Status in firefox package in Ubuntu:
  Won't Fix

Bug description:
  Linux lnx 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:14:35 UTC 2016 s390x 
s390x s390x GNU/Linux
  Firefox:
  firefox       47.0+build3-0ubuntu0.16.04.1

  Description:
  Firefox crashes when trying to start it on the server and display on the 
local client.
  Other X application can be displayed.

  Reproduction:
  Login to the server: ssh -X lnxserver
  Start firefox: firefox --no-remote

  Error Message:
  (firefox:39655): Gtk-WARNING **: Error loading theme icon 'list-add' for 
stock: Icon 'list-add' not present in theme System
  Segmentation fault (core dumped)

  == Comment: #6 - Thorsten Diehl <[email protected]> - 2016-11-16 
11:50:35 ==
  I can confirm this.

  I installed Ubuntu 16.04.1 on s390x (z13 machine) and installed updates, then 
x11-apps, which were working fine (xclock, xeyes).
  I installed firefox and started it:
  firefox --no-remote 
  it created tons of messages, all complaing about an unknown image format.
  Any subsequent start does not create that many messages. But even with 
--safe-mode I can't get it started:
  root@s8330009:~# firefox --no-remote --safe-mode

  (firefox:1487): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
  Crash Annotation GraphicsCriticalError: |[0][GFX1]: Unknown image format 1 
(t=0.627128) [GFX1]: Unknown image format 1
  Crash Annotation GraphicsCriticalError: |[0][GFX1]: Unknown image format 1 
(t=0.627128) |[1][GFX1]: Unknown image format 0 (t=0.631695) [GFX1]: Unknown 
image format 0
  [1487] ###!!! ABORT: X_ShmAttach: BadAccess (attempt to access private 
resource denied); 3 requests ago: file 
/build/firefox-xMihVX/firefox-47.0+build3/toolkit/xre/nsX11ErrorHandler.cpp, 
line 157
  [1487] ###!!! ABORT: X_ShmAttach: BadAccess (attempt to access private 
resource denied); 3 requests ago: file 
/build/firefox-xMihVX/firefox-47.0+build3/toolkit/xre/nsX11ErrorHandler.cpp, 
line 157

  Perhaps a graphics library (gtklib?) has a problem?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1642965/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to