xulrunner-stub of linux crashes in segmentation fault.



4 years ago
3 years ago


(Reporter: mitsugu.oyama, Unassigned)


36 Branch




4 years ago
User Agent: Mozilla/5.0 (X11; Linux i686; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150305021524

Steps to reproduce:

1. Create a XULRunner application.
2. Copy the xulrunner-stub in application directory.
3. Rename xulrunner-stub to appname.
4. Start the appname.

Actual results:

Appname to crash by segmentation fault.

Expected results:


Comment 1

4 years ago

Expected results:

Star the appname.

Comment 2

4 years ago
What's the stack of the crash?
Flags: needinfo?(mitsugu.oyama)

Comment 3

4 years ago
How can I find if the stack?
Flags: needinfo?(mitsugu.oyama)

Comment 4

4 years ago
info stack:

(gdb) r
Starting program: /home/mitsugu/Develop/Mozilla/XULRunner/jwbird/jwbird 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) info stack
#0  0x00000000 in ?? ()
#1  0xb3ed4b0a in ?? () from /opt/xulrunner/libxul.so
#2  0xb7fecd27 in call_init (l=<optimized out>, argc=argc@entry=1, 
    argv=argv@entry=0xbffff1e4, env=env@entry=0xbffff1ec) at dl-init.c:78
#3  0xb7fece14 in call_init (env=0xbffff1ec, argv=0xbffff1e4, argc=1, 
    l=<optimized out>) at dl-init.c:36
#4  _dl_init (main_map=main_map@entry=0x805f1d0, argc=1, argv=0xbffff1e4, 
    env=0xbffff1ec) at dl-init.c:126
#5  0xb7ff0e32 in dl_open_worker (a=0xbfff8d5c) at dl-open.c:577
#6  0xb7fecbd6 in _dl_catch_error (objname=objname@entry=0xbfff8d54, 
    operate=operate@entry=0xb7ff0b20 <dl_open_worker>, 
    args=args@entry=0xbfff8d5c) at dl-error.c:187
#7  0xb7ff0614 in _dl_open (file=0xbfff8fec "/opt/xulrunner/libxul.so", 
    mode=-2147483391, caller_dlopen=
    0x8050bba <GetLibHandle(mozilla::pathstr_t)+34>, nsid=<optimized out>, 
    argc=1, argv=0xbffff1e4, env=0xbffff1ec) at dl-open.c:661
#8  0xb7f9ccbc in dlopen_doit (a=0xbfff8f10) at dlopen.c:66
#9  0xb7fecbd6 in _dl_catch_error (objname=0x805c324, errstring=0x805c328, 
    mallocedp=0x805c320, operate=0xb7f9cc30 <dlopen_doit>, args=0xbfff8f10)
    at dl-error.c:187
#10 0xb7f9d37c in _dlerror_run (
    operate=operate@entry=0xb7f9cc30 <dlopen_doit>, args=args@entry=0xbfff8f10)
    at dlerror.c:163
#11 0xb7f9cd71 in __dlopen (file=0xbfff8fec "/opt/xulrunner/libxul.so", 
    mode=257) at dlopen.c:87
#12 0x08050bba in GetLibHandle (
    aDependentLib=0xbfff8fec "/opt/xulrunner/libxul.so")
    at /home/mitsugu/tmp/tmp/mozilla-release/xpcom/glue/standalone/nsXPCOMGlue.cpp:227
#13 0x08050cb5 in ReadDependentCB (
    aDependentLib=0xbfff8fec "/opt/xulrunner/libxul.so", aDoPreload=false)
    at /home/mitsugu/tmp/tmp/mozilla-release/xpcom/glue/standalone/nsXPCOMGlue.cpp:276
#14 0x08050fff in XPCOMGlueLoad (
    aXPCOMFile=0xbfffd11c "/opt/xulrunner/libxul.so")
    at /home/mitsugu/tmp/tmp/mozilla-release/xpcom/glue/standalone/nsXPCOMGlue.cpp:456
#15 0x080511d9 in XPCOMGlueStartup (
    aXPCOMFile=0xbfffd11c "/opt/xulrunner/libxul.so")
    at /home/mitsugu/tmp/tmp/mozilla-release/xpcom/glue/standalone/nsXPCOMGlue.cpp:521
#16 0x0804970a in main (argc=1, argv=0xbffff1e4)
    at /home/mitsugu/tmp/tmp/mozilla-release/xulrunner/stub/nsXULStub.cpp:386

Comment 5

3 years ago
Seeing this too.  It started around 35.0.1.  If you use the stub from 35.0.1 with the latest version, 37.0, It works.

Comment 6

3 years ago
Even XULRunner 27.0 stub has crashed.

Comment 7

3 years ago
Even XULRunner 37.0.1 and 37.0.2 stub has crashed.

Comment 8

3 years ago
XULRunner has been removed from the Mozilla tree: see https://groups.google.com/forum/#!topic/mozilla.dev.platform/_rFMunG2Bgw for context.

I am closing all the bugs currently in the XULRunner bugzilla component, in preparation for moving this component to the graveyard. If this bug is still valid in a XULRunner-less world, it will need to be moved to a different bugzilla component to be reopened.
Last Resolved: 3 years ago
Resolution: --- → INCOMPLETE


3 years ago
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.