Package: bplay
Version: 0.991-8.1
Severity: important

brec segfaults on powerpc. this is probably related to it being unaware
of bytes sex. see gramofile's patch in Bug#292137.

$ brec test.wav
Writing raw sound file, 8000Hz, 8bit,
Segmentation fault
$ killall brec
$ strace brec test.wav &> brec.txt
$ ps le `pgrep brec`
F   UID   PID  PPID PRI  NI   VSZ  RSS WCHAN  STAT TTY        TIME COMMAND
1  1000 13113     1  19   0  1868  444 semtim S    pts/3      0:00 brec 
test.wav SSH_AGEN...

brec.txt is attached

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.9-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages bplay depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information
execve("/usr/bin/brec", ["brec", "test.wav"], [/* 29 vars */]) = 0
uname({sys="Linux", node="pomme", ...}) = 0
brk(0)                                  = 0x10015000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x30016000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=58632, ...}) = 0
mmap(NULL, 58632, PROT_READ, MAP_PRIVATE, 3, 0) = 0x30017000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\322"..., 512) = 
512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1298544, ...}) = 0
mmap(0xfea1000, 1370024, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfea1000
mprotect(0xffd3000, 116648, PROT_NONE)  = 0
mmap(0xffe1000, 49152, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 
3, 0x130000) = 0xffe1000
mmap(0xffed000, 10152, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffed000
close(3)                                = 0
munmap(0x30017000, 58632)               = 0
getuid()                                = 1000
geteuid()                               = 1000
getuid()                                = 1000
setreuid(1000, 1000)                    = 0
umask(0)                                = 022
umask(022)                              = 0
open("test.wav", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 3
open("/dev/dsp", O_RDONLY)              = 4
ioctl(4, SNDCTL_DSP_GETBLKSIZE, 0x10014d50) = 0
ioctl(4, SNDCTL_DSP_GETFMTS, 0x10014d54) = 0
shmget(IPC_PRIVATE, 262144, IPC_CREAT|IPC_EXCL|0600) = 33292323
shmat(33292323, 0, SHM_RND)             = 0x30027000
shmctl(33292323, IPC_RMID, 0)           = 0
brk(0)                                  = 0x10015000
brk(0x10036000)                         = 0x10036000
brk(0)                                  = 0x10036000
shmget(IPC_PRIVATE, 1536, IPC_CREAT|IPC_EXCL|0600) = 33325092
shmat(33325092, 0, SHM_RND)             = 0x30067000
shmctl(33325092, IPC_RMID, 0)           = 0
getuid()                                = 1000
semget(IPC_PRIVATE, 32, IPC_CREAT|IPC_EXCL|0600) = 7438430
semget(IPC_PRIVATE, 32, IPC_CREAT|IPC_EXCL|0600) = 7471199
semget(IPC_PRIVATE, 32, IPC_CREAT|IPC_EXCL|0600) = 7503968
semget(IPC_PRIVATE, 32, IPC_CREAT|IPC_EXCL|0600) = 7536737
rt_sigaction(SIGINT, {0x10003c60, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0
write(2, "Writing raw sound file", 22Writing raw sound file)  = 22
write(2, ", 8000Hz, 8bit, \n", 17, 8000Hz, 8bit, 
)      = 17
ioctl(4, SNDCTL_DSP_SYNC, 0)            = 0
ioctl(4, SNDCTL_DSP_SETFMT or SOUND_PCM_READ_BITS, 0x7ffff808) = 0
ioctl(4, SNDCTL_DSP_STEREO, 0x7ffff80c) = 0
ioctl(4, SNDCTL_DSP_SPEED or SOUND_PCM_READ_RATE, 0x7ffff810) = 0
semctl(7438430, 0, SETVAL, 0x7ffff7c0)  = 0
semctl(7471199, 0, SETVAL, 0x7ffff7c0)  = 0
semctl(7438430, 1, SETVAL, 0x7ffff7c0)  = 0
semctl(7471199, 1, SETVAL, 0x7ffff7c0)  = 0
semctl(7438430, 2, SETVAL, 0x7ffff7c0)  = 0
semctl(7471199, 2, SETVAL, 0x7ffff7c0)  = 0
semctl(7438430, 3, SETVAL, 0x7ffff7c0)  = 0
semctl(7471199, 3, SETVAL, 0x7ffff7c0)  = 0
semctl(7438430, 4, SETVAL, 0x7ffff7c0)  = 0
semctl(7471199, 4, SETVAL, 0x7ffff7c0)  = 0
semctl(7438430, 5, SETVAL, 0x7ffff7c0)  = 0
semctl(7471199, 5, SETVAL, 0x7ffff7c0)  = 0
semctl(7438430, 6, SETVAL, 0x7ffff7c0)  = 0
semctl(7471199, 6, SETVAL, 0x7ffff7c0)  = 0
semctl(7438430, 7, SETVAL, 0x7ffff7c0)  = 0
semctl(7471199, 7, SETVAL, 0x7ffff7c0)  = 0
semctl(7438430, 8, SETVAL, 0x7ffff7c0)  = 0
semctl(7471199, 8, SETVAL, 0x7ffff7c0)  = 0
semctl(7438430, 9, SETVAL, 0x7ffff7c0)  = 0
semctl(7471199, 9, SETVAL, 0x7ffff7c0)  = 0
semctl(7438430, 10, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 10, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 11, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 11, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 12, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 12, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 13, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 13, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 14, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 14, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 15, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 15, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 16, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 16, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 17, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 17, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 18, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 18, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 19, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 19, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 20, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 20, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 21, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 21, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 22, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 22, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 23, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 23, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 24, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 24, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 25, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 25, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 26, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 26, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 27, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 27, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 28, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 28, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 29, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 29, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 30, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 30, SETVAL, 0x7ffff7c0) = 0
semctl(7438430, 31, SETVAL, 0x7ffff7c0) = 0
semctl(7471199, 31, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 0, SETVAL, 0x7ffff7c0)  = 0
semctl(7536737, 0, SETVAL, 0x7ffff7c0)  = 0
semctl(7503968, 1, SETVAL, 0x7ffff7c0)  = 0
semctl(7536737, 1, SETVAL, 0x7ffff7c0)  = 0
semctl(7503968, 2, SETVAL, 0x7ffff7c0)  = 0
semctl(7536737, 2, SETVAL, 0x7ffff7c0)  = 0
semctl(7503968, 3, SETVAL, 0x7ffff7c0)  = 0
semctl(7536737, 3, SETVAL, 0x7ffff7c0)  = 0
semctl(7503968, 4, SETVAL, 0x7ffff7c0)  = 0
semctl(7536737, 4, SETVAL, 0x7ffff7c0)  = 0
semctl(7503968, 5, SETVAL, 0x7ffff7c0)  = 0
semctl(7536737, 5, SETVAL, 0x7ffff7c0)  = 0
semctl(7503968, 6, SETVAL, 0x7ffff7c0)  = 0
semctl(7536737, 6, SETVAL, 0x7ffff7c0)  = 0
semctl(7503968, 7, SETVAL, 0x7ffff7c0)  = 0
semctl(7536737, 7, SETVAL, 0x7ffff7c0)  = 0
semctl(7503968, 8, SETVAL, 0x7ffff7c0)  = 0
semctl(7536737, 8, SETVAL, 0x7ffff7c0)  = 0
semctl(7503968, 9, SETVAL, 0x7ffff7c0)  = 0
semctl(7536737, 9, SETVAL, 0x7ffff7c0)  = 0
semctl(7503968, 10, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 10, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 11, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 11, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 12, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 12, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 13, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 13, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 14, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 14, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 15, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 15, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 16, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 16, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 17, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 17, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 18, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 18, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 19, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 19, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 20, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 20, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 21, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 21, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 22, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 22, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 23, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 23, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 24, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 24, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 25, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 25, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 26, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 26, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 27, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 27, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 28, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 28, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 29, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 29, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 30, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 30, SETVAL, 0x7ffff7c0) = 0
semctl(7503968, 31, SETVAL, 0x7ffff7c0) = 0
semctl(7536737, 31, SETVAL, 0x7ffff7c0) = 0
sync()                                  = 0
fork()                                  = 13113
semop(0x72005f, 0x1, 0, 0x7ffff7c0)     = 0
read(4,  <unfinished ...>
+++ killed by SIGSEGV +++

Reply via email to