
f type 16 saved to: /var/www/html/cam1/07-20050220-215221m.avi
File of type 1 saved to: /var/www/html/cam1/07-20050220-215221-00.jpg
Segmentation fault (core dumped)
Sun Feb 20 21:53:36 CST 2005
--------

Loaded symbols for /usr/lib/libk5crypto.so.3
#0  0x005f10cc in memcpy () from /lib/tls/libc.so.6
(gdb) bt full
#0  0x005f10cc in memcpy () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x03627db6 in MPV_encode_picture (avctx=0x8fe50a8, buf=0x8e17918 "",
    buf_size=200000, data=0x8e48660) at mpegvideo.c:1964
        src_stride = 272451465
        h_shift = 160
        v_shift = -1823841451
        w = 640
        dst = (uint8_t *) 0xb5d08a40 ""
        dst_stride = 672
        h = -1823841451
        src = (uint8_t *) 0xb5d08a40 ""
        h_chroma_shift = 1
        v_chroma_shift = 1
        s = (MpegEncContext *) 0x8d4a780
        i = -1244624320
        stuffing_count = -1823841451
#2  0x0361714f in avcodec_encode_video (avctx=0x8fe50a8,
    buf=0x934a6355 <Address 0x934a6355 out of bounds>, buf_size=-1823841451,
    pict=0x8e48660) at utils.c:491
        ret = -1823841451
#3  0x08060d10 in ffmpeg_put_frame (ffmpeg=0x8bf78f0, pic=0x8e48660)
    at ffmpeg.c:491
        out_size = 134614146
        ret = 81842472
        pkt = {pts = -9223372036854775808, dts = -9223372036854775808,
  data = 0x6acff4 "<�", size = 7006208, stream_index = 0, flags = 0,
  duration = 0, destruct = 0x804a650 <av_destruct_packet_nofree>,
  priv = 0x8e507e0}
#4  0x08060c34 in ffmpeg_put_image (ffmpeg=0x8bf78f0) at ffmpeg.c:448
No locals.
#5  0x080567aa in event_ffmpeg_put (type=256, cnt=0x8b68be0,
    img=0xb62b1808 "\020\020\021\0326.<68542789412454321248;:45144898767561.)-/411569687;;<565=?AA;7289=<=>@>:83:6<<@;98;;94032==D?<86889;=<9348>=;98=<;;<>A;?::84<<?>?BCAA@BB<7.224-./67:8<?AA<8489<;;91/-5687>>@@AB<;<?CB?B;@815/72279"...,
    dummy2=0x0, tm=0x4e0f400) at event.c:473
No locals.
#6  0x08056990 in event (type=256, cnt=0x8b68be0,
    filename=0xb62b1808 "\020\020\021\0326.<68542789412454321248;:45144898767561.)-/411569687;;<565=?AA;7289=<=>@>:83:6<<@;98;;94032==D?<86889;=<9348>=;98=<;;<>A;?::84<<?>?BCAA@BB<7.224-./67:8<?AA<8489<;;91/-5687>>@@AB<;<?CB?B;@815/72279"..., eventdata=0x0, tm=0x4e0f400) at event.c:602
        i = 10
#7  0x0804b67d in motion_detected (cnt=0x8b68be0, diffs=11427, dev=6,
    devpipe=-1, devmpipe=-1,
    newimg=0xb62b1808 "\020\020\021\0326.<68542789412454321248;:45144898767561.)-/411569687;;<565=?AA;7289=<=>@>:83:6<<@;98;;94032==D?<86889;=<9348>=;98=<;;<>A;?::84<<?>?BCAA@BB<7.224-./67:8<?AA<8489<;;91/-5687>>@@AB<;<?CB?B;@815/72279"...) at motion.c:300
---Type <return> to continue, or q <return> to quit---
        conf = (struct config *) 0x8b693e8
        imgs = (struct images *) 0x8b69558
        location = {x = 640, y = 81842796, width = 11, height = 0}
#8  0x0804cc42 in motion_loop (arg=0x8b68be0) at motion.c:776
        newimg = (
    unsigned char *) 0xb62b1808 "\020\020\021\0326.<68542789412454321248;:45144898767561.)-/411569687;;<565=?AA;7289=<=>@>:83:6<<@;98;;94032==D?<86889;=<9348>=;98=<;;<>A;?::84<<?>?BCAA@BB<7.224-./67:8<?AA<8489<;;91/-5687>>@@AB<;<?CB?B;@815/72279"...
        cnt = (struct context *) 0x8b68be0
        i = -1
        j = 50
        diffs = 11427
        detecting_motion = 4
        curtime = {tm_sec = 35, tm_min = 53, tm_hour = 21, tm_mday = 20,
  tm_mon = 1, tm_year = 105, tm_wday = 0, tm_yday = 50, tm_isdst = 0,
  tm_gmtoff = -21600, tm_zone = 0x8b685b8 "CST"}
        lastframe = 1108958015
        picture = (FILE *) 0x0
        postcap = 10
        frame_buffer_size = 5
        smartmask_ratio = 150
        smartmask_count = 106
        smartmask_lastrate = 5
        passflag = 1
        rolling_average_data = (long int *) 0x8b67840
        rolling_average_limit = 50
        required_frame_time = 200000
        frame_delay = 106557
        rolling_frame = 23
        tv1 = {tv_sec = 1108958015, tv_usec = 968606}
        tv2 = {tv_sec = 1108958015, tv_usec = 859599}
        rolling_average = 201468
        elapsedtime = 91975
        splittime = 1754999695
        timenow = 1755108702
        timebefore = 1754907720
        time_last_frame = 1108958015
        time_current_frame = 1108958015
#9  0x007be3ae in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#10 0x0064db6e in clone () from /lib/tls/libc.so.6
No symbol table info available.
(gdb)


