GDB: выяснить место ошибки

Модератор: Модераторы разделов

Ответить
IMB
Сообщения: 2561
ОС: Debian

GDB: выяснить место ошибки

Сообщение IMB »

Доброго дня!
Есть большая стороняя программа которая при некоторых условиях, точно не выяснены, заканчивает свою работу аварийно. Был получен core-файл при падении программы.

Код: Выделить всё

~ # ./gdb /opt/ipnc/av_server.out /opt/ipnc/core.301
.......................................
Program terminated with signal 11, Segmentation fault.
................................
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
#0  0x401db038 in memcpy () from /lib/libc.so.6
(gdb) thread apply all bt full
Thread 17 (process 301):
#0  0x40035634 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x400344f4 in __pthread_enable_asynccancel () from /lib/libpthread.so.0
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.

Thread 16 (process 304):
#0  0x4022227c in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0x0004ee1c in OSA_tskThrMain ()
No symbol table info available.
#2  0x00119f88 in ?? ()
No symbol table info available.
..............................
Thread 2 (process 319):
#0  0x4022a980 in msgrcv () from /lib/libc.so.6
No symbol table info available.
#1  0x40235ab4 in __libc_enable_asynccancel () from /lib/libc.so.6
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.

Thread 1 (process 314):
#0  0x401db038 in memcpy () from /lib/libc.so.6
No symbol table info available.
#1  0x00000004 in ?? ()
No symbol table info available.
#2  0x00000004 in ?? ()
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)
(gdb)

Подсоединится к работающему процессу не реально, как мне кажется, так как ошибка возникает достаточно быстро, запустить программу под управление GDB так же весьма затруднительно.
Как бы выяснить поточнее место ошибки, так memcpy применяется очень часто?
Спасибо.
Спасибо сказали:
watashiwa_daredeska
Бывший модератор
Сообщения: 4038
Статус: Искусственный интеллект (pre-alpha)
ОС: Debian GNU/Linux

Re: GDB: выяснить место ошибки

Сообщение watashiwa_daredeska »

IMB писал(а):
28.12.2011 12:47
Как бы выяснить поточнее место ошибки
Для начала, собрать с отладочной информацией.
Спасибо сказали:
IMB
Сообщения: 2561
ОС: Debian

Re: GDB: выяснить место ошибки

Сообщение IMB »

Да вроде при сборке указал ключ -g.
В выводе GDB можно увидеть названия функция:

Код: Выделить всё

(gdb) thread apply all bt full

Thread 17 (process 338):
#0  0x40035634 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x400344f4 in __pthread_enable_asynccancel () from /lib/libpthread.so.0
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.

Thread 16 (process 341):
#0  0x4022227c in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0x0004edd0 in OSA_tskThrMain ()
No symbol table info available.
#2  0x00119f18 in ?? ()
No symbol table info available.

Thread 15 (process 342):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4151be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 14 (process 343):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x41d1be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 13 (process 344):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4251be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 12 (process 345):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x42d1be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 11 (process 346):
#0  0x4022227c in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0x0004f59c in OSA_tskThrMain ()
No symbol table info available.
#2  0x0040abb8 in gDRV_h3aObj ()
No symbol table info available.
#3  0x0040abb8 in gDRV_h3aObj ()
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 10 (process 347):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x43d1bdb4 in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 9 (process 348):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.


Thread 17 (process 338):
#0  0x40035634 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x400344f4 in __pthread_enable_asynccancel () from /lib/libpthread.so.0
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.

Thread 16 (process 341):
#0  0x4022227c in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0x0004edd0 in OSA_tskThrMain ()
No symbol table info available.
#2  0x00119f18 in ?? ()
No symbol table info available.

Thread 15 (process 342):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4151be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 14 (process 343):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x41d1be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 13 (process 344):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4251be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 12 (process 345):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x42d1be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 11 (process 346):
#0  0x4022227c in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0x0004f59c in OSA_tskThrMain ()
No symbol table info available.
#2  0x0040abb8 in gDRV_h3aObj ()
No symbol table info available.
#3  0x0040abb8 in gDRV_h3aObj ()
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)
Thread 10 (process 347):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x43d1bdb4 in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 9 (process 348):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4451be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 8 (process 349):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.

