Public bug reported: Using rtm image 184 on krillin
I was testing recording videos with camera-app and noticed that at some point during the recording process that pulseaudio was using 40% CPU and that did not ever get smaller. Then upon closing the camera-app media- hub-server and camera-app crashes. The following is the stacktrace which looks like pulseaudio crashed. Steps to reproduce: - open camera-app and record a bunch of videos using both front and back cameras - run top -d1 during this and you'll see pulseaudio using a lot of cpu - move camera-app to the background and try to swipe it away and you'll see the crash apport-retrace --gdb _usr_bin_media-hub-server.32011.crash GNU gdb (Ubuntu 7.8-0ubuntu1) 7.8 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 /usr/bin/media-hub-server...(no debugging symbols found)...done. warning: core file may not match specified executable file. [New LWP 12215] [New LWP 12217] [New LWP 12222] [New LWP 12218] [New LWP 12216] [New LWP 12219] [New LWP 12224] [New LWP 2348] [New LWP 12232] [New LWP 12235] [New LWP 2343] [New LWP 2342] [New LWP 12258] [New LWP 8434] [New LWP 12239] [New LWP 12227] [New LWP 12226] [New LWP 12231] [New LWP 12221] [New LWP 12225] [New LWP 2269] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Core was generated by `media-hub-server'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0xb3551cb8 in cleanup_time_events (m=m@entry=0x1965038, force=force@entry=false) at pulse/mainloop.c:510 510 pulse/mainloop.c: No such file or directory. (gdb) bt full #0 0xb3551cb8 in cleanup_time_events (m=m@entry=0x1965038, force=force@entry=false) at pulse/mainloop.c:510 e = 0x600192d3 n = <optimized out> __func__ = "cleanup_time_events" __PRETTY_FUNCTION__ = "cleanup_time_events" #1 0xb3552a8e in scan_dead (m=0x1965038) at pulse/mainloop.c:593 No locals. #2 pa_mainloop_prepare (m=m@entry=0x1965038, timeout=-1) at pulse/mainloop.c:796 __func__ = "pa_mainloop_prepare" __PRETTY_FUNCTION__ = "pa_mainloop_prepare" #3 0xb3553232 in pa_mainloop_iterate (m=0x1965038, block=<optimized out>, retval=0x0) at pulse/mainloop.c:929 r = <optimized out> #4 0xb35532c0 in pa_mainloop_run (m=0x1965038, retval=retval@entry=0x0) at pulse/mainloop.c:950 r = <optimized out> #5 0xb355d3b2 in thread (userdata=0x19630d8) at pulse/thread-mainloop.c:88 m = 0x19630d8 mask = {__val = {2147483647, 4294967294, 4294967295 <repeats 30 times>}} #6 0xb35080cc in internal_thread_func (userdata=0x1965140) at pulsecore/thread-posix.c:83 t = 0x1965140 #7 0xb6a8ff98 in start_thread (arg=0xa50fd3e0) at pthread_create.c:311 pd = 0xa50fd3e0 unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1525688840, -1525689376, 0, -1525690912, -1525690592, -1525688812, 0, -1096024600, 1931098388, 1623001989, 0 <repeats 54 times>}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = 0 pagesize_m1 = <optimized out> sp = <optimized out> freesize = <optimized out> __PRETTY_FUNCTION__ = "start_thread" #8 0xb6a2f22c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 No locals. ---Type <return> to continue, or q <return> to quit--- Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) ** Affects: canonical-devices-system-image Importance: Undecided Status: New ** Affects: media-hub Importance: Undecided Status: New ** Affects: media-hub (Ubuntu) Importance: Undecided Status: New ** Affects: pulseaudio (Ubuntu) Importance: Undecided Assignee: Ricardo Salveti (rsalveti) Status: New ** Also affects: pulseaudio (Ubuntu) Importance: Undecided Status: New ** Also affects: media-hub (Ubuntu) Importance: Undecided Status: New ** Changed in: pulseaudio (Ubuntu) Assignee: (unassigned) => Ricardo Salveti (rsalveti) ** Summary changed: - media-hub-server crash after recording videos + media-hub-server crash after recording videos, pulse using high CPU ** Also affects: canonical-devices-system-image Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1408396 Title: media-hub-server crash after recording videos, pulse using high CPU Status in the base for Ubuntu mobile products: New Status in Media Hub: New Status in media-hub package in Ubuntu: New Status in pulseaudio package in Ubuntu: New Bug description: Using rtm image 184 on krillin I was testing recording videos with camera-app and noticed that at some point during the recording process that pulseaudio was using 40% CPU and that did not ever get smaller. Then upon closing the camera- app media-hub-server and camera-app crashes. The following is the stacktrace which looks like pulseaudio crashed. Steps to reproduce: - open camera-app and record a bunch of videos using both front and back cameras - run top -d1 during this and you'll see pulseaudio using a lot of cpu - move camera-app to the background and try to swipe it away and you'll see the crash apport-retrace --gdb _usr_bin_media-hub-server.32011.crash GNU gdb (Ubuntu 7.8-0ubuntu1) 7.8 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 /usr/bin/media-hub-server...(no debugging symbols found)...done. warning: core file may not match specified executable file. [New LWP 12215] [New LWP 12217] [New LWP 12222] [New LWP 12218] [New LWP 12216] [New LWP 12219] [New LWP 12224] [New LWP 2348] [New LWP 12232] [New LWP 12235] [New LWP 2343] [New LWP 2342] [New LWP 12258] [New LWP 8434] [New LWP 12239] [New LWP 12227] [New LWP 12226] [New LWP 12231] [New LWP 12221] [New LWP 12225] [New LWP 2269] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Core was generated by `media-hub-server'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0xb3551cb8 in cleanup_time_events (m=m@entry=0x1965038, force=force@entry=false) at pulse/mainloop.c:510 510 pulse/mainloop.c: No such file or directory. (gdb) bt full #0 0xb3551cb8 in cleanup_time_events (m=m@entry=0x1965038, force=force@entry=false) at pulse/mainloop.c:510 e = 0x600192d3 n = <optimized out> __func__ = "cleanup_time_events" __PRETTY_FUNCTION__ = "cleanup_time_events" #1 0xb3552a8e in scan_dead (m=0x1965038) at pulse/mainloop.c:593 No locals. #2 pa_mainloop_prepare (m=m@entry=0x1965038, timeout=-1) at pulse/mainloop.c:796 __func__ = "pa_mainloop_prepare" __PRETTY_FUNCTION__ = "pa_mainloop_prepare" #3 0xb3553232 in pa_mainloop_iterate (m=0x1965038, block=<optimized out>, retval=0x0) at pulse/mainloop.c:929 r = <optimized out> #4 0xb35532c0 in pa_mainloop_run (m=0x1965038, retval=retval@entry=0x0) at pulse/mainloop.c:950 r = <optimized out> #5 0xb355d3b2 in thread (userdata=0x19630d8) at pulse/thread-mainloop.c:88 m = 0x19630d8 mask = {__val = {2147483647, 4294967294, 4294967295 <repeats 30 times>}} #6 0xb35080cc in internal_thread_func (userdata=0x1965140) at pulsecore/thread-posix.c:83 t = 0x1965140 #7 0xb6a8ff98 in start_thread (arg=0xa50fd3e0) at pthread_create.c:311 pd = 0xa50fd3e0 unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1525688840, -1525689376, 0, -1525690912, -1525690592, -1525688812, 0, -1096024600, 1931098388, 1623001989, 0 <repeats 54 times>}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = 0 pagesize_m1 = <optimized out> sp = <optimized out> freesize = <optimized out> __PRETTY_FUNCTION__ = "start_thread" #8 0xb6a2f22c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 No locals. ---Type <return> to continue, or q <return> to quit--- Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1408396/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

