[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mumble: segfaults on XO-1.75 when using USB headset



Package: mumble
Version: 1.2.18-1~bpo8+1
Severity: important

Dear Maintainer,

when I (re)configure mumble to use my USB headet (Microsoft LifeChat
LX-6000) on my OLPC XO-1.75, it segfaults:

=== Begin ===
sascha@mimosa:~$ gdb --args mumble
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mumble...Reading symbols from /usr/lib/debug/.build-id/db/df2e232f3f2a77c6b6c4a76311d625664a64a3.debug...done.
done.
(gdb) c
The program is not being run.
(gdb) run
Starting program: /usr/bin/mumble 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Cannot access memory at address 0x0

Program received signal SIGILL, Illegal instruction.
0x40251e60 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
(gdb) c
Continuing.
Cannot access memory at address 0x0

Program received signal SIGILL, Illegal instruction.
0x40251e68 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
(gdb) c
Continuing.
PulseAudio: Connection failure: Connection refused
[New Thread 0x47d103d0 (LWP 1112)]
[Thread 0x47d103d0 (LWP 1112) exited]
G15LCDEngineUnix: Unable to connect to G15Daemon.
CELT bitstream 8000000b from /usr/lib/mumble/libcelt0.so.0.7.0
Locale is "en_GB" (System: "en_GB")
TextToSpeech: Failed to contact speech dispatcher.
Database SQLite: "3.8.7.1" 
[New Thread 0x47d103d0 (LWP 1114)]
Overlay: Listening on "/home/sascha/.MumbleOverlayPipe" 
[Thread 0x47d103d0 (LWP 1114) exited]
GlobalShortcutX: Using XI2 2.3
AudioInput: 96000 bits/s, 48000 hz, 480 sample
[New Thread 0x47d103d0 (LWP 1115)]
ALSAAudioOutput: Initialized
ALSAAudioInput: Initing audiocapture default.
[New Thread 0x445d33d0 (LWP 1116)]
ALSAAudioInput: Actual buffer 48000 hz, 1 channel 3840 samples [480 per period]
AudioInput: Initialized mixer for 1 channel 48000 hz mic and 0 channel 48000 hz echo
ALSAAudioOutput: Actual buffer 48000 hz, 1 channel 960 samples [481 per period]
ALSAAudioOutput: Initializing 1 channel, 48000 hz mixer
AudioOutput: Initialized 1 channel 48000 hz mixer
[New Thread 0x44fa93d0 (LWP 1117)]
OpenSSL Support: 1 (OpenSSL 1.0.1t  3 May 2016)
ServerHandler: TLS cipher preference is "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:AES256-SHA:AES128-SHA"
[New Thread 0x45ce73d0 (LWP 1118)]
[New Thread 0x464e73d0 (LWP 1119)]
ALSAAudioInput: Input/output error: Device or resource busy
"Text "Talking" did not fit (+11/-2): (+7.92188/-2.26562). Scaling to 0.882759." 
"Text "Whisper" did not fit (+11/-2): (+7.92188/-2.26562). Scaling to 0.882759." 
ALSAAudioInput: Input/output error: Device or resource busy
[Thread 0x44fa93d0 (LWP 1117) exited]
ALSAAudioInput: Input/output error: Device or resource busy
ALSAAudioInput: Input/output error: Device or resource busy
ALSAAudioInput: Releasing ALSA Mic.
ALSAAudioOutput: Destroyed
[Thread 0x47d103d0 (LWP 1115) exited]
[Thread 0x445d33d0 (LWP 1116) exited]
AudioInput: 96000 bits/s, 48000 hz, 480 sample
[New Thread 0x445d33d0 (LWP 1125)]
ALSAAudioOutput: Initialized
ALSAAudioInput: Initing audiocapture default:CARD=LX6000.
[New Thread 0x47d103d0 (LWP 1126)]
ALSAAudioInput: Actual buffer 48000 hz, 1 channel 3343 samples [1114 per period]
AudioInput: Initialized mixer for 1 channel 48000 hz mic and 0 channel 48000 hz echo
ALSAAudioOutput: Actual buffer 48000 hz, 1 channel 2229 samples [1114 per period]
ALSAAudioOutput: Initializing 1 channel, 48000 hz mixer
AudioOutput: Initialized 1 channel 48000 hz mixer
warning: The VAD has been replaced by a hack pending a complete rewrite
warning: Unknown speex_preprocess_ctl request:  2
warning: Unknown speex_preprocess_ctl request:  46
warning: Unknown speex_preprocess_ctl request:  30
warning: Unknown speex_preprocess_ctl request:  28
warning: Unknown speex_preprocess_ctl request:  35
warning: Unknown speex_preprocess_ctl request:  26
warning: Unknown speex_preprocess_ctl request:  35
warning: Unknown speex_preprocess_ctl request:  26

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x445d33d0 (LWP 1125)]
tonality_analysis (tonal=tonal@entry=0x62391c, info_out=info_out@entry=0x0, 
    celt_mode=celt_mode@entry=0x403a4b34 <mode48000_960_120>, x=x@entry=0x61f788, len=len@entry=480, 
    offset=offset@entry=480, c1=c1@entry=0, c2=c2@entry=-2, C=C@entry=1, lsb_depth=lsb_depth@entry=16, 
    downmix=downmix@entry=0x40396311 <downmix_int>) at ../src/analysis.c:493
493     ../src/analysis.c: No such file or directory.
(gdb) bt
#0  tonality_analysis (tonal=tonal@entry=0x62391c, info_out=info_out@entry=0x0, 
    celt_mode=celt_mode@entry=0x403a4b34 <mode48000_960_120>, x=x@entry=0x61f788, len=len@entry=480, 
    offset=offset@entry=480, c1=c1@entry=0, c2=c2@entry=-2, C=C@entry=1, lsb_depth=lsb_depth@entry=16, 
    downmix=downmix@entry=0x40396311 <downmix_int>) at ../src/analysis.c:493
#1  0x4039d500 in run_analysis (analysis=analysis@entry=0x62391c, 
    celt_mode=0x403a4b34 <mode48000_960_120>, analysis_pcm=0x61f788, analysis_pcm@entry=0x0, 
    analysis_frame_size=960, analysis_frame_size@entry=0, frame_size=frame_size@entry=960, c1=c1@entry=0, 
    c2=-2, c2@entry=0, C=C@entry=1, Fs=48000, lsb_depth=16, lsb_depth@entry=0, 
    downmix=0x40396311 <downmix_int>, downmix@entry=0x0, analysis_info=analysis_info@entry=0x445d0e70)
    at ../src/analysis.c:634
#2  0x40397622 in opus_encode_native (st=st@entry=0x622920, pcm=0x0, frame_size=960, data=0x0, 
    data@entry=0x445d1f84 "\noP@\300\037]DT ]D\350\037]D\340\037]DAM\235|\217r", out_data_bytes=512, 
    lsb_depth=0, lsb_depth@entry=16, analysis_pcm=analysis_pcm@entry=0x61f788, 
    analysis_size=analysis_size@entry=960, c1=c1@entry=0, c2=c2@entry=-2, analysis_channels=1, 
    downmix=0x40396311 <downmix_int>) at ../src/opus_encoder.c:996
#3  0x40399210 in opus_encode (st=0x622920, pcm=0x61f788, analysis_frame_size=960, 
    data=0x445d1f84 "\noP@\300\037]DT ]D\350\037]D\340\037]DAM\235|\217r", max_data_bytes=512)
    at ../src/opus_encoder.c:2005
#4  0x0006b1f4 in AudioInput::encodeOpusFrame (this=this@entry=0x61e618, source=0x61f788, size=960, 
    buffer=buffer@entry=0x445d1f84 "\noP@\300\037]DT ]D\350\037]D\340\037]DAM\235|\217r")
    at AudioInput.cpp:689
#5  0x0006d566 in AudioInput::encodeAudioFrame (this=this@entry=0x61e618) at AudioInput.cpp:883
#6  0x0006d91e in AudioInput::addMic (this=this@entry=0x61e618, data=0x445d2998, data@entry=0x445d2218, 
    nsamp=154, nsamp@entry=1114) at AudioInput.cpp:426
#7  0x0011a45c in ALSAAudioInput::run (this=0x61e618) at ALSAAudio.cpp:412
#8  0x40f4e8ee in ?? () from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 
=== End ===

It happens both with the jessie and the jessie-backports version of
mumble. I'm reasonably certain I've used mumble with this headset on
this laptop before (while it was running Wheezy); maybe it didn't work
perfectly but it certainly didn't crash.

Tried on two different ARM based systems (Wandboard Quad, OpenRD Base)
and none of them segfaults when configured to use the headset, so it's
something peculiar to the XO-1.75. One thing to note is that I'm stuck
with a rather old vendor kernel (3.0.19) there whereas the two other
systems are running mainline 4.10.x based kernels.

FWIW, this is what /proc/cpuinfo looks like:

=== Begin ===
sascha@mimosa:~$ cat /proc/cpuinfo 
Processor       : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 795.44
Features        : swp half thumb fastmult vfp edsp iwmmxt thumbee vfpv3 vfpv3d16 
CPU implementer : 0x56
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0x581
CPU revision    : 5

Hardware        : OLPC XO-1.75
Revision        : 0000
Serial          : 0000000000000000
=== End ===


-- System Information:
Debian Release: 8.8
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable'), (100, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 3.0.19-mimosa-9-01604-gfaccdbaa5fd7 (PREEMPT)
Locale: LANG=en_GB, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mumble depends on:
ii  libasound2                 1.0.28-1
ii  libavahi-client3           0.6.31-5
ii  libavahi-common3           0.6.31-5
ii  libavahi-compat-libdnssd1  0.6.31-5
ii  libc6                      2.19-18+deb8u9
ii  libg15daemon-client1       1.9.5.3-8.3
ii  libgcc1                    1:4.9.2-10
ii  libopus0                   1.1-2
ii  libprotobuf9               2.6.1-1
ii  libpulse0                  5.0-13
ii  libqt4-dbus                4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqt4-network             4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqt4-sql                 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqt4-sql-sqlite          4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqt4-svg                 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqt4-xml                 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqtcore4                 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqtgui4                  4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libsndfile1                1.0.25-9.1+deb8u1
ii  libspeechd2                0.8-7
ii  libspeex1                  1.2~rc1.2-1
ii  libspeexdsp1               1.2~rc1.2-1
ii  libssl1.0.0                1.0.1t-1+deb8u6
ii  libstdc++6                 4.9.2-10
ii  libx11-6                   2:1.6.2-3
ii  libxi6                     2:1.7.4-1+b2
ii  lsb-release                4.1+Debian13+nmu1

mumble recommends no packages.

Versions of packages mumble suggests:
pn  mumble-server      <none>
pn  speech-dispatcher  <none>

-- no debconf information


Reply to: