[haiku-bugs] [Haiku] #10091: Media addon server crash on restart

  • From: "dsuden" <trac@xxxxxxxxxxxx>
  • Date: Sun, 13 Oct 2013 12:59:51 -0000

#10091: Media addon server crash on restart
-----------------------+------------------------------
 Reporter:  dsuden     |        Owner:  nobody
     Type:  bug        |       Status:  new
 Priority:  normal     |    Milestone:  R1
Component:  - General  |      Version:  R1/Development
 Keywords:             |   Blocked By:
 Blocking:             |  Has a Patch:  0
 Platform:  All        |
-----------------------+------------------------------
 Received the following crash when restarting the media server using hrev
 46033:


 Debug information for team /boot/system/servers/media_addon_server (487):
 CPU(s): 2x AMD A4 5300
 Memory: 3.20 GiB total, 239.98 MiB used
 Haiku revision: hrev46033 Sep  8 2013 00:35:27 (BePC)

 Active Threads:
         thread 494: System clock control
         thread 568: Audio Mixer control
         thread 777: team 487 debug task
         thread 487: media_addon_server (main)
                 state: Debugged

                 Frame           IP                      Function Name
                 -----------------------------------------------
                 00000000        0x61cb7112      commpage_syscall + 0x2
                         Frame memory:

                 0x63506610      0x6277b1
 /boot/system/lib/libroot.so + 0x907b1
                 0x63506650      0x89c7f3        _start + 0x5f
                 0x63506680      0x7b55ac        runtime_loader + 0x130
                 00000000        0x61cb7250      commpage_thread_exit + 0

                 Registers:
                           eip:  0x61cb7114
                           esp:  0x635065d4
                           ebp:  0x63506610
                           eax:  0x00000024
                           ebx:  0x0066744c
                           ecx:  0x635065d4
                           edx:  0x61cb7114
                           esi:  0x00000000
                           edi:  0x63507544
                            cs:  0x001b
                            ds:  0x0023
                            es:  0x0023
                            fs:  0x006b
                            gs:  0x0023
                            ss:  0x0023
         thread 531: HD Audio control
                 state: Exception (Segment violation)

                 Frame           IP                      Function Name
                 -----------------------------------------------
                 0x7372edf0      0x5c6175        atomic_or + 0x8
                         Frame memory:
                         [0x7372eda4]  `v0...........rs   60 76 30 01 00 90
 10 00 00 00 00 00 e0 ed 72 73
                         [0x7372edb4]  Bv0. B4..k......   42 76 30 01 20 42
 34 01 18 6b 00 00 00 00 00 00
                         [0x7372edc4]  ....h.........rs   00 00 00 00 68 8d
 86 03 b0 1b 84 03 10 ee 72 73
                         [0x7372edd4]  0....j....rs....   30 00 00 00 90 6a
 84 03 b0 ee 72 73 00 00 00 00
                         [0x7372ede4]  ..........rs       00 00 00 00 00 00
 84 03 b0 ee 72 73
                 0x7372ee48      0x1307571
 BTimeSource::RealTimeFor(int64, int64) + 0x3d
                 0x7372ef38      0x12e8cf1
 BMediaEventLooper::ControlLoop() + 0xb5
                 0x7372ef78      0x12e926d
 BMediaEventLooper::_ControlThreadStart(void*) + 0x35
                 0x7372efa0      0x5c21f1        thread_entry + 0x21
                 00000000        0x61cb7250      commpage_thread_exit + 0

                 Registers:
                           eip:  0x005c6175
                           esp:  0x7372eda4
                           ebp:  0x7372edf0
                           eax:  0x00109000
                           ebx:  0x01344220
                           ecx:  0x00000000
                           edx:  0x00109000
                           esi:  0x00006b18
                           edi:  0x038f7180
                            cs:  0x001b
                            ds:  0x0023
                            es:  0x0023
                            fs:  0x006b
                            gs:  0x0023
                            ss:  0x0023

 Loaded Images:
         ID              Text Base       Text End        Data Base
 Data End        Type    Name
 
--------------------------------------------------------------------------------
         2251    0x00597000      0x0065e000      0x0065e000      0x006a9000
 lib     /boot/system/lib/libroot.so
         2242    0x007a6000      0x007c3000      0x007c3000      0x007c6000
 lib     /boot/system/runtime_loader
         2245    0x00893000      0x008a6000      0x008a6000      0x008aa000
 app     /boot/system/servers/media_addon_server
         2257    0x008ae000      0x008b8000      0x008b8000      0x008bb000
 lib     /boot/system/lib/libiculx.so.48.1.1
         2255    0x0093d000      0x00975000      0x00975000      0x0097c000
 lib     /boot/system/lib/libicule.so.48.1.1
         2259    0x009bd000      0x00af8000      0x00af8000      0x00b21000
 lib     /boot/system/lib/libicuuc.so.48.1.1
         2246    0x00b25000      0x00daa000      0x00daa000      0x00e2e000
 lib     /boot/system/lib/libbe.so
         2250    0x00ef3000      0x00f23000      0x00f23000      0x00f30000
 lib     /boot/system/lib/libstdc++.r4.so
         2249    0x00fba000      0x00fd4000      0x00fd4000      0x00fdb000
 lib     /boot/system/lib/libgame.so
         2248    0x012a0000      0x0132d000      0x0132d000      0x0134a000
 lib     /boot/system/lib/libmedia.so
         2252    0x017bf000      0x0295a000      0x0295a000      0x02960000
 lib     /boot/system/lib/libicudata.so.48.1.1
         2264    0x029ca000      0x029da000      0x029da000      0x029dd000
 lib     /boot/system/lib/libroot-addon-icu.so
         2258    0x02bea000      0x02c09000      0x02c09000      0x02c3e000
 lib     /boot/system/lib/libicutu.so.48.1.1
         2254    0x02df3000      0x02dfb000      0x02dfb000      0x02dfd000
 lib     /boot/system/lib/libicuio.so.48.1.1
         2253    0x02ff7000      0x03200000      0x03200000      0x0324d000
 lib     /boot/system/lib/libicui18n.so.48.1.1
         2241    0x61cb7000      0x61cbf000      0x00000000      0x00000000
 system  commpage

 Areas:
         ID              Base            End                     Size (KiB)
 Protection      Locking                 Name
 
--------------------------------------------------------------------------------
         7642    0x0010a000      0x00146000             240      rw-S
 full            a cloned BBuffer
         8089    0x00146000      0x0014c000              24      rw-S
 full            a cloned BBuffer
         7607    0x0014d000      0x0014e000               4      rw-S
 full            __timesource_buf_2
         8095    0x00202000      0x00208000              24      rw-S
 full            a cloned BBuffer
         6681    0x00216000      0x00217000               4      rw-S
 full            __timesource_buf_1
         7645    0x00217000      0x00253000             240      rw-S
 full            a cloned BBuffer
         7761    0x00253000      0x0028f000             240      rw-S
 full            a cloned BBuffer
         6608    0x0029d000      0x0029e000               4      rw-S
 full            _rld_debug_
         8844    0x002da000      0x00316000             240      rw-S
 full            a cloned BBuffer
         6607    0x00353000      0x00363000              64      rw-
 full            rld heap
         6626    0x00597000      0x0065e000             796      r-x
 full            libroot.so_seg0ro
         6627    0x0065e000      0x00670000              72      rw-
 full            libroot.so_seg1rw
         6628    0x00670000      0x006a9000             228      rw-
 full            libroot.so_seg2rw
         6604    0x007a6000      0x007c3000             116      r-x
 full            runtime_loader_seg0ro
         6605    0x007c3000      0x007c4000               4      rw-
 full            runtime_loader_seg1rw
         6606    0x007c4000      0x007c6000               8      rw-
 full            runtime_loader_bss1
         6609    0x00893000      0x008a6000              76      r-x
 full            media_addon_server_seg0ro
         6610    0x008a6000      0x008aa000              16      rw-
 full            media_addon_server_seg1rw
         6642    0x008ae000      0x008b8000              40      r-x
 full            libiculx.so.48.1.1_seg0ro
         6643    0x008b8000      0x008bb000              12      rw-
 full            libiculx.so.48.1.1_seg1rw
         6638    0x0093d000      0x00975000             224      r-x
 full            libicule.so.48.1.1_seg0ro
         6639    0x00975000      0x0097c000              28      rw-
 full            libicule.so.48.1.1_seg1rw
         6647    0x009bd000      0x00af8000            1260      r-x
 full            libicuuc.so.48.1.1_seg0ro
         6648    0x00af8000      0x00b1f000             156      rw-
 full            libicuuc.so.48.1.1_seg1rw
         6649    0x00b1f000      0x00b21000               8      rw-
 full            libicuuc.so.48.1.1_seg2rw
         6613    0x00b25000      0x00daa000            2580      r-x
 full            libbe.so_seg0ro
         6614    0x00daa000      0x00e2d000             524      rw-
 full            libbe.so_seg1rw
         6615    0x00e2d000      0x00e2e000               4      rw-
 full            libbe.so_seg2rw
         6623    0x00ef3000      0x00f23000             192      r-x
 full            libstdc++.r4.so_seg0ro
         6624    0x00f23000      0x00f2e000              44      rw-
 full            libstdc++.r4.so_seg1rw
         6625    0x00f2e000      0x00f30000               8      rw-
 full            libstdc++.r4.so_seg2rw
         6621    0x00fba000      0x00fd4000             104      r-x
 full            libgame.so_seg0ro
         6622    0x00fd4000      0x00fdb000              28      rw-
 full            libgame.so_seg1rw
         6618    0x012a0000      0x0132d000             564      r-x
 full            libmedia.so_seg0ro
         6619    0x0132d000      0x01349000             112      rw-
 full            libmedia.so_seg1rw
         6620    0x01349000      0x0134a000               4      rw-
 full            libmedia.so_seg2rw
         6629    0x017bf000      0x0295a000           18028      r-x
 full            libicudata.so.48.1.1_seg0ro
         6630    0x0295a000      0x02960000              24      rw-
 full            libicudata.so.48.1.1_seg1rw
         6662    0x029ca000      0x029da000              64      r-x
 full            libroot-addon-icu.so_seg0ro
         6663    0x029da000      0x029dd000              12      rw-
 full            libroot-addon-icu.so_seg1rw
         6644    0x02bea000      0x02c09000             124      r-x
 full            libicutu.so.48.1.1_seg0ro
         6645    0x02c09000      0x02c0c000              12      rw-
 full            libicutu.so.48.1.1_seg1rw
         6646    0x02c0c000      0x02c3e000             200      rw-
 full            libicutu.so.48.1.1_seg2rw
         6636    0x02df3000      0x02dfb000              32      r-x
 full            libicuio.so.48.1.1_seg0ro
         6637    0x02dfb000      0x02dfd000               8      rw-
 full            libicuio.so.48.1.1_seg1rw
         6633    0x02ff7000      0x03200000            2084      r-x
 full            libicui18n.so.48.1.1_seg0ro
         6634    0x03200000      0x0324c000             304      rw-
 full            libicui18n.so.48.1.1_seg1rw
         6635    0x0324c000      0x0324d000               4      rw-
 full            libicui18n.so.48.1.1_seg2rw
         6657    0x03811000      0x039b1000            1664      rw-
 full            heap
         6603    0x61cb7000      0x61cbf000              32      r-xSk
 full            commpage
         6600    0x61d8b000      0x61d8f000              16      rw-
 full            user area
         6602    0x62507000      0x63508000           16388      rw-s
 full            media_addon_server_487_stack
         6680    0x73537000      0x7357c000             276      rw-s
 full            System clock control_494_stack
         7593    0x736eb000      0x73730000             276      rw-s
 full            HD Audio control_531_stack
         8068    0x73746000      0x7378b000             276      rw-s
 full            Audio Mixer control_568_stack

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

 Semaphores:
         ID              Count   Last Holder     Name
         ------------------------------------------------------------
         2596        0             0     LocaleRosterData
         2597        0             0     some BLocker
         2634        0             0     screen list
         2635        0             0     clipboard
         2636        0             0     width buffer
         2648        0             0     BTimeSource SlaveNodes
         3002        0             0     BTimeSource SlaveNodes
         3003        0             0     BTimedEventQueue locker
         3004        0             0     BTimedEventQueue locker
         3005        0             0     BControllable lock
         3006        0             0     multi audio buffers
         3283        0             0     BControllable lock
         3284        0             0     BTimedEventQueue locker
         3285        0             0     BTimedEventQueue locker
         3286        0           570     mixer core lock
         3287        0             0     mixer settings lock

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

Other related posts: