[Mplayer-advusers] A different seg fault, this time in video_read_properties (video.c:41)

Greg Stark gsstark at mit.edu
Fri May 16 21:38:10 CEST 2003


Having disabled dvdnav the previous problem appears to have gone away. 

However here's another seg fault in a different place entirely:

...
ASF file format detected.
============ ASF Stream group == START ===
 object size = 38
 stream count=[0x2][2]
   stream id=[0x1][1]
   max bitrate=[0x89fa][35322]
   stream id=[0x2][2]
   max bitrate=[0x47cd4][294100]
============ ASF Stream group == END ===
ASF: No video stream found.
ASF: No audio stream found -> no sound.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 24270)]
video_read_properties (sh_video=0x855a600) at video.c:41
41	switch(d_video->demuxer->file_format){
(gdb) bt
#0  video_read_properties (sh_video=0x855a600) at video.c:41
#1  0x0809702e in main (argc=2, argv=0xbffffc94) at mplayer.c:1461
(gdb) info locals
d_video = (struct {...} *) 0x0
(gdb) p d_video
$1 = (struct {...} *) 0x0
(gdb) p sh_video
$2 = (struct {...} *) 0x855a600
(gdb) p *sh_video
$3 = {ds = 0x0, codec = 0x0, format = 0, inited = 0, timer = 0, 
  num_frames = 0, num_frames_decoded = 0, pts = 0, i_pts = 0, fps = 0, 
  frametime = 0, aspect = 0, i_bps = 0, disp_w = 0, disp_h = 0, outfmtidx = 0, 
  video_out = 0x0, vfilter = 0x0, vf_inited = 0, video = {fccType = 0, 
    fccHandler = 0, dwFlags = 0, wPriority = 0, wLanguage = 0, 
    dwInitialFrames = 0, dwScale = 0, dwRate = 0, dwStart = 0, dwLength = 0, 
    dwSuggestedBufferSize = 0, dwQuality = 0, dwSampleSize = 0, rcFrame = {
      left = 0, top = 0, right = 0, bottom = 0}}, bih = 0x84f3c58, 
  ImageDesc = 0x0, context = 0x0}
(gdb) up
#1  0x0809702e in main (argc=2, argv=0xbffffc94) at mplayer.c:1461
1461	  if(!video_read_properties(sh_video)) {
(gdb) p sh_video
$4 = (sh_video_t *) 0x855a600
(gdb) info locals
d_audio = (struct {...} *) 0x84f8a60
d_video = (struct {...} *) 0x84f3e80
d_dvdsub = (struct {...} *) 0x84f3ee8
file_format = 0
delay_corrected = 1
eof = 0
osd_function = 1
osd_last_pts = -303
osd_show_av_delay = 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
rtc_fd = 7
i = 139430496
tmp = 0x84f8a60 ""
gui_no_filename = 0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.mak
Type: application/octet-stream
Size: 3539 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-advusers/attachments/20030516/7e4c5333/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h
Type: text/x-chdr
Size: 12251 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-advusers/attachments/20030516/7e4c5333/attachment.h>
-------------- next part --------------

-- 
greg


More information about the MPlayer-advusers mailing list