Edgy Eft binaries Segmentation fault.

Help
randomas
2006-11-18
2012-10-30
  • randomas
    randomas
    2006-11-18

    When I start the mumble client it loads the gui and crashes.

     
    • Could you run it under gdb to give me the exact offset it crashes at?

       
    • randomas
      randomas
      2006-11-18

      I can try ... not very dev tool friendly, it did do a core dump though ... not that I would know where to find it, or do anything usefull with it ... I'll try and play around with it and keep you posted.

       
    • randomas
      randomas
      2006-11-19

      These are the last relevant lines from ddd:

      [New Thread -1240802400 (LWP 13987)]
      [Thread -1240802400 (LWP 13987) exited]
      [New Thread -1249195104 (LWP 13988)]
      [Thread -1249195104 (LWP 13988) exited]
      [New Thread -1249195104 (LWP 13989)]
      GlobalShortcutX: XEVIE 1.0
      [New Thread -1240802400 (LWP 13991)]
      (no debugging symbols found)
      (no debugging symbols found)
      (no debugging symbols found)
      (no debugging symbols found)
      (no debugging symbols found)
      (no debugging symbols found)
      (no debugging symbols found)
      (no debugging symbols found)
      (no debugging symbols found)
      (no debugging symbols found)
      [New Thread -1260151904 (LWP 13992)]
      ALSAAudioOutput: Initialized
      (no debugging symbols found)
      (no debugging symbols found)
      (no debugging symbols found)
      (no debugging symbols found)
      (no debugging symbols found)
      (no debugging symbols found)
      ALSAAudioInput: Initing audiocapture.
      (no debugging symbols found)

      Program received signal SIGSEGV, Segmentation fault.
      [Switching to Thread -1260151904 (LWP 13992)]
      0xb7ebb9f3 in snd_pcm_hw_refine () from /usr/lib/libasound.so.2
      (gdb)

      Hope this helps.

       
      • Eeek. That's a crash inside the ALSA libraries. Could you do a 'bt' and give me the backtrace so I can try to figure out what line in mumble causes this?

         
    • randomas
      randomas
      2006-11-19

      this is the backtrace result from DDD :

      6 0xb6d4251e in clone () from /lib/tls/i686/cmov/libc.so.6

      5 0xb6fbe504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0

      4 0xb70db222 in QThread::terminate () from /usr/lib/libQtCore.so.4

      3 0x080ae7d1 in ?? ()

      2 0xb7e9f825 in snd_pcm_hw_params_any () from /usr/lib/libasound.so.2

      1 0xb7ea29f6 in snd_pcm_hw_refine () from /usr/lib/libasound.so.2

      0 0x2f656c61 in ?? ()

      I have to use ddd rather than gdb because when mumble segfaults in gdb it locks the keyboard out, at least with ddd I can still navigate and cut and paste with the mouse ... Odd though ...

       
    • pheex
      pheex
      2006-12-19

      Same problem here with the binary.

      ALSAAudioOutput: Initialized
      ALSAAudioInput: Initing audiocapture.
      ALSA lib pcm_dmix.c:801:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

      Program received signal SIGSEGV, Segmentation fault.
      [Switching to Thread -1259107424 (LWP 20308)]
      0xb7f029f3 in snd_pcm_hw_refine () from /usr/lib/libasound.so.2

      And same results with my own package generated with dpkg-buildpackage.

       
    • pheex
      pheex
      2006-12-19

      Problem fixed with:

      $ sudo mv /etc/asound.conf /etc/asound.conf.bak
      $ sudo /etc/init.d/alsa-utils restart

      My old /etc/asound.conf:

      pcm.card0 {
      type hw
      card 0
      }
      pcm.!default {
      type plug
      slave.pcm "dmixer"
      }
      pcm.dmixer {
      type dmix
      ipc_key 1025
      slave {
      pcm "hw:0,0"
      period_time 0
      period_size 2048
      buffer_size 32768
      rate 48000
      }
      bindings {
      0 0
      1 1
      }
      }