qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Claudio Fontana <cfontana@suse.de>
To: Richard Henderson <richard.henderson@linaro.org>,
	Cornelia Huck <cohuck@redhat.com>
Cc: qemu-devel <qemu-devel@nongnu.org>,
	"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: assert fails in s390x TCG
Date: Fri, 28 Jul 2023 16:46:10 +0200	[thread overview]
Message-ID: <efd25473-9547-f671-cba8-40b9d6c9fc28@suse.de> (raw)
In-Reply-To: <d6e0b264-d56a-92d0-a663-9ee3339ea14f@suse.de>

On 7/28/23 16:40, Claudio Fontana wrote:
> On 7/28/23 16:28, Richard Henderson wrote:
>> On 7/28/23 07:23, Claudio Fontana wrote:
>>>> It is a test environment for building packages, so the guest at the time of the error is running ./configure for the package swig-v4.1.1.tar.gz
>>>>
>>>> checking build system type... s390x-ibm-linux-gnu^M
>>>> checking host system type... s390x-ibm-linux-gnu^M
>>>> checking for a BSD-compatible install... /usr/bin/install -c^M
>>>> checking whether build environment is sane... [New Thread 0x7ffea3fff6c0 (LWP 116436)]
>>>> [New Thread 0x7ffec14e26c0 (LWP 116437)]
>>>> [New Thread 0x7ffecf73e6c0 (LWP 116438)]
>>>> [New Thread 0x7ffecde2c6c0 (LWP 116439)]
>>>> [New Thread 0x7ffec2beb6c0 (LWP 116440)]
>>>> yes^M
>>>> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p^M
>>>> checking for gawk... gawk^M
>>>> checking whether make sets $(MAKE)... yes^M
>>>> checking whether make supports nested variables... yes^M
>>>> checking for s390x-ibm-linux-gnu-gcc... gcc^M
>>>> checking whether the C compiler works... **
>>>>
>>>> So I presume we are in:
>>>>
>>>> AC_PROG_CC
>>>>
>>>
>>>
>>> I am rerunning this over and over, and it seems it always aborts there in the same place.
>>
>> You didn't say what the host is, only qemu-system-s390x.
>> Am I barking up the wrong tree looking at s390x host?
>>
>>
>> r~
> 
> sorry, no it is an x86 host in this case, running openSUSE Tumbleweed.
> 
> 
> 

(gdb) frame 17
#17 0x0000555555abd537 in ld_code4 (env=0x5555566b9f50, s=0x7ffeeedfc2c0, pc=2929224048640) at ../target/s390x/tcg/translate.c:399
399         return (uint64_t)(uint32_t)translator_ldl(env, &s->base, pc);
(gdb) p env
$7 = (CPUS390XState *) 0x5555566b9f50
(gdb) p env[0]
$8 = {regs = {0, 128, 4396110331904, 2929231704344, 2929231698920, 0, 1, 4294967295, 127, 129, 2929167695872, 2929167695874, 
    4396120469352, 2929227322880, 4393751543808, 4397869291280}, vregs = {{4294967296, 4294967296}, {1, 4294967297}, {1, 4294967297}, {
      4294967296, 4294967297}, {4294967297, 4294967297}, {4294967297, 4294967297}, {4294967297, 1}, {4294967297, 4294967296}, {1, 
      4294967296}, {4294967297, 1}, {4294967297, 4294967296}, {0, 4294967296}, {4294967296, 1}, {0, 0}, {0, 1}, {4294967297, 0}, {
      4294967297, 4294967296}, {4294967296, 1}, {0, 1}, {8589934592, 0}, {4294967295, 4294967297}, {1, 4294967296}, {4294967297, 
      4294967296}, {4294967297, 4294967297}, {4294967297, 4294967297}, {1, 4294967297}, {4294967297, 1}, {0, 4294967297}, {1, 0}, {0, 0}, {
      4294967297, 4294967296}, {0, 24}}, aregs = {1023, 2369217472, 0 <repeats 14 times>}, gscb = {0, 0, 0, 0}, etoken = 0, 
  etoken_extension = 0, diag318_info = 0, start_initial_reset_fields = {<No data fields>}, fpc = 0, cc_op = 15, bpbc = false, 
  fpu_status = {float_exception_flags = 0, float_rounding_mode = float_round_nearest_even, 
    floatx80_rounding_precision = floatx80_precision_x, tininess_before_rounding = true, flush_to_zero = false, 
    flush_inputs_to_zero = false, default_nan_mode = false, snan_bit_is_one = false, use_first_nan = false, no_signaling_nans = false, 
    rebias_overflow = false, rebias_underflow = false}, psw = {mask = 505845723963588608, addr = 2929224048638}, 
  crash_reason = S390_CRASH_REASON_UNKNOWN, cc_src = 1, cc_dst = 128, cc_vr = 129, ex_value = 0, ex_target = 10319062, __excp_addr = 0, 
  psa = 27344896, int_pgm_code = 16, int_pgm_ilen = 2, int_svc_code = 90, int_svc_ilen = 2, per_address = 0, per_perc_atmid = 0, cregs = {
    337013264, 74613191, 118912, 0, 65535, 118912, 805306368, 74613191, 32768, 0, 0, 0, 0, 22298631, 3674210304, 118976}, 
  ckc = 15972532250018284863, cputm = 2251799817033977205, todpr = 4, pfault_token = 18446744073709551615, pfault_compare = 0, 
  pfault_select = 0, gbea = 1026, pp = 9223372036854778665, start_normal_reset_fields = {<No data fields>}, 
  riccb = '\000' <repeats 63 times>, pending_int = 0, external_call_addr = 6, emergency_signals = {0, 0, 0, 0}, 
  tlb_fill_tec = 2929224050688, tlb_fill_exc = 17, end_reset_fields = {<No data fields>}, core_id = 4, cpuid = 18014400747208704, 
  tod_timer = 0x5555566ba530, cpu_timer = 0x5555566ba570, cpu_state = 3 '\003', sigp_order = 0 '\000'}
(gdb) p s[0]
$9 = {base = {tb = 0x7fffe4923a00, pc_first = 2929224048638, pc_next = 2929224048638, is_jmp = DISAS_NEXT, num_insns = 1, max_insns = 512, 
    singlestep_enabled = false, host_addr = {0x7fff07ef8ffe, 0x0}}, insn = 0x7ffedc013740, insn_start = 0x7ffedc00b6b8, fields = {
    raw_insn = 18446744073709550296, op = 0, op2 = 0, presentC = 0, presentO = 0, c = {-10352, 32767, -295710720, 32766, -143555232, 
      32767, 1449893712}}, ex_value = 0, pc_tmp = 93825010474832, ilen = 4007641952, cc_op = CC_OP_DYNAMIC, exit_to_mainloop = false}




  reply	other threads:[~2023-07-28 14:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-21  9:08 assert fails in s390x TCG Claudio Fontana
2023-07-24  8:21 ` Claudio Fontana
2023-07-27 17:41 ` Richard Henderson
2023-07-28 13:29   ` Claudio Fontana
2023-07-28 13:33     ` Richard Henderson
2023-07-28 13:45       ` Claudio Fontana
2023-07-28 14:23         ` Claudio Fontana
2023-07-28 14:28           ` Richard Henderson
2023-07-28 14:40             ` Claudio Fontana
2023-07-28 14:46               ` Claudio Fontana [this message]
2023-07-28 16:05     ` Richard Henderson
2023-07-28 16:43       ` Richard Henderson
2024-06-12 12:41         ` Philippe Mathieu-Daudé
2024-06-12 13:08           ` Claudio Fontana
2024-06-12 14:33             ` Philippe Mathieu-Daudé
2023-07-31 11:31 ` Claudio Fontana
2023-07-31 20:51   ` Claudio Fontana
2023-08-04  9:00 ` Issue with s390 TCG and libc __strstr_arch13 [Was: Re: assert fails in s390x TCG] Claudio Fontana
2023-08-04  9:20   ` Issue with s390 TCG and libc __strstr_arch13 Thomas Huth
2023-08-04  9:58     ` Claudio Fontana
2023-08-04 14:21       ` Ilya Leoshkevich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=efd25473-9547-f671-cba8-40b9d6c9fc28@suse.de \
    --to=cfontana@suse.de \
    --cc=alex.bennee@linaro.org \
    --cc=cohuck@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).