Thread 7 (process 350):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4551be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 6 (process 352):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4651be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 5 (process 353):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x46d1be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 4 (process 354):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4751be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 3 (process 355):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x47ef7e0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 2 (process 356):
#0  0x4022a980 in msgrcv () from /lib/libc.so.6
No symbol table info available.
#1  0x40235ab4 in __libc_enable_asynccancel () from /lib/libc.so.6
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.

Thread 1 (process 351):
#0  0x401db038 in memcpy () from /lib/libc.so.6
No symbol table info available.
#1  0x0000000a in ?? ()
No symbol table info available.
#2  0x0000000a in ?? ()
No symbol table info available.
(gdb) thread apply all bt fullcal to this frame (corrupt stack?)

Thread 17 (process 338):
#0  0x40035634 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x400344f4 in __pthread_enable_asynccancel () from /lib/libpthread.so.0
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.

Thread 16 (process 341):
#0  0x4022227c in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0x0004edd0 in OSA_tskThrMain ()
No symbol table info available.
#2  0x00119f18 in ?? ()
No symbol table info available.

Thread 15 (process 342):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4151be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 14 (process 343):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x41d1be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 13 (process 344):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4251be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 12 (process 345):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x42d1be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 11 (process 346):
#0  0x4022227c in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0x0004f59c in OSA_tskThrMain ()
No symbol table info available.
#2  0x0040abb8 in gDRV_h3aObj ()
No symbol table info available.
#3  0x0040abb8 in gDRV_h3aObj ()
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 10 (process 347):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x43d1bdb4 in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 9 (process 348):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4451be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 8 (process 349):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.

Thread 7 (process 350):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4551be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 6 (process 352):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4651be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778
Thread 5 (process 353):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x46d1be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 4 (process 354):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x4751be0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 3 (process 355):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0004be74 in IMAGE_TUNE_CmdExecuteVnfPrm ()
No symbol table info available.
#2  0x47ef7e0c in ?? ()
No symbol table info available.
Cannot access memory at address 0x778

Thread 2 (process 356):
#0  0x4022a980 in msgrcv () from /lib/libc.so.6
No symbol table info available.
#1  0x40235ab4 in __libc_enable_asynccancel () from /lib/libc.so.6
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.

Thread 1 (process 351):
#0  0x401db038 in memcpy () from /lib/libc.so.6
No symbol table info available.
#1  0x0000000a in ?? ()
No symbol table info available.
#2  0x0000000a in ?? ()
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Функции OSA_tskThrMain(), IMAGE_TUNE_CmdExecuteVnfPrm() и gDRV_h3aObj() как раз из программы.
Спасибо сказали:
IMB
Сообщения: 2561
ОС: Debian

Re: GDB: выяснить место ошибки

Сообщение IMB »

Обновлённые данные:

Код: Выделить всё

#0  0x401db038 in memcpy () from /lib/libc.so.6
(gdb) thread apply all bt full

Thread 17 (process 338):
#0  0x40035634 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x400344f4 in __pthread_enable_asynccancel () from /lib/libpthread.so.0
No symbol table info available.
#2  0x338c6dce in ?? ()
No symbol table info available.
#3  0x338c6dce in ?? ()
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 16 (process 341):
#0  0x4022227c in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0x000909e8 in CSL_usrDrvIoctl (fd=6, cmd=52254, prm=0x40d15bf4)
    at csl_usrDrv.c:77
No locals.
#2  0x000901b8 in CSL_ccdcBufGetFull (hndl=0x526560, buf=0x40d15c18,
    minBuf=1, timeout=4294967295) at csl_usrCcdc.c:190
        bufGetFullPrm = {buf = 0x40d15c18, minBuf = 1, timeout = 4294967295}
#3  0x0006eb80 in DRV_isifGetOutBuf (bufId=0x40d1bdb0, timeout=-1)
    at drv_isif.c:230
        status = 0
        buf = {id = 4294967295, addr = 0, state = 3326824,
  timestamp = 3364040, count = 1250254848}
