Skip to contentSkip to conversation

qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Qemu-devel skzzha 3 participants 9 messages Nov 1, 2013 – Jan 2, 2018

lore
Share & tools
lore

skzzha

author
#0 lore raw

Public bug reported:

Rjsupplicant is an authentication client of Campus Network in most universities in China. Its Linux version has only x86 and amd64 version.

On linux:

./qemu-x86_64 is compiled from latest qemu 1.6.1, with ./configure
options: --enable-debug --target-list=x86_64-linux-user . Compiler is gcc version 4.7.3 (Debian 4.7.3-4)

$ sudo ./qemu-x86_64  ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet 
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
$ sudo gdb ./qemu-x86_64
(gdb) r ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet
(gdb) where
#0  0x00005555559c21bd in static_code_gen_buffer ()
#1  0x00005555555b74d5 in cpu_tb_exec (cpu=0x555557972580, tb_ptr=0x5555559c2190 <static_code_gen_buffer+819792> "A\213n\250\205\355\017\205\257")
    at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:56
#2  0x00005555555b817d in cpu_x86_exec (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:631
#3  0x00005555555d997a in cpu_loop (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/main.c:283
#4  0x00005555555eca6b in clone_func (arg=0x7fffffffc1d0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/syscall.c:4266
#5  0x00007ffff71bfe0e in start_thread (arg=0x7ffff7f04700) at pthread_create.c:311
#6  0x00007ffff6ef493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
$ file rjsupplicant 
rjsupplicant: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
$ uname -r
3.10-2-amd64

And it can be run on Linux amd64 successfully.

Though I don't have the source code of rjsupplicant, so I don't have further information.

qemu-x86_64 -strace ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet is attached as strace_qemu.log

The binary is available to download at http://ge.tt/6pgG1tw/v/0

** Affects: qemu
Importance: Undecided
Status: New

** Affects: qemu (Ubuntu)
Importance: Undecided
Status: New

** Attachment added: "strace_qemu.log"
https://bugs.launchpad.net/bugs/1246990/+attachment/3897368/+files/strace_qemu.log

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1246990

Title:
  [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11
  (Segmentation fault) - core dumped

Status in QEMU:
  New
Status in “qemu” package in Ubuntu:
  New

Bug description:
  Rjsupplicant is an authentication client of Campus Network in most
  universities in China. Its Linux version has only x86 and amd64
  version.

  On linux:

  ./qemu-x86_64 is compiled from latest qemu 1.6.1, with ./configure
  options: --enable-debug --target-list=x86_64-linux-user . Compiler is
  gcc version 4.7.3 (Debian 4.7.3-4)

  $ sudo ./qemu-x86_64  ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet 
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped

  $ sudo gdb ./qemu-x86_64
  (gdb) r ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet
  (gdb) where
  #0  0x00005555559c21bd in static_code_gen_buffer ()
  #1  0x00005555555b74d5 in cpu_tb_exec (cpu=0x555557972580, tb_ptr=0x5555559c2190 <static_code_gen_buffer+819792> "A\213n\250\205\355\017\205\257")
      at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:56
  #2  0x00005555555b817d in cpu_x86_exec (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:631
  #3  0x00005555555d997a in cpu_loop (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/main.c:283
  #4  0x00005555555eca6b in clone_func (arg=0x7fffffffc1d0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/syscall.c:4266
  #5  0x00007ffff71bfe0e in start_thread (arg=0x7ffff7f04700) at pthread_create.c:311
  #6  0x00007ffff6ef493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

  $ file rjsupplicant 
  rjsupplicant: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

  $ uname -r
  3.10-2-amd64

  
  And it can be run on Linux amd64 successfully.

  Though I don't have the source code of rjsupplicant, so I don't have
  further information.

  `qemu-x86_64 -strace ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s
  internet` is attached as strace_qemu.log

  
  The binary is available to download at http://ge.tt/6pgG1tw/v/0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1246990/+subscriptions
author
#1 lore raw

and, strace ./rjsuuplicant -n eth0 -u USER -p PASS -d 1 -s internet is attached as strace_native.log

** Attachment added: "strace_native.log"
https://bugs.launchpad.net/qemu/+bug/1246990/+attachment/3897370/+files/strace_native.log

** Also affects: qemu (Ubuntu)
Importance: Undecided
Status: New

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1246990

Title:
  [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11
  (Segmentation fault) - core dumped

Status in QEMU:
  New
Status in “qemu” package in Ubuntu:
  New

Bug description:
  Rjsupplicant is an authentication client of Campus Network in most
  universities in China. Its Linux version has only x86 and amd64
  version.

  On linux:

  ./qemu-x86_64 is compiled from latest qemu 1.6.1, with ./configure
  options: --enable-debug --target-list=x86_64-linux-user . Compiler is
  gcc version 4.7.3 (Debian 4.7.3-4)

  $ sudo ./qemu-x86_64  ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet 
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped

  $ sudo gdb ./qemu-x86_64
  (gdb) r ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet
  (gdb) where
  #0  0x00005555559c21bd in static_code_gen_buffer ()
  #1  0x00005555555b74d5 in cpu_tb_exec (cpu=0x555557972580, tb_ptr=0x5555559c2190 <static_code_gen_buffer+819792> "A\213n\250\205\355\017\205\257")
      at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:56
  #2  0x00005555555b817d in cpu_x86_exec (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:631
  #3  0x00005555555d997a in cpu_loop (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/main.c:283
  #4  0x00005555555eca6b in clone_func (arg=0x7fffffffc1d0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/syscall.c:4266
  #5  0x00007ffff71bfe0e in start_thread (arg=0x7ffff7f04700) at pthread_create.c:311
  #6  0x00007ffff6ef493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

  $ file rjsupplicant 
  rjsupplicant: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

  $ uname -r
  3.10-2-amd64

  
  And it can be run on Linux amd64 successfully.

  Though I don't have the source code of rjsupplicant, so I don't have
  further information.

  `qemu-x86_64 -strace ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s
  internet` is attached as strace_qemu.log

  
  The binary is available to download at http://ge.tt/6pgG1tw/v/0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1246990/+subscriptions
#2 lore raw
In reply to skzzha

I'm not sure x86*-linux-user targets are being tested at all. Last time I checked, x86-64 variant crashed left and right to the point of being completely unusable...

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1246990

Title:
  [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11
  (Segmentation fault) - core dumped

Status in QEMU:
  New
Status in “qemu” package in Ubuntu:
  New

Bug description:
  Rjsupplicant is an authentication client of Campus Network in most
  universities in China. Its Linux version has only x86 and amd64
  version.

  On linux:

  ./qemu-x86_64 is compiled from latest qemu 1.6.1, with ./configure
  options: --enable-debug --target-list=x86_64-linux-user . Compiler is
  gcc version 4.7.3 (Debian 4.7.3-4)

  $ sudo ./qemu-x86_64  ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet 
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped

  $ sudo gdb ./qemu-x86_64
  (gdb) r ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet
  (gdb) where
  #0  0x00005555559c21bd in static_code_gen_buffer ()
  #1  0x00005555555b74d5 in cpu_tb_exec (cpu=0x555557972580, tb_ptr=0x5555559c2190 <static_code_gen_buffer+819792> "A\213n\250\205\355\017\205\257")
      at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:56
  #2  0x00005555555b817d in cpu_x86_exec (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:631
  #3  0x00005555555d997a in cpu_loop (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/main.c:283
  #4  0x00005555555eca6b in clone_func (arg=0x7fffffffc1d0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/syscall.c:4266
  #5  0x00007ffff71bfe0e in start_thread (arg=0x7ffff7f04700) at pthread_create.c:311
  #6  0x00007ffff6ef493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

  $ file rjsupplicant 
  rjsupplicant: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

  $ uname -r
  3.10-2-amd64

  
  And it can be run on Linux amd64 successfully.

  Though I don't have the source code of rjsupplicant, so I don't have
  further information.

  `qemu-x86_64 -strace ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s
  internet` is attached as strace_qemu.log

  
  The binary is available to download at http://ge.tt/6pgG1tw/v/0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1246990/+subscriptions
#3 lore raw
In reply to skzzha

The backtrace indicates that this is a multithreaded application. These won't work reliably under qemu-user : they tend to crash, as you have found.

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1246990

Title:
  [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11
  (Segmentation fault) - core dumped

Status in QEMU:
  New
Status in “qemu” package in Ubuntu:
  New

Bug description:
  Rjsupplicant is an authentication client of Campus Network in most
  universities in China. Its Linux version has only x86 and amd64
  version.

  On linux:

  ./qemu-x86_64 is compiled from latest qemu 1.6.1, with ./configure
  options: --enable-debug --target-list=x86_64-linux-user . Compiler is
  gcc version 4.7.3 (Debian 4.7.3-4)

  $ sudo ./qemu-x86_64  ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet 
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped

  $ sudo gdb ./qemu-x86_64
  (gdb) r ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet
  (gdb) where
  #0  0x00005555559c21bd in static_code_gen_buffer ()
  #1  0x00005555555b74d5 in cpu_tb_exec (cpu=0x555557972580, tb_ptr=0x5555559c2190 <static_code_gen_buffer+819792> "A\213n\250\205\355\017\205\257")
      at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:56
  #2  0x00005555555b817d in cpu_x86_exec (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:631
  #3  0x00005555555d997a in cpu_loop (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/main.c:283
  #4  0x00005555555eca6b in clone_func (arg=0x7fffffffc1d0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/syscall.c:4266
  #5  0x00007ffff71bfe0e in start_thread (arg=0x7ffff7f04700) at pthread_create.c:311
  #6  0x00007ffff6ef493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

  $ file rjsupplicant 
  rjsupplicant: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

  $ uname -r
  3.10-2-amd64

  
  And it can be run on Linux amd64 successfully.

  Though I don't have the source code of rjsupplicant, so I don't have
  further information.

  `qemu-x86_64 -strace ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s
  internet` is attached as strace_qemu.log

  
  The binary is available to download at http://ge.tt/6pgG1tw/v/0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1246990/+subscriptions
#4 lore raw
In reply to skzzha

** Changed in: qemu (Ubuntu)
Importance: Undecided => Low

** Changed in: qemu (Ubuntu)
Status: New => Confirmed

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1246990

Title:
  [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11
  (Segmentation fault) - core dumped

Status in QEMU:
  New
Status in “qemu” package in Ubuntu:
  Confirmed

Bug description:
  Rjsupplicant is an authentication client of Campus Network in most
  universities in China. Its Linux version has only x86 and amd64
  version.

  On linux:

  ./qemu-x86_64 is compiled from latest qemu 1.6.1, with ./configure
  options: --enable-debug --target-list=x86_64-linux-user . Compiler is
  gcc version 4.7.3 (Debian 4.7.3-4)

  $ sudo ./qemu-x86_64  ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet 
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped

  $ sudo gdb ./qemu-x86_64
  (gdb) r ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet
  (gdb) where
  #0  0x00005555559c21bd in static_code_gen_buffer ()
  #1  0x00005555555b74d5 in cpu_tb_exec (cpu=0x555557972580, tb_ptr=0x5555559c2190 <static_code_gen_buffer+819792> "A\213n\250\205\355\017\205\257")
      at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:56
  #2  0x00005555555b817d in cpu_x86_exec (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:631
  #3  0x00005555555d997a in cpu_loop (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/main.c:283
  #4  0x00005555555eca6b in clone_func (arg=0x7fffffffc1d0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/syscall.c:4266
  #5  0x00007ffff71bfe0e in start_thread (arg=0x7ffff7f04700) at pthread_create.c:311
  #6  0x00007ffff6ef493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

  $ file rjsupplicant 
  rjsupplicant: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

  $ uname -r
  3.10-2-amd64

  
  And it can be run on Linux amd64 successfully.

  Though I don't have the source code of rjsupplicant, so I don't have
  further information.

  `qemu-x86_64 -strace ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s
  internet` is attached as strace_qemu.log

  
  The binary is available to download at http://ge.tt/6pgG1tw/v/0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1246990/+subscriptions
#5 lore raw
In reply to skzzha

Triaging old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays?

** Changed in: qemu
Status: New => Incomplete

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1246990

Title:
  [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11
  (Segmentation fault) - core dumped

Status in QEMU:
  Incomplete
Status in qemu package in Ubuntu:
  Confirmed

Bug description:
  Rjsupplicant is an authentication client of Campus Network in most
  universities in China. Its Linux version has only x86 and amd64
  version.

  On linux:

  ./qemu-x86_64 is compiled from latest qemu 1.6.1, with ./configure
  options: --enable-debug --target-list=x86_64-linux-user . Compiler is
  gcc version 4.7.3 (Debian 4.7.3-4)

  $ sudo ./qemu-x86_64  ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet 
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped

  $ sudo gdb ./qemu-x86_64
  (gdb) r ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet
  (gdb) where
  #0  0x00005555559c21bd in static_code_gen_buffer ()
  #1  0x00005555555b74d5 in cpu_tb_exec (cpu=0x555557972580, tb_ptr=0x5555559c2190 <static_code_gen_buffer+819792> "A\213n\250\205\355\017\205\257")
      at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:56
  #2  0x00005555555b817d in cpu_x86_exec (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:631
  #3  0x00005555555d997a in cpu_loop (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/main.c:283
  #4  0x00005555555eca6b in clone_func (arg=0x7fffffffc1d0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/syscall.c:4266
  #5  0x00007ffff71bfe0e in start_thread (arg=0x7ffff7f04700) at pthread_create.c:311
  #6  0x00007ffff6ef493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

  $ file rjsupplicant 
  rjsupplicant: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

  $ uname -r
  3.10-2-amd64

  
  And it can be run on Linux amd64 successfully.

  Though I don't have the source code of rjsupplicant, so I don't have
  further information.

  `qemu-x86_64 -strace ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s
  internet` is attached as strace_qemu.log

  
  The binary is available to download at http://ge.tt/6pgG1tw/v/0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1246990/+subscriptions
#6 lore raw
In reply to skzzha

** Changed in: qemu (Ubuntu)
Status: Confirmed => Incomplete

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1246990

Title:
  [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11
  (Segmentation fault) - core dumped

Status in QEMU:
  Incomplete
Status in qemu package in Ubuntu:
  Incomplete

Bug description:
  Rjsupplicant is an authentication client of Campus Network in most
  universities in China. Its Linux version has only x86 and amd64
  version.

  On linux:

  ./qemu-x86_64 is compiled from latest qemu 1.6.1, with ./configure
  options: --enable-debug --target-list=x86_64-linux-user . Compiler is
  gcc version 4.7.3 (Debian 4.7.3-4)

  $ sudo ./qemu-x86_64  ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet 
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped

  $ sudo gdb ./qemu-x86_64
  (gdb) r ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet
  (gdb) where
  #0  0x00005555559c21bd in static_code_gen_buffer ()
  #1  0x00005555555b74d5 in cpu_tb_exec (cpu=0x555557972580, tb_ptr=0x5555559c2190 <static_code_gen_buffer+819792> "A\213n\250\205\355\017\205\257")
      at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:56
  #2  0x00005555555b817d in cpu_x86_exec (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:631
  #3  0x00005555555d997a in cpu_loop (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/main.c:283
  #4  0x00005555555eca6b in clone_func (arg=0x7fffffffc1d0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/syscall.c:4266
  #5  0x00007ffff71bfe0e in start_thread (arg=0x7ffff7f04700) at pthread_create.c:311
  #6  0x00007ffff6ef493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

  $ file rjsupplicant 
  rjsupplicant: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

  $ uname -r
  3.10-2-amd64

  
  And it can be run on Linux amd64 successfully.

  Though I don't have the source code of rjsupplicant, so I don't have
  further information.

  `qemu-x86_64 -strace ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s
  internet` is attached as strace_qemu.log

  
  The binary is available to download at http://ge.tt/6pgG1tw/v/0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1246990/+subscriptions
#7 lore raw
In reply to skzzha

[Expired for qemu (Ubuntu) because there has been no activity for 60 days.]

** Changed in: qemu (Ubuntu)
Status: Incomplete => Expired

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1246990

Title:
  [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11
  (Segmentation fault) - core dumped

Status in QEMU:
  Expired
Status in qemu package in Ubuntu:
  Expired

Bug description:
  Rjsupplicant is an authentication client of Campus Network in most
  universities in China. Its Linux version has only x86 and amd64
  version.

  On linux:

  ./qemu-x86_64 is compiled from latest qemu 1.6.1, with ./configure
  options: --enable-debug --target-list=x86_64-linux-user . Compiler is
  gcc version 4.7.3 (Debian 4.7.3-4)

  $ sudo ./qemu-x86_64  ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet 
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped

  $ sudo gdb ./qemu-x86_64
  (gdb) r ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet
  (gdb) where
  #0  0x00005555559c21bd in static_code_gen_buffer ()
  #1  0x00005555555b74d5 in cpu_tb_exec (cpu=0x555557972580, tb_ptr=0x5555559c2190 <static_code_gen_buffer+819792> "A\213n\250\205\355\017\205\257")
      at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:56
  #2  0x00005555555b817d in cpu_x86_exec (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:631
  #3  0x00005555555d997a in cpu_loop (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/main.c:283
  #4  0x00005555555eca6b in clone_func (arg=0x7fffffffc1d0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/syscall.c:4266
  #5  0x00007ffff71bfe0e in start_thread (arg=0x7ffff7f04700) at pthread_create.c:311
  #6  0x00007ffff6ef493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

  $ file rjsupplicant 
  rjsupplicant: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

  $ uname -r
  3.10-2-amd64

  
  And it can be run on Linux amd64 successfully.

  Though I don't have the source code of rjsupplicant, so I don't have
  further information.

  `qemu-x86_64 -strace ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s
  internet` is attached as strace_qemu.log

  
  The binary is available to download at http://ge.tt/6pgG1tw/v/0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1246990/+subscriptions
#8 lore raw
In reply to skzzha

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
Status: Incomplete => Expired

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1246990

Title:
  [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11
  (Segmentation fault) - core dumped

Status in QEMU:
  Expired
Status in qemu package in Ubuntu:
  Expired

Bug description:
  Rjsupplicant is an authentication client of Campus Network in most
  universities in China. Its Linux version has only x86 and amd64
  version.

  On linux:

  ./qemu-x86_64 is compiled from latest qemu 1.6.1, with ./configure
  options: --enable-debug --target-list=x86_64-linux-user . Compiler is
  gcc version 4.7.3 (Debian 4.7.3-4)

  $ sudo ./qemu-x86_64  ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet 
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped

  $ sudo gdb ./qemu-x86_64
  (gdb) r ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet
  (gdb) where
  #0  0x00005555559c21bd in static_code_gen_buffer ()
  #1  0x00005555555b74d5 in cpu_tb_exec (cpu=0x555557972580, tb_ptr=0x5555559c2190 <static_code_gen_buffer+819792> "A\213n\250\205\355\017\205\257")
      at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:56
  #2  0x00005555555b817d in cpu_x86_exec (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:631
  #3  0x00005555555d997a in cpu_loop (env=0x5555579726b0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/main.c:283
  #4  0x00005555555eca6b in clone_func (arg=0x7fffffffc1d0) at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/linux-user/syscall.c:4266
  #5  0x00007ffff71bfe0e in start_thread (arg=0x7ffff7f04700) at pthread_create.c:311
  #6  0x00007ffff6ef493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

  $ file rjsupplicant 
  rjsupplicant: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

  $ uname -r
  3.10-2-amd64

  
  And it can be run on Linux amd64 successfully.

  Though I don't have the source code of rjsupplicant, so I don't have
  further information.

  `qemu-x86_64 -strace ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s
  internet` is attached as strace_qemu.log

  
  The binary is available to download at http://ge.tt/6pgG1tw/v/0

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1246990/+subscriptions