Bug#852032: libjavascriptcoregtk-4.0-18: Segmentation fault in LLIntAssembly.h:2610 on powerpc64

2019-06-26 Thread Emilio Pozuelo Monfort
On 25/06/2019 15:05, Alberto Garcia wrote:
> On Mon, Jan 23, 2017 at 11:14:16AM +0100, Alberto Garcia wrote:
>> webkit2gtk itself builds fine, seed-webkit2 is what fails:
> 
> I wanted to test this with the latest versions of WebKitGTK, but I
> don't seem to have access to any porterbox with ppc64 (only ppc64el,
> in which things work fine).

Apparently there used to be one (pizetti) but that seems down now. Cc'ing the
ppc64 buildd maintainers, maybe they can clarify if there's another porterbox.

Emilio



Bug#852032: libjavascriptcoregtk-4.0-18: Segmentation fault in LLIntAssembly.h:2610 on powerpc64

2019-06-25 Thread Alberto Garcia
On Mon, Jan 23, 2017 at 11:14:16AM +0100, Alberto Garcia wrote:
> webkit2gtk itself builds fine, seed-webkit2 is what fails:

I wanted to test this with the latest versions of WebKitGTK, but I
don't seem to have access to any porterbox with ppc64 (only ppc64el,
in which things work fine).

Is this still a thing? Do we still care about ppc64? I'll close the
bug otherwise.

Berto



Bug#852032: libjavascriptcoregtk-4.0-18: Segmentation fault in LLIntAssembly.h:2610 on powerpc64

2017-01-23 Thread Alberto Garcia
On Sat, Jan 21, 2017 at 09:17:55AM +0100, Emilio Pozuelo Monfort wrote:

> > By the way, nearly exactly the same error happens on mips:
> 
> Huh? mips built fine:
> 
> https://buildd.debian.org/status/package.php?p=webkit2gtk=sid
> 
> Can you explain what you mean?

webkit2gtk itself builds fine, seed-webkit2 is what fails:

https://buildd.debian.org/status/package.php?p=seed-webkit2=sid

I'll see if I have time to check it later, but it indeed looks like a
regression.

Berto



Bug#852032: libjavascriptcoregtk-4.0-18: Segmentation fault in LLIntAssembly.h:2610 on powerpc64

2017-01-21 Thread Emilio Pozuelo Monfort
On 20/01/17 23:29, Andrew Shadura wrote:
> On 20/01/17 23:28, Andrew Shadura wrote:
>> On 20/01/17 22:24, Andrew Shadura wrote:
>>> To reproduce, I built seed-webkit2 on ppc64, installed 
>>> libjavascriptcoregtk-4.0-18-dbgsym and ran in the directory with unpacked 
>>> package source:
>>>
>>> $ export LD_LIBRARY_PATH=$(pwd)/libseed/.libs:
>>> $ cd doc/modules/readline
>>> $ gdb ../../../src/seed
>>
>> Obviously, I meant this:
>>
>> $ gdb ../../../src/.libs/seed
>>
>>> (gdb) set args ../../../doc/modules/make-functions.js 
>>> ../../../doc/modules/readline/readline.js
>>> (gdb) run
> 
> By the way, nearly exactly the same error happens on mips:

Huh? mips built fine:

https://buildd.debian.org/status/package.php?p=webkit2gtk=sid

Can you explain what you mean?

Emilio



Bug#852032: libjavascriptcoregtk-4.0-18: Segmentation fault in LLIntAssembly.h:2610 on powerpc64

2017-01-20 Thread Andrew Shadura
On 20/01/17 23:28, Andrew Shadura wrote:
> On 20/01/17 22:24, Andrew Shadura wrote:
>> To reproduce, I built seed-webkit2 on ppc64, installed 
>> libjavascriptcoregtk-4.0-18-dbgsym and ran in the directory with unpacked 
>> package source:
>>
>> $ export LD_LIBRARY_PATH=$(pwd)/libseed/.libs:
>> $ cd doc/modules/readline
>> $ gdb ../../../src/seed
> 
> Obviously, I meant this:
> 
> $ gdb ../../../src/.libs/seed
> 
>> (gdb) set args ../../../doc/modules/make-functions.js 
>> ../../../doc/modules/readline/readline.js
>> (gdb) run

By the way, nearly exactly the same error happens on mips:

> Thread 1 "seed" received signal SIGBUS, Bus error.
> JSC::LLInt::CLoop::execute () at 
> ./obj-mips-linux-gnu/DerivedSources/JavaScriptCore/LLIntAssembly.h:4182
> 4182./obj-mips-linux-gnu/DerivedSources/JavaScriptCore/LLIntAssembly.h: 
> No such file or directory.
> (gdb) bt
> #0  JSC::LLInt::CLoop::execute () at 
> ./obj-mips-linux-gnu/DerivedSources/JavaScriptCore/LLIntAssembly.h:4182
> #1  0x776fc68c in vmEntryToJavaScript () at 
> ./Source/JavaScriptCore/llint/LLIntThunks.cpp:104
> #2  0x776e7c48 in JSC::JITCode::execute () at 
> ./Source/JavaScriptCore/jit/JITCode.cpp:80
> #3  0x776dcc20 in JSC::Interpreter::execute () at 
> ./Source/JavaScriptCore/interpreter/Interpreter.cpp:899
> #4  0x7784a6ec in JSC::evaluate () at 
> ./Source/JavaScriptCore/runtime/Completion.cpp:106
> #5  0x7784aa4c in JSC::profiledEvaluate () at 
> ./Source/JavaScriptCore/runtime/Completion.cpp:121
> #6  0x77576f24 in JSEvaluateScript () at 
> ./Source/JavaScriptCore/API/JSBase.cpp:68
> #7  0x77e52b18 in seed_include (ctx=0x739fff68, function=, 
> this_object=, argumentCount=, 
> arguments=0x7fff59bc, 
> exception=0x7fff5994) at seed-builtins.c:104
> #8  0x775790dc in JSC::APICallbackFunction::call () 
> at ./Source/JavaScriptCore/API/APICallbackFunction.h:63
> #9  0x776e8e04 in handleHostCall () at 
> ./Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:1231
> #10 0x776f51a4 in JSC::LLInt::genericCall () at 
> ./Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:1340
> #11 llint_slow_path_call () at 
> ./Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:1347
> #12 0x776ffec8 in JSC::LLInt::CLoop::execute () at 
> ./obj-mips-linux-gnu/DerivedSources/JavaScriptCore/LLIntAssembly.h:6864
> #13 0x776fc68c in vmEntryToJavaScript () at 
> ./Source/JavaScriptCore/llint/LLIntThunks.cpp:104
> #14 0x776e7c48 in JSC::JITCode::execute () at 
> ./Source/JavaScriptCore/jit/JITCode.cpp:80
> #15 0x776dcc20 in JSC::Interpreter::execute () at 
> ./Source/JavaScriptCore/interpreter/Interpreter.cpp:899
> #16 0x7784a6ec in JSC::evaluate () at 
> ./Source/JavaScriptCore/runtime/Completion.cpp:106
> #17 0x7784aa4c in JSC::profiledEvaluate () at 
> ./Source/JavaScriptCore/runtime/Completion.cpp:121
> #18 0x77576f24 in JSEvaluateScript () at 
> ./Source/JavaScriptCore/API/JSBase.cpp:68
> #19 0x77e58334 in seed_init_with_context_and_group (argc=0x7fff64d0, 
> argv=0x7fff64ac, context=, group=) at 
> seed-engine.c:1914
> #20 0x0e60 in main (argc=, argv=) at 
> main.c:142


-- 
Cheers,
  Andrew



signature.asc
Description: OpenPGP digital signature


Bug#852032: libjavascriptcoregtk-4.0-18: Segmentation fault in LLIntAssembly.h:2610 on powerpc64

2017-01-20 Thread Andrew Shadura
On 20/01/17 22:24, Andrew Shadura wrote:
> To reproduce, I built seed-webkit2 on ppc64, installed 
> libjavascriptcoregtk-4.0-18-dbgsym and ran in the directory with unpacked 
> package source:
> 
> $ export LD_LIBRARY_PATH=$(pwd)/libseed/.libs:
> $ cd doc/modules/readline
> $ gdb ../../../src/seed

Obviously, I meant this:

$ gdb ../../../src/.libs/seed

> (gdb) set args ../../../doc/modules/make-functions.js 
> ../../../doc/modules/readline/readline.js
> (gdb) run

-- 
Cheers,
  Andrew



signature.asc
Description: OpenPGP digital signature


Bug#852032: libjavascriptcoregtk-4.0-18: Segmentation fault in LLIntAssembly.h:2610 on powerpc64

2017-01-20 Thread Andrew Shadura
Package: libjavascriptcoregtk-4.0-18
Version: 2.14.2-1
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hello,

Segmentation fault in libjavascriptcoregtk-4.0.so.18 causes seed-webkit2
FTBFS on powerpc64.

Here's the stacktrace I retrieved on a porterbox:

Thread 1 "seed" received signal SIGSEGV, Segmentation fault.
JSC::LLInt::CLoop::execute (entryOpcodeID=3019375176, executableAddress=0x0, 
vm=0x3fffb3fc, protoCallFrame=0x3fff, isInitializationPass=false)
at 
./obj-powerpc64-linux-gnu/DerivedSources/JavaScriptCore/LLIntAssembly.h:2610
2610
./obj-powerpc64-linux-gnu/DerivedSources/JavaScriptCore/LLIntAssembly.h: No 
such file or directory.
(gdb) bt
#0  JSC::LLInt::CLoop::execute (entryOpcodeID=3019375176, 
executableAddress=0x0, vm=0x3fffb3fc, protoCallFrame=0x3fff, 
isInitializationPass=false)
at 
./obj-powerpc64-linux-gnu/DerivedSources/JavaScriptCore/LLIntAssembly.h:2610
#1  0x3fffb74b8e24 in JSC::vmEntryToJavaScript 
(executableAddress=, vm=, 
protoCallFrame=)
at ./Source/JavaScriptCore/llint/LLIntThunks.cpp:104
#2  0x3fffb74a2f18 in JSC::JITCode::execute (this=, 
vm=0x3fffb3fc, protoCallFrame=0x3fffdff8)
at ./Source/JavaScriptCore/jit/JITCode.cpp:80
#3  0x3fffb7497820 in JSC::Interpreter::execute (this=, 
program=0x3fffb2f63e80, callFrame=, thisObj=0x3fffb2f6c6c0)
at ./Source/JavaScriptCore/interpreter/Interpreter.cpp:899
#4  0x3fffb760b7bc in JSC::evaluate (exec=0x3fffb33d80e0, source=..., 
thisValue=..., returnedException=...)
at ./Source/JavaScriptCore/runtime/Completion.cpp:106
#5  0x3fffb760b9e8 in JSC::profiledEvaluate (exec=0x3fffb33d80e0, 
reason=, source=..., thisValue=..., returnedException=...)
at ./Source/JavaScriptCore/runtime/Completion.cpp:121
#6  0x3fffb730f7d4 in JSEvaluateScript (ctx=, 
script=, thisObject=0x0, sourceURL=0x0, 
startingLineNumber=,
exception=0x0) at ./Source/JavaScriptCore/API/JSBase.cpp:68
#7  0x3fffb7d9138c in seed_simple_evaluate (ctx=0x3fffb33d80e0, 
source=, exception=0x0) at seed-api.c:308
#8  0x3fffb7d97938 in seed_init_constrained_with_context_and_group 
(argc=0x3010, argv=0x3fffefa8, context=0x3fffb33d80e0, 
group=0x3fffb3fc)
at seed-engine.c:1840
#9  0x3fffb7d97c54 in seed_init_with_context_and_group (argc=, argv=, context=, group=)
at seed-engine.c:1905
#10 0x3fffb7d97d78 in seed_init_with_context_group (argc=0x3010, 
argv=0x3fffefa8, group=0x3fffb3fc) at seed-engine.c:1939
#11 0x3fffb7d97df0 in seed_init (argc=0x3010, argv=) 
at seed-engine.c:1962
#12 0x1fc0 in main (argc=, argv=) at 
main.c:142

To reproduce, I built seed-webkit2 on ppc64, installed 
libjavascriptcoregtk-4.0-18-dbgsym and ran in the directory with unpacked 
package source:

$ export LD_LIBRARY_PATH=$(pwd)/libseed/.libs:
$ cd doc/modules/readline
$ gdb ../../../src/seed
(gdb) set args ../../../doc/modules/make-functions.js 
../../../doc/modules/readline/readline.js
(gdb) run

Please have a look at this.

- -- 
Cheers,
  Andrew

-BEGIN PGP SIGNATURE-

iQExBAEBCAAbBQJYgn/0FBxhbmRyZXdzaEBkZWJpYW4ub3JnAAoJEJ1bI/kYT6UU
LkoH/iThKO73KvLO3qPnmeEcwhKVe3GPCDgSrcE5U4w9ml9fNqJcxK1j3gjUzGc3
3HjGdjyau1so4ZELAaZ3PcxUU8NpdwC04YlSSfkTz0woY+ddZI8tuSHEZdIWb/8G
QXFo31VQD5XtRaCvT/tCpy7mzLdJyHY1IARrEgpgGSIE6iC/ADBXPGQ9P/y12Y+W
h2A2K7droG0ScKXMmYzhnkPPV1UPWGQy+mcSHPo6m65ZyeaITH6vRARwUH3gRnHf
/kalXkOMR6/6voVc07z+EOjJ1apXRVbPBQa7io4a9DEo9ekkyuwG8KNr2pmYWzRM
eqNsHskL2zS+60MhJyAbvKoLc6E=
=yTDu
-END PGP SIGNATURE-