#4  0x00026944 in VIDEO_captureTskRunDdrIn () at videoCaptureThr.c:313
        status = 0
        streamId = 0
        rawBufId = -1
        rszBufId = {2, -1, 1087487428, 0}
        numStreams = -1769294034
        pRawBufInfo = (OSA_BufInfo *) 0x39c02382
        pOutBufInfo = {0x32b978, 0x2, 0x40d1bddc, 0x244fc}
        pBufHeader = (VIDEO_BufHeader *) 0xd2ade
        saveDataInfo = {dataFormat = 0, frameWidth = 0, frameHeight = 0,
  frameOffsetH = 0, frameOffsetV = 0, frameVirtAddr = 0x0,
  rawDataStartPhase = 0, rawDataBitsPerPixel = 0, rawDataFormat = 0,
  awbData = {h3aRegs = {0 <repeats 32 times>}, awbNumWinH = 0,
    awbNumWinV = 0, awbMiscData = {0 <repeats 16 times>}, awbRgbData = {
      0 <repeats 3072 times>}, awbYuvData = {0 <repeats 2581 times>, 58,
      1073876992, 1076401696, 1073876992, 1075951572, 1, 58, 1073876992,
      1075951600, 1073876992, 1075628560, 0, 1076401696, 58, 1073876992,
      1446899, 1075627780, 13, 1446855, 1, 58, 1446875, 1076401696, 24, 0,
      4096, 1075628332, 0, 1446875, 1, 1, 1076404264, 0, 0, 1075465332, 0, 0,
      0, 4294033552, 0, 1087486932, 1087486828, 1076400128, 1087487072,
      1446696, 0, 0, 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4294967295, 224,
      1446744, 0, 1087486828, 11, 0, 0, 1, 10, 0, 0, 51, 1073876992,
      1076401696, 1073876992, 1075951572, 1, 51, 1073876992, 1075951600,
      1073876992, 1075628560, 0, 1076401696, 51, 1073876992, 1445018,
      1075627780, 14, 1444942, 1, 51, 1445017, 1076401696, 1, 0, 4096,
      1075628332, 0, 1445017, 1, 1, 1076404264, 0, 0, 1075465332, 0, 0, 0,
      4294033552, 0, 1087487212, 1087487108, 1076400128, 1087487316, 1444984,
      0, 0, 1983, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4294967295, 52, 1444985, 0,
      1087487108, 2, 0, 0, 1, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 120,
      0 <repeats 21 times>, 1, 1, 0 <repeats 123 times>, 1075227924,
      1073870700, 8, 14, 1073782284, 0, 1087486860, 1075231272, 262774688, 0,
      0, 1, 1231, 1073871432, 1073866920, 1074979650, 1075264360,
      1074979356...}}}
        frameSkip = 1087487452
        count = 0
        reszPrm = {inType = 0,
  inVirtAddr = 0x47573000 <Address 0x47573000 out of bounds>,
  inPhysAddr = 0x81e62000 <Address 0x81e62000 out of bounds>, inStartX = 0,
  inStartY = 1, inWidth = 320, inHeight = 240, inOffsetH = 320,
  inOffsetV = 240, pOut = {0x40d15c50, 0x40d15c6c}, enableInvAlaw = 1,
  enableInvDpcm = 0, clkDivM = 10, clkDivN = 50}
        reszOutPrm = {{outType = 2, flipH = 0, flipV = 0,
    outVirtAddr = 0x4a755080 <Address 0x4a755080 out of bounds>,
    outPhysAddr = 0x83e41080 <Address 0x83e41080 out of bounds>,
    outWidth = 320, outHeight = 256, outOffsetH = 320, outOffsetV = 256}, {
    outType = 2, flipH = 0, flipV = 0,
    outVirtAddr = 0x4a856080 <Address 0x4a856080 out of bounds>,
    outPhysAddr = 0x83f42080 <Address 0x83f42080 out of bounds>,
    outWidth = 640, outHeight = 480, outOffsetH = 640, outOffsetV = 480}}
        __func__ = "VIDEO_captureTskRunDdrIn"
#5  0x00029204 in VIDEO_captureTskMain (pTsk=0x328a00, pMsg=0x545218,
    curState=0) at videoCaptureThr.c:717
        status = -1
        done = 0
        ackMsg = 0
        cmd = 770
        __func__ = "VIDEO_captureTskMain"
#6  0x0008bffc in OSA_tskThrMain (pPrm=0x328a00) at osa_tsk.c:17
        pMsg = (OSA_MsgHndl *) 0x546ba0
        pPrc = (OSA_TskHndl *) 0x328a00
        __func__ = "OSA_tskThrMain"
#7  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#9  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 15 (process 342):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0008a70c in OSA_msgqRecvMsg (hndl=0x329060, msg=0x4151be28,
    timeout=4294967295) at osa_msgq.c:127
        status = -1
#2  0x00089e74 in OSA_mbxWaitMsg (pMbxHndl=0x329060, pMsg=0x4151be28)
    at osa_mbx.c:198
        retVal = 0
        __func__ = "OSA_mbxWaitMsg"
#3  0x0008c558 in OSA_tskWaitMsg (pPrc=0x329060, pMsg=0x4151be28)
    at osa_tsk.c:112
        retVal = 0
#4  0x0008bf04 in OSA_tskThrMain (pPrm=0x329060) at osa_tsk.c:15
        pMsg = (OSA_MsgHndl *) 0x40042000
        pPrc = (OSA_TskHndl *) 0x329060
        __func__ = "OSA_tskThrMain"
#5  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#7  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 14 (process 343):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0008a70c in OSA_msgqRecvMsg (hndl=0x328c20, msg=0x41d1be28,
    timeout=4294967295) at osa_msgq.c:127
        status = -1
#2  0x00089e74 in OSA_mbxWaitMsg (pMbxHndl=0x328c20, pMsg=0x41d1be28)
    at osa_mbx.c:198
        retVal = 0
        __func__ = "OSA_mbxWaitMsg"
#3  0x0008c558 in OSA_tskWaitMsg (pPrc=0x328c20, pMsg=0x41d1be28)
    at osa_tsk.c:112
        retVal = 0
#4  0x0008bf04 in OSA_tskThrMain (pPrm=0x328c20) at osa_tsk.c:15
        pMsg = (OSA_MsgHndl *) 0x40042000
        pPrc = (OSA_TskHndl *) 0x328c20
        __func__ = "OSA_tskThrMain"
#5  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#7  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 13 (process 344):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0008a70c in OSA_msgqRecvMsg (hndl=0x328e40, msg=0x4251be28,
    timeout=4294967295) at osa_msgq.c:127
        status = -1
#2  0x00089e74 in OSA_mbxWaitMsg (pMbxHndl=0x328e40, pMsg=0x4251be28)
    at osa_mbx.c:198
        retVal = 0
        __func__ = "OSA_mbxWaitMsg"
#3  0x0008c558 in OSA_tskWaitMsg (pPrc=0x328e40, pMsg=0x4251be28)
    at osa_tsk.c:112
        retVal = 0
#4  0x0008bf04 in OSA_tskThrMain (pPrm=0x328e40) at osa_tsk.c:15
        pMsg = (OSA_MsgHndl *) 0x40042000
        pPrc = (OSA_TskHndl *) 0x328e40
        __func__ = "OSA_tskThrMain"
#5  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#7  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 12 (process 345):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0008a70c in OSA_msgqRecvMsg (hndl=0x329d20, msg=0x42d1be28,
    timeout=4294967295) at osa_msgq.c:127
        status = -1
#2  0x00089e74 in OSA_mbxWaitMsg (pMbxHndl=0x329d20, pMsg=0x42d1be28)
    at osa_mbx.c:198
        retVal = 0
        __func__ = "OSA_mbxWaitMsg"
#3  0x0008c558 in OSA_tskWaitMsg (pPrc=0x329d20, pMsg=0x42d1be28)
    at osa_tsk.c:112
        retVal = 0
#4  0x0008bf04 in OSA_tskThrMain (pPrm=0x329d20) at osa_tsk.c:15
        pMsg = (OSA_MsgHndl *) 0x40042000
        pPrc = (OSA_TskHndl *) 0x329d20
        __func__ = "OSA_tskThrMain"
#5  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#7  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 11 (process 346):
#0  0x4022227c in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0x000909e8 in CSL_usrDrvIoctl (fd=8, cmd=52244, prm=0x4351bd00)
    at csl_usrDrv.c:77
