[haiku-bugs] [Haiku] #11339: Media add-on server failing

  • From: "ronald.copley" <trac@xxxxxxxxxxxx>
  • Date: Mon, 13 Oct 2014 23:27:26 -0000

#11339: Media add-on server failing
---------------------------+------------------------------
 Reporter:  ronald.copley  |        Owner:  nobody
     Type:  bug            |       Status:  new
 Priority:  normal         |    Milestone:  R1
Component:  - General      |      Version:  R1/Development
 Keywords:                 |   Blocked By:
 Blocking:                 |  Has a Patch:  0
 Platform:  x86            |
---------------------------+------------------------------
 Only started after update to hrev 48013

 Debug information for team /boot/system/servers/media_addon_server (662):
 CPU(s): 2x Intel Core 2
 Memory: 3.90 GiB total, 269.83 MiB used
 Haiku revision: hrev48013 Oct 13 2014 16:31:29 (BePC)

 Active Threads:
 thread 662: media_addon_server (main)
 thread 669: _BMediaRoster_
 thread 670: media_addon_server control
 thread 671: System clock control
 thread 704: HD Audio control
 thread 706: multi_audio audio output
 thread 708: Yeah baby, very shagadelic
 thread 720: FireWire-0 control
 thread 834: team 662 debug task
 thread 699: Audio Mixer control
 state: Exception (Segment violation)

 Frame IP Function Name
 -----------------------------------------------
 0x70b7c8f0 0xa6ebda Resampler::float_to_float(void*, int32, int32, void*,
 int32, int32, float) + 0x6a
 Disassembly:
 Resampler::float_to_float(void*, int32, int32, void*, int32, int32,
 float):
 0x00a6eb70:               55  push %ebp
 0x00a6eb71:             89e5  mov %esp, %ebp
 0x00a6eb73:           83ec20  sub $0x20, %esp
 0x00a6eb76:               57  push %edi
 0x00a6eb77:               56  push %esi
 0x00a6eb78:           8b7d14  mov 0x14(%ebp), %edi
 0x00a6eb7b:           8b4520  mov 0x20(%ebp), %eax
 0x00a6eb7e:           8b750c  mov 0xc(%ebp), %esi
 0x00a6eb81:           8b4d18  mov 0x18(%ebp), %ecx
 0x00a6eb84:             89c2  mov %eax, %edx
 0x00a6eb86:           d94524  fld 0x24(%ebp)
 0x00a6eb89:             39d7  cmp %edx, %edi
 0x00a6eb8b:             7523  jnz 0xa6ebb0
 0x00a6eb8d:           83ea01  sub $0x1, %edx
 0x00a6eb90:     0f82ac000000  jb 0xa6ec42
 0x00a6eb96:             89f6  mov %esi, %esi
 0x00a6eb98:             d9c0  fld %st0, %st0
 0x00a6eb9a:             d80e  fmul (%esi)
 0x00a6eb9c:             d919  fstp (%ecx)
 0x00a6eb9e:           037510  add 0x10(%ebp), %esi
 0x00a6eba1:           034d1c  add 0x1c(%ebp), %ecx
 0x00a6eba4:           83ea01  sub $0x1, %edx
 0x00a6eba7:             73ef  jae 0xa6eb98
 0x00a6eba9:       e994000000  jmp 0xa6ec42
 0x00a6ebae:             89f6  mov %esi, %esi
 0x00a6ebb0:           897dfc  mov %edi, -0x4(%ebp)
 0x00a6ebb3:           db45fc  fild -0x4(%ebp)
 0x00a6ebb6:           8945fc  mov %eax, -0x4(%ebp)
 0x00a6ebb9:           db45fc  fild -0x4(%ebp)
 0x00a6ebbc:             def9  fdivp %st0, %st1
 0x00a6ebbe:             d9ee  fldz
 0x00a6ebc0:             d9e8  fld1
 0x00a6ebc2:             d8da  fcomp %st2, %st0
 0x00a6ebc4:             dfe0  fnstsw %ax
 0x00a6ebc6:           80e445  andb $0x45, %ah
 0x00a6ebc9:             7531  jnz 0xa6ebfc
 0x00a6ebcb:           83ea01  sub $0x1, %edx
 0x00a6ebce:             726e  jb 0xa6ec3e
 0x00a6ebd0:             d9e8  fld1
 0x00a6ebd2:             eb04  jmp 0xa6ebd8
 0x00a6ebd4:             d9c9  fxch %st1, %st0
 0x00a6ebd6:             89f6  mov %esi, %esi
 0x00a6ebd8:             d9c3  fld %st3, %st0
 0x00a6ebda:             d80e  fmul (%esi) <--

 Frame memory:
 [0x70b7c8c0]  p.....1.....&...   70 eb a6 00 b8 1b 31 18 03 00 00 00 26 e4
 a6 00
 [0x70b7c8d0]  .=...x..........   a4 3d a7 00 00 78 00 00 00 00 00 00 00 00
 00 00
 [0x70b7c8e0]  mh.........p....   6d 68 00 00 93 0f 00 00 e8 c9 b7 70 e7 9d
 a6 00
 0x70b7c9f0 0xa69de5 MixerInput::BufferReceived(BBuffer*) + 0x4c1
 0x70b7ca20 0xa67a4d MixerCore::BufferReceived(BBuffer*, int64) + 0x49
 0x70b7ca60 0xa61798 AudioMixer::HandleInputBuffer(BBuffer*, int64) + 0x1a4
 0x70b7ca90 0xa62f71 AudioMixer::HandleEvent(media_timed_event*, int64,
 bool) + 0x5d
 0x70b7cad0 0x68f617 BMediaEventLooper::DispatchEvent(media_timed_event*,
 int64, bool) + 0x3f
 0x70b7cbb0 0x68f286 BMediaEventLooper::ControlLoop() + 0x202
 0x70b7cbf0 0x68f6a1 BMediaEventLooper::_ControlThreadStart(void*) + 0x35
 0x70b7cc18 0x18bcfe9 thread_entry + 0x21
 00000000 0x60491250 commpage_thread_exit + 0

 Registers:
  eip: 0x00a6ebda
  esp: 0x70b7c8c0
  ebp: 0x70b7c8e8
  eax: 0x00000025
  ebx: 0x00a73da4
  ecx: 0x183d5d00
  edx: 0x00000f92
  esi: 0x00000000
  edi: 0x00000393
   cs: 0x001b
   ds: 0x0023
   es: 0x0023
   fs: 0x0063
   gs: 0x0023
   ss: 0x0023

 Loaded Images:
 ID Text Base Text End Data Base Data End Type Name
 
