lupdate (Qt Linguist Update tool) hangs in a lucid qemu-arm-static chroot

Bug #913799 reported by Olivier Tilloy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro QEMU
Confirmed
Low
Unassigned

Bug Description

Running lupdate (part of the libqt4-dev package in lucid) in a lucid qemu-arm-static chroot on top of amd64/oneiric hangs.

The symptoms look somewhat similar to those of bug #898474 (except that I never get segfaults, only a hang), but I have qemu-user-static up-to-date from the Linaro Tools PPA and the issue is 100% reproducible.

    root@granuja:/# qemu-arm-static -version
    qemu-arm version 1.0 (Debian 1.0-2011.12-0ubuntu1~ppa11.10.1), Copyright (c) 2003-2008 Fabrice Bellard

Running strace raises the following error:

    root@granuja:/# strace lupdate
    qemu: Unsupported syscall: 26
    strace: ptrace(PTRACE_TRACEME, ...): Function not implemented

Please let me know if I can provide more useful information.

Revision history for this message
Peter Maydell (pmaydell) wrote :

Trying to strace things in a qemu chroot with a target strace binary doesn't work. Try
QEMU_STRACE=1 lupdate

instead.

(If I run lupdate in an oneiric chroot it simply prints its usage message successfully.)

Revision history for this message
Olivier Tilloy (osomon) wrote :

It works for me too in an oneiric chroot. The problem happens in a lucid chroot.

I’m attaching the system trace obtained by running `QEMU_STRACE=1 lupdate`.

The system call it hangs on is:

    futex(0x0007a084,FUTEX_PRIVATE_FLAG|FUTEX_WAIT,1,NULL,0x00000001,1)

Revision history for this message
Peter Maydell (pmaydell) wrote :

Well, I can repro it, anyway.

Changed in qemu-linaro:
status: New → Confirmed
Revision history for this message
Peter Maydell (pmaydell) wrote :

The hanging system call is in libpthread.so.0 at offset 0x91ee, in function pthread_cond_wait@@GLIBC_2.4. (Running the lucid lupdate-qt4 binary in oneiric is OK, so it's definitely something in libpthread we aren't liking.)

Since this is only a problem for a lucid chroot I'm afraid it's not a very high priority.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Got it. Thanks for the detailed investigation anyway!

Peter Maydell (pmaydell)
Changed in qemu-linaro:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.