No locals.
#2  0x000915b4 in CSL_h3aBufGetFull (hndl=0x526550, h3aModId=1 '\001',
    buf=0x4351bd38, minBuf=1, timeout=4294967295) at csl_usrH3a.c:108
        bufGetFullPrm = {h3aModId = 1 '\001', buf = 0x4351bd38, minBuf = 1,
  timeout = 4294967295}
#3  0x00064900 in DRV_h3aGetBuf (h3aMod=1, bufId=0x4351bdc8, timeout=-1)
    at drv_h3a.c:231
        status = 0
        buf = {id = 4294967295, addr = 856317, state = 1129430356,
  timestamp = 568868, count = 1}
#4  0x000248a0 in VIDEO_aewbTskRun () at video2aThr.c:131
        status = 3317568
        aewbBufId = -1
        afBufId = 574868
        pBufInfo_aewb = (OSA_BufInfo *) 0x44ee60
        pBufInfo_af = (OSA_BufInfo *) 0xffffffff
        runPrm = {awbMode = 40768, aeMode = 50, videoMode = 0,
  autoAperture = 4294967295, binMode = 1129430468, sharpness = 40752,
  contrast = 8, brightness = 48632, backLight = 17233, saturation = 40768,
  h3aDataVirtAddr = 0x4758a000 <Address 0x4758a000 out of bounds>,
  vnfDemoCfg = 65535, aewbType = 65535, aewbVendor = 48604,
  aewbPriority = 17233}
        runPrm_af = {h3aDataVirtAddr = 0x0, pH3aInfo = 0x4351bdf8}
        aewbStatus = {exposureTimeInUsec = 1129432708, apertureLevel = 0,
  sensorGain = 2, ipipeGain = 1129432708, gainR = 0, gainGr = 240,
  gainGb = 1129432708, gainB = 567080, colorTemp = 0}
        af_loop = 21
        __func__ = "VIDEO_aewbTskRun"
#5  0x00025068 in VIDEO_aewbTskMain (pTsk=0x329f40, pMsg=0x545218, curState=0)
    at video2aThr.c:300
        status = -1
        done = 0
        ackMsg = 0
        cmd = 770
        __func__ = "VIDEO_aewbTskMain"
#6  0x0008bffc in OSA_tskThrMain (pPrm=0x329f40) at osa_tsk.c:17
        pMsg = (OSA_MsgHndl *) 0x546ba0
        pPrc = (OSA_TskHndl *) 0x329f40
        __func__ = "OSA_tskThrMain"
#7  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#9  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 10 (process 347):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0008a70c in OSA_msgqRecvMsg (hndl=0x3298e0, msg=0x43d1bdc8,
    timeout=4294967295) at osa_msgq.c:127
        status = -1
#2  0x00089e74 in OSA_mbxWaitMsg (pMbxHndl=0x3298e0, pMsg=0x43d1bdc8)
    at osa_mbx.c:198
        retVal = 0
        __func__ = "OSA_mbxWaitMsg"
#3  0x0008c558 in OSA_tskWaitMsg (pPrc=0x3298e0, pMsg=0x43d1bdc8)
    at osa_tsk.c:112
        retVal = 0
#4  0x0002e830 in VIDEO_fdTskMain (pTsk=0x3298e0, pMsg=0x545278, curState=0)
    at videoFaceDetectThr.c:351
        status = 0
        done = 0
        ackMsg = 0
        faceOpenPrm = {buff = 0x32774c, size = 0 '\0',
  AlbumPath = "/mnt/nand/FaceRecogAlbum.bin\000\000\000\024Ѿ�X�b\000("}
        cmd = 771
#5  0x0008bffc in OSA_tskThrMain (pPrm=0x3298e0) at osa_tsk.c:17
        pMsg = (OSA_MsgHndl *) 0x546ba0
        pPrc = (OSA_TskHndl *) 0x3298e0
        __func__ = "OSA_tskThrMain"
#6  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#8  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 9 (process 348):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0008a70c in OSA_msgqRecvMsg (hndl=0x329b00, msg=0x4451bdf8,
    timeout=4294967295) at osa_msgq.c:127
        status = -1