--------------------------------------------------------------------------------
 2433 0x00404000 0x0055b000 0x0055b000 0x0058c000 lib
 /boot/system/lib/libicuuc.so.54.1
 2423 0x00645000 0x006d6000 0x006d6000 0x006f4000 lib
 /boot/system/lib/libmedia.so
 2424 0x006f6000 0x00710000 0x00710000 0x00717000 lib
 /boot/system/lib/libgame.so
 2570 0x00a56000 0x00a71000 0x00a71000 0x00a75000 add-on /boot/system/add-
 ons/media/mixer.media_addon
 2430 0x00a80000 0x00ad2000 0x00ad2000 0x00add000 lib
 /boot/system/lib/libicule.so.54.1
 2429 0x00f42000 0x00f4b000 0x00f4b000 0x00f4c000 lib
 /boot/system/lib/libicuio.so.54.1
 2678 0x0106c000 0x01075000 0x01075000 0x01078000 add-on /boot/system/add-
 ons/media/firewire_dv.media_addon
 2422 0x01268000 0x01511000 0x01511000 0x0159e000 lib
 /boot/system/lib/libbe.so
 2428 0x015b9000 0x0180d000 0x0180d000 0x0186d000 lib
 /boot/system/lib/libicui18n.so.54.1
 2426 0x0188c000 0x01959000 0x01959000 0x019a4000 lib
 /boot/system/lib/libroot.so
 2425 0x019d2000 0x01a02000 0x01a02000 0x01a0f000 lib
 /boot/system/lib/libstdc++.r4.so
 2432 0x01d49000 0x01d81000 0x01d81000 0x01db8000 lib
 /boot/system/lib/libicutu.so.54.1
 2431 0x01e8a000 0x01e94000 0x01e94000 0x01e98000 lib
 /boot/system/lib/libiculx.so.54.1
 2421 0x01f07000 0x01f1a000 0x01f1a000 0x01f1e000 app
 /boot/system/servers/media_addon_server
 2434 0x0202e000 0x02047000 0x02047000 0x02048000 lib
 /boot/system/lib/libz.so.1.2.8
 2601 0x020b8000 0x020cd000 0x020cd000 0x020d1000 add-on /boot/system/add-
 ons/media/hmulti_audio.media_addon
 2420 0x020db000 0x020fb000 0x020fb000 0x020ff000 lib
 /boot/system/runtime_loader
 2427 0x02376000 0x03be1000 0x03be1000 0x03be9000 lib
 /boot/system/lib/libicudata.so.54.1
 2419 0x60491000 0x60499000 0x00000000 0x00000000 system commpage

 Areas:
 ID Base End Size (KiB) Protection Locking Name
 
--------------------------------------------------------------------------------
 7450 0x00101000 0x00102000         4 rw-S       full
 __cloned_timesource_buf_3
 7432 0x00106000 0x00107000         4 rw-S       full
 __timesource_buf_3
 7016 0x00109000 0x0010a000         4 rw-S       full
 __timesource_buf_1
 7444 0x0010a000 0x00112000        32 rw-S       full           shared
 buffer list clone
 7530 0x00112000 0x0014e000       240 rw-S       full           a cloned
 BBuffer
 6971 0x00156000 0x00166000        64 rw-         full           rld heap
 7447 0x00166000 0x001a2000       240 rw-S       full           a cloned
 BBuffer
 6969 0x001c5000 0x001cd000        32 rw-         full           rld heap
 7448 0x001cd000 0x00209000       240 rw-S       full           a cloned
 BBuffer
 7449 0x00209000 0x00245000       240 rw-S       full           a cloned
 BBuffer
 6933 0x0026c000 0x0026d000         4 rw-S       full           _rld_debug_
 7531 0x0026d000 0x002a9000       240 rw-S       full           a cloned
 BBuffer
 7532 0x002a9000 0x002e5000       240 rw-S       full           a cloned
 BBuffer
 6964 0x00404000 0x0055b000      1372 r-x         full
 libicuuc.so.54.1_seg0ro
 6965 0x0055b000 0x0058a000       188 rw-         full
 libicuuc.so.54.1_seg1rw
 6966 0x0058a000 0x0058c000         8 rw-         full
 libicuuc.so.54.1_seg2rw
 6939 0x00645000 0x006d6000       580 r-x         full
 libmedia.so_seg0ro
 6940 0x006d6000 0x006f3000       116 rw-         full
 libmedia.so_seg1rw
 6941 0x006f3000 0x006f4000         4 rw-         full
 libmedia.so_seg2rw
 6942 0x006f6000 0x00710000       104 r-x         full
 libgame.so_seg0ro
 6943 0x00710000 0x00717000        28 rw-         full
 libgame.so_seg1rw
 6932 0x00727000 0x00737000        64 rw-         full           rld heap
 7338 0x00a56000 0x00a71000       108 r-x         full
 mixer.media_addon_seg0ro
 7339 0x00a71000 0x00a75000        16 rw-         full
 mixer.media_addon_seg1rw
 6957 0x00a80000 0x00ad2000       328 r-x         full
 libicule.so.54.1_seg0ro
 6958 0x00ad2000 0x00add000        44 rw-         full
 libicule.so.54.1_seg1rw
 6955 0x00f42000 0x00f4b000        36 r-x         full
 libicuio.so.54.1_seg0ro
 6956 0x00f4b000 0x00f4c000         4 rw-         full
 libicuio.so.54.1_seg1rw
 7669 0x0106c000 0x01075000        36 r-x         full
 firewire_dv.media_addon_seg0ro
 7670 0x01075000 0x01078000        12 rw-         full
 firewire_dv.media_addon_seg1rw
 6936 0x01268000 0x01511000      2724 r-x         full
 libbe.so_seg0ro
 6937 0x01511000 0x0159c000       556 rw-         full
 libbe.so_seg1rw
 6938 0x0159c000 0x0159e000         8 rw-         full
 libbe.so_seg2rw
 6952 0x015b9000 0x0180d000      2384 r-x         full
 libicui18n.so.54.1_seg0ro
 6953 0x0180d000 0x0186c000       380 rw-         full
 libicui18n.so.54.1_seg1rw
 6954 0x0186c000 0x0186d000         4 rw-         full
 libicui18n.so.54.1_seg2rw
 6947 0x0188c000 0x01959000       820 r-x         full
 libroot.so_seg0ro
 6948 0x01959000 0x0196c000        76 rw-         full
 libroot.so_seg1rw
 6949 0x0196c000 0x019a4000       224 rw-         full
 libroot.so_seg2rw
 6944 0x019d2000 0x01a02000       192 r-x         full
 libstdc++.r4.so_seg0ro
 6945 0x01a02000 0x01a0d000        44 rw-         full
 libstdc++.r4.so_seg1rw
 6946 0x01a0d000 0x01a0f000         8 rw-         full
 libstdc++.r4.so_seg2rw
 6961 0x01d49000 0x01d81000       224 r-x         full
 libicutu.so.54.1_seg0ro
 6962 0x01d81000 0x01d86000        20 rw-         full
 libicutu.so.54.1_seg1rw
 6963 0x01d86000 0x01db8000       200 rw-         full
 libicutu.so.54.1_seg2rw
 6959 0x01e8a000 0x01e94000        40 r-x         full
 libiculx.so.54.1_seg0ro
 6960 0x01e94000 0x01e98000        16 rw-         full
 libiculx.so.54.1_seg1rw
 6934 0x01f07000 0x01f1a000        76 r-x         full
 media_addon_server_seg0ro
 6935 0x01f1a000 0x01f1e000        16 rw-         full
 media_addon_server_seg1rw
 6967 0x0202e000 0x02047000       100 r-x         full
 libz.so.1.2.8_seg0ro
 6968 0x02047000 0x02048000         4 rw-         full
 libz.so.1.2.8_seg1rw
 7408 0x020b8000 0x020cd000        84 r-x         full
 hmulti_audio.media_addon_seg0ro
 7409 0x020cd000 0x020d1000        16 rw-         full
 hmulti_audio.media_addon_seg1rw
 6929 0x020db000 0x020fb000       128 r-x         full
 runtime_loader_seg0ro
 6930 0x020fb000 0x020fd000         8 rw-         full
 runtime_loader_seg1rw
 6931 0x020fd000 0x020ff000         8 rw-         full
 runtime_loader_bss1
 6950 0x02376000 0x03be1000     25004 r-x         full
 libicudata.so.54.1_seg0ro
 6951 0x03be1000 0x03be9000        32 rw-         full
 libicudata.so.54.1_seg1rw
 6977 0x18277000 0x183f7000      1536 rw-         full           heap
 6928 0x60491000 0x60499000        32 r-xSk       full           commpage
 6925 0x61c76000 0x61c7a000        16 rw-         full           user area
 7004 0x61cf6000 0x61cf7000         4 rw-S       full
 server_memory
 7672 0x708b7000 0x708fc000       276 rw-s       full           FireWire-0
 control_720_stack
 7015 0x7097e000 0x709c3000       276 rw-s       full           System
 clock control_671_stack
 7527 0x709e3000 0x70a28000       276 rw-s       full           Yeah baby,
 very shagadelic_708_
 7011 0x70a35000 0x70a7a000       276 rw-s       full
 _BMediaRoster__669_stack
 7341 0x70b39000 0x70b7e000       276 rw-s       full           Audio Mixer
 control_699_stack
 7430 0x719b4000 0x719f9000       276 rw-s       full           HD Audio
 control_704_stack
 7013 0x71adb000 0x71b20000       276 rw-s       full
 media_addon_server control_670_
 6927 0x71bc6000 0x72bc7000     16388 rw-s       full
 media_addon_server_662_stack
 7009 0x72bc7000 0x72be7000       128 rw-S       full
 server_memory
 7438 0x7b086000 0x7b0cb000       276 rw-s       full           multi_audio
 audio output_706_st

 Protection Flags: r - read, w - write, x - execute, s - stack, o -
 overcommit, c - cloneable, S - shared, k - kernel

 Semaphores:
 ID Count Last Holder Name
 ------------------------------------------------------------
 3291    0          0 some BBlockCache lock
 3292    0          0 Catalog
 3293    0          0 some BLocker
 3294    0          0 some BLocker
 3295    0          0 token space
 3296    0          0 BLooperList lock
 3297    0          0 AppServerLink_sLock
 3300    0          0 LocaleRosterData
 3301    0          0 some BLocker
 3312    0          0 media plugin manager
 3313    0          0 shared buffer list
 3314    0          0 port pool
 3315    0          0 add-on manager
 3316    0          0 media theme lock
 3317    0          0 some BLocker
 3318    0          0 GameSound device lock
 3319    0          0 BMessageQueue Lock
 3320    0          0 AppLooperPort
 3351    0          0 screen list
 3352    0          0 clipboard
 3353    0          0 width buffer
 3362    0          0 BMediaRoster::Roster locker
 3363    0          0 BMessageQueue Lock
 3364    0          0 _BMediaRoster_
 3368    0          0 dormant node manager locker
 3369    0          0 time source object manager
 3373    0          0 BTimeSource SlaveNodes
 3595    0          0 Catalog
 3596    0          0 BControllable lock
 3597    0          0 BTimedEventQueue locker
 3598    0          0 BTimedEventQueue locker
 3599   -1          0 mixer core lock
 3600    0          0 mixer settings lock
 3613    0          0 Catalog
 3620    0          0 BTimeSource SlaveNodes
 3621    0          0 BTimedEventQueue locker
 3622    0          0 BTimedEventQueue locker
 3623    0          0 BControllable lock
 3624    0          0 multi audio buffers
 3631    0        706 multi_audio out buffer free
 3635    3       -708 buffer reclaim sem
 3638    0          0 format manager
 3643    0          0 mix thread wait
 3791    0          0 BControllable lock
 3792    0          0 BTimedEventQueue locker
 3793    0          0 BTimedEventQueue locker
 3794    0          0 some BLocker

--
Ticket URL: <https://dev.haiku-os.org/ticket/11339>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: