[MPlayer-advusers] SIGBUS real demuxer on Sparc

Jan Knutar jknutar at nic.fi
Tue Nov 8 12:09:41 CET 2005


Sparc v8, NetBSD, SIGBUS.

Starting program: /work/jk/main/mplayer KKnJ19-small.rm -vo null
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer dev-CVS-051107-23:22-2.95.3 (C) 2000-2005 MPlayer Team
CPU: Sun Sparc

Playing KKnJ19-small.rm.
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo

Program received signal SIGBUS, Bus error.
0x000e45c8 in demux_real_fill_buffer (demuxer=0x597000, dsds=0x598080) at demux_real.c:875
875                     extra[0]=1; extra[1]=0; // offset of the first chunk
(gdb) bt full
#0  0x000e45c8 in demux_real_fill_buffer (demuxer=0x597000, dsds=0x598080) at demux_real.c:875
        priv = (real_priv_t *) 0x595800
        len = 598
        stream_id = 2741
        version = 5873664
        y = 0
#1  0x000b114c in demux_fill_buffer (demux=0x597000, ds=0x598080) at demuxer.c:331
No locals.
#2  0x000b1274 in ds_fill_buffer (ds=0x598080) at demuxer.c:380
        demux = (demuxer_t *) 0x597000
#3  0x000e67a0 in demux_open_real (demuxer=0x597000) at demux_real.c:1715
        priv = (real_priv_t *) 0x595800
        a_streams = 1
        v_streams = 1
        i = 5
        y = 34
#4  0x000b1bf0 in demux_open_stream (stream=0x596000, file_format=11, force=0, audio_id=-1, video_id=-1, dvdsub_id=-1, filename=0x589710 "KKnJ19-small.rm")
    at demuxer.c:712
        demuxer = (demuxer_t *) 0x597000
        sh_video = (sh_video_t *) 0xa
        demuxer_desc = (demuxer_desc_t *) 0x4ca96c
        fformat = 11
        i = 10
#5  0x000b205c in demux_open (vs=0x596000, file_format=0, audio_id=-1, video_id=-1, dvdsub_id=-1, filename=0x589710 "KKnJ19-small.rm") at demuxer.c:786
        as = (stream_t *) 0x0
        ss = (stream_t *) 0x0
        vd = (demuxer_t *) 0x4eb400
        ad = (demuxer_t *) 0x0
        sd = (demuxer_t *) 0x0
        afmt = 0
        sfmt = 0
        audio_demuxer_type = 0
        sub_demuxer_type = 0
        demuxer_force = 0
        audio_demuxer_force = 0
        sub_demuxer_force = 0
#6  0x0002f6f4 in main (argc=4, argv=0xeffff63c) at mplayer.c:1729
        mem_ptr = 0x58c610 "KKnJ19-small.rm"
        d_audio = (demux_stream_t *) 0x0
        d_video = (demux_stream_t *) 0x0
        d_dvdsub = (demux_stream_t *) 0x0
        file_format = 0
        osd_function = 1
        osd_last_pts = -303
        osd_show_av_delay = 0
        osd_show_text = 0
        osd_show_speed = 0
        osd_show_sub_delay = 0
        osd_show_sub_pos = 0
        osd_show_sub_visibility = 0
        osd_show_sub_alignment = 0
        osd_show_vobsub_changed = 0
        osd_show_sub_changed = 0
        osd_show_percentage = 0
        osd_show_tv_channel = 25
        osd_show_ontop = 0
        osd_show_rootwin = 0
        osd_show_framedropping = 0
        osd_show_status = 0
        opt_exit = 5817872
        i = 5817872
        tmp = 0xffffec00 ""
#7  0x0002c6dc in ___start ()
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xe45a8 to 0xe45e8:
0xe45a8 <demux_real_fill_buffer+2688>:  ld  [ %fp + -16 ], %g3
0xe45ac <demux_real_fill_buffer+2692>:  st  %g3, [ %l5 + 0x50 ]
0xe45b0 <demux_real_fill_buffer+2696>:  ld  [ %i4 + 0x10 ], %l6
0xe45b4 <demux_real_fill_buffer+2700>:  add  %l4, 0x10, %g1
0xe45b8 <demux_real_fill_buffer+2704>:  clr  [ %l6 ]
0xe45bc <demux_real_fill_buffer+2708>:  st  %i5, [ %l6 + 4 ]
0xe45c0 <demux_real_fill_buffer+2712>:  st  %g1, [ %l6 + 0xc ]
0xe45c4 <demux_real_fill_buffer+2716>:  mov  1, %g2
0xe45c8 <demux_real_fill_buffer+2720>:  st  %g2, [ %l6 + %g1 ]
0xe45cc <demux_real_fill_buffer+2724>:  add  %l6, %g1, %l0
0xe45d0 <demux_real_fill_buffer+2728>:  ld  [ %fp + -24 ], %g3
0xe45d4 <demux_real_fill_buffer+2732>:  clr  [ %l0 + 4 ]
0xe45d8 <demux_real_fill_buffer+2736>:  cmp  %g3, 0
0xe45dc <demux_real_fill_buffer+2740>:  be  0xe4a20 <demux_real_fill_buffer+3832>
0xe45e0 <demux_real_fill_buffer+2744>:  add  %l6, 0x10, %i1
0xe45e4 <demux_real_fill_buffer+2748>:  cmp  %l4, %l2
End of assembler dump.
(gdb) info registers
g0             0x0      0
g1             0xac5    2757
g2             0x1      1
g3             0x0      0
g4             0x105f0b20       274664224
g5             0x0      0
g6             0x1200   4608
g7             0xffffffff       -1
o0             0x59a000 5873664
o1             0x7      7
o2             0x3ebb58 4111192
o3             0x2      2
o4             0xab5    2741
o5             0x0      0
sp             0xefffdeb8       4026523320
o7             0xe4adc  936668
l0             0xaed    2797
l1             0xad5    2773
l2             0x256    598
l3             0x0      0
l4             0xab5    2741
l5             0x598080 5865600
l6             0x59a000 5873664
l7             0x595800 5855232
i0             0x597000 5861376
i1             0x598080 5865600
i2             0x0      0
i3             0x1      1
i4             0x58a140 5808448
i5             0x0      0
fp             0xefffdf40       4026523456
i7             0xb1144  725316
y              0x0      0
psr            0x5001085        83890309        icc:----, pil:0, s:1, ps:0, et:0, cwp:5
wim            0x0      0
tbr            0x0      0
pc             0xe45c8  935368
npc            0xe45cc  935372
fpsr           0xa0821  657441  rd:N, tem:0, ns:0, ver:5, ftt:0, qne:0, fcc:>, aexc:1, cexc:1
cpsr           0x0      0




More information about the MPlayer-advusers mailing list