#2  0x00089e74 in OSA_mbxWaitMsg (pMbxHndl=0x329b00, pMsg=0x4451bdf8)
    at osa_mbx.c:198
        retVal = 171988
        __func__ = "OSA_mbxWaitMsg"
#3  0x0008c558 in OSA_tskWaitMsg (pPrc=0x329b00, pMsg=0x4451bdf8)
    at osa_tsk.c:112
        retVal = 0
#4  0x0002a140 in VIDEO_displayTskMain (pTsk=0x329b00, pMsg=0x545278,
    curState=0) at videoDisplayThr.c:199
        status = 0
        done = 0
        ackMsg = 0
        cmd = 771
        __func__ = "VIDEO_displayTskMain"
#5  0x0008bffc in OSA_tskThrMain (pPrm=0x329b00) at osa_tsk.c:17
        pMsg = (OSA_MsgHndl *) 0x546ba0
        pPrc = (OSA_TskHndl *) 0x329b00
        __func__ = "OSA_tskThrMain"
#6  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#8  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 8 (process 349):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0008a70c in OSA_msgqRecvMsg (hndl=0x329280, msg=0x44d1bdf8,
    timeout=4294967295) at osa_msgq.c:127
        status = -1
#2  0x00089e74 in OSA_mbxWaitMsg (pMbxHndl=0x329280, pMsg=0x44d1bdf8)
    at osa_mbx.c:198
        retVal = 0
        __func__ = "OSA_mbxWaitMsg"
#3  0x0008c558 in OSA_tskWaitMsg (pPrc=0x329280, pMsg=0x44d1bdf8)
    at osa_tsk.c:112
        retVal = 0
#4  0x0002c6dc in VIDEO_encodeTskMain (pTsk=0x329280, pMsg=0x545260,
    curState=0) at videoEncodeThr.c:348
        status = 0
        streamId = 1
        done = 0
        ackMsg = 0
        cmd = 771
        __func__ = "VIDEO_encodeTskMain"
#5  0x0008bffc in OSA_tskThrMain (pPrm=0x329280) at osa_tsk.c:17
        pMsg = (OSA_MsgHndl *) 0x546ba0
        pPrc = (OSA_TskHndl *) 0x329280
        __func__ = "OSA_tskThrMain"
#6  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#8  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 7 (process 350):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0008a70c in OSA_msgqRecvMsg (hndl=0x3294a0, msg=0x4551be28,
    timeout=4294967295) at osa_msgq.c:127
        status = -1
#2  0x00089e74 in OSA_mbxWaitMsg (pMbxHndl=0x3294a0, pMsg=0x4551be28)
    at osa_mbx.c:198
        retVal = 0
        __func__ = "OSA_mbxWaitMsg"
#3  0x0008c558 in OSA_tskWaitMsg (pPrc=0x3294a0, pMsg=0x4551be28)
    at osa_tsk.c:112
        retVal = 0
#4  0x0008bf04 in OSA_tskThrMain (pPrm=0x3294a0) at osa_tsk.c:15
        pMsg = (OSA_MsgHndl *) 0x40042000
        pPrc = (OSA_TskHndl *) 0x3294a0
        __func__ = "OSA_tskThrMain"
#5  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#7  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 6 (process 352):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0008a70c in OSA_msgqRecvMsg (hndl=0x32a160, msg=0x4651bdf8,
    timeout=4294967295) at osa_msgq.c:127
        status = -1
#2  0x00089e74 in OSA_mbxWaitMsg (pMbxHndl=0x32a160, pMsg=0x4651bdf8)
    at osa_mbx.c:198
        retVal = 0
        __func__ = "OSA_mbxWaitMsg"
#3  0x0008c558 in OSA_tskWaitMsg (pPrc=0x32a160, pMsg=0x4651bdf8)
    at osa_tsk.c:112
        retVal = 0
#4  0x000301cc in VIDEO_motionTskMain (pTsk=0x32a160, pMsg=0x546ba0,
    curState=0) at videoMotionThr.c:185
        status = 0
        streamId = 3318112
        done = 0
        ackMsg = 0
        cmd = 768
        __func__ = "VIDEO_motionTskMain"
#5  0x0008bffc in OSA_tskThrMain (pPrm=0x32a160) at osa_tsk.c:17
        pMsg = (OSA_MsgHndl *) 0x546ba0
        pPrc = (OSA_TskHndl *) 0x32a160
        __func__ = "OSA_tskThrMain"
#6  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#8  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 5 (process 353):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0008a70c in OSA_msgqRecvMsg (hndl=0x3287c8, msg=0x46d1be28,
    timeout=4294967295) at osa_msgq.c:127
        status = -1
#2  0x00089e74 in OSA_mbxWaitMsg (pMbxHndl=0x3287c8, pMsg=0x46d1be28)
    at osa_mbx.c:198
        retVal = 0
        __func__ = "OSA_mbxWaitMsg"
#3  0x0008c558 in OSA_tskWaitMsg (pPrc=0x3287c8, pMsg=0x46d1be28)
    at osa_tsk.c:112
        retVal = 0
#4  0x0008bf04 in OSA_tskThrMain (pPrm=0x3287c8) at osa_tsk.c:15
        pMsg = (OSA_MsgHndl *) 0x40042000
        pPrc = (OSA_TskHndl *) 0x3287c8
        __func__ = "OSA_tskThrMain"
#5  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#7  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 4 (process 354):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0008a70c in OSA_msgqRecvMsg (hndl=0x327bb8, msg=0x4751be28,
    timeout=4294967295) at osa_msgq.c:127
        status = -1
#2  0x00089e74 in OSA_mbxWaitMsg (pMbxHndl=0x327bb8, pMsg=0x4751be28)
    at osa_mbx.c:198
        retVal = 128404
        __func__ = "OSA_mbxWaitMsg"
#3  0x0008c558 in OSA_tskWaitMsg (pPrc=0x327bb8, pMsg=0x4751be28)
    at osa_tsk.c:112
        retVal = 67108864
#4  0x0008bf04 in OSA_tskThrMain (pPrm=0x327bb8) at osa_tsk.c:15
        pMsg = (OSA_MsgHndl *) 0x53cd88
        pPrc = (OSA_TskHndl *) 0x327bb8
        __func__ = "OSA_tskThrMain"
#5  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#7  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 3 (process 355):
#0  0x400314bc in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0008a70c in OSA_msgqRecvMsg (hndl=0x32a380, msg=0x47ef7df8,
    timeout=4294967295) at osa_msgq.c:127
        status = -1
#2  0x00089e74 in OSA_mbxWaitMsg (pMbxHndl=0x32a380, pMsg=0x47ef7df8)
    at osa_mbx.c:198
        retVal = 0
        __func__ = "OSA_mbxWaitMsg"
#3  0x0008c558 in OSA_tskWaitMsg (pPrc=0x32a380, pMsg=0x47ef7df8)
    at osa_tsk.c:112
        retVal = 0
#4  0x0003fec0 in VIDEO_swosdTskMain (pTsk=0x32a380, pMsg=0x545260,
    curState=0) at videoSwosdThr.c:2121
        status = 0
        msg = (videoSWOSDMessage *) 0x40d15c28
        done = 0
        ackMsg = 0
        cmd = 771
        __func__ = "VIDEO_swosdTskMain"
#5  0x0008bffc in OSA_tskThrMain (pPrm=0x32a380) at osa_tsk.c:17
        pMsg = (OSA_MsgHndl *) 0x546ba0
        pPrc = (OSA_TskHndl *) 0x32a380
        __func__ = "OSA_tskThrMain"
#6  0x4002a8f8 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
#8  0x402298c8 in clone () from /lib/libc.so.6
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)

Thread 2 (process 356):
#0  0x4022a980 in msgrcv () from /lib/libc.so.6
No symbol table info available.
#1  0x40235ab4 in __libc_enable_asynccancel () from /lib/libc.so.6
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.

Thread 1 (process 351):
#0  0x401db038 in memcpy () from /lib/libc.so.6
No symbol table info available.
#1  0x000000f0 in ?? ()
No symbol table info available.
#2  0x000000f0 in ?? ()
No symbol table info available.
warning: Previous frame identical to this frame (corrupt stack?)
Спасибо сказали:
Ответить