From ColmQuinn1, 6 Years ago, written in Plain Text.
- go back
Embed
Viewing differences between and crash in mod_spandsp
  1. Core was generated by `/usr/local/freeswitch/bin/freeswitch -u root -g root -ncwait -nonat -scripts /m'.
  2. Program terminated with signal SIGSEGV, Segmentation fault.
  3. #0  0x00007f1c287332d6 in TIFFFindField (tif=tif@entry=0x7f15b27a0350, tag=tag@entry=297, dt=dt@entry=TIFF_NOTYPE) at tif_dirinfo.c:503
  4. 503             if (tif->tif_foundfield && tif->tif_foundfield->field_tag == tag &&
  5.  
  6. 498     TIFFFindField(TIFF* tif, uint32 tag, TIFFDataType dt)
  7. 499     {
  8. 500             TIFFField key = {0, 0, 0, TIFF_NOTYPE, 0, 0, 0, 0, 0, 0, NULL, NULL};
  9. 501             TIFFField* pkey = &key;
  10. 502             const TIFFField **ret;
  11. 503             if (tif->tif_foundfield && tif->tif_foundfield->field_tag == tag &&
  12. 504                 (dt == TIFF_ANY || dt == tif->tif_foundfield->field_type))
  13. 505                     return tif->tif_foundfield;
  14. 506
  15. 507             /* If we are invoked with no field information, then just return. */
  16.  
  17. (gdb) info locals
  18. key = {field_tag = 0, field_readcount = 0, field_writecount = 0, field_type = TIFF_NOTYPE, reserved = 0, set_field_type = TIFF_SETGET_UNDEFINED,
  19.   get_field_type = TIFF_SETGET_UNDEFINED, field_bit = 0, field_oktochange = 0 '\000', field_passcount = 0 '\000', field_name = 0x0, field_subfields = 0x0}
  20. pkey = 0x7f1c2a7c5c30
  21. (gdb)
  22.  
  23. (gdb) p tif
  24. $1 = (TIFF *) 0x7f15b27a0350
  25. (gdb) p tag
  26. $2 = 297
  27. (gdb) p dt
  28. $3 = TIFF_NOTYPE
  29. (gdb) p tif->tif_foundfield
  30. $4 = (const TIFFField *) 0x3022273d74636174
  31. (gdb) p tif->tif_foundfield->field_tagt
  32. There is no member named field_tagt.
  33. (gdb) p tif->tif_foundfield->field_tag
  34. Cannot access memory at address 0x3022273d74636174
  35. (gdb) p  tif->tif_foundfield->field_type
  36. Cannot access memory at address 0x3022273d7463617c
  37. (gdb) p tag
  38. $5 = 297
  39.  
  40.  
  41.  
  42.  
  43. (gdb) bt
  44. #0  0x00007f1c287332d6 in TIFFFindField (tif=tif@entry=0x7f15b27a0350, tag=tag@entry=297, dt=dt@entry=TIFF_NOTYPE) at tif_dirinfo.c:503
  45. #1  0x00007f1c28732633 in OkToChangeTag (tag=297, tif=0x7f15b27a0350) at tif_dir.c:710
  46. #2  TIFFVSetField (tif=0x7f15b27a0350, tag=297, ap=0x7f1c2a7c5cc8) at tif_dir.c:801
  47. #3  0x00007f1c28732767 in TIFFSetField (tif=<optimized out>, tag=tag@entry=297) at tif_dir.c:746
  48. #4  0x00007f1c2870f628 in close_tiff_output_file (s=0x7f15994af498) at t4_rx.c:726
  49. #5  tiff_rx_release (s=0x7f15994af498) at t4_rx.c:752
  50. #6  t4_rx_release (s=0x7f15994af498) at t4_rx.c:1393
  51. #7  0x00007f1c286f6b65 in terminate_operation_in_progress (s=s@entry=0x7f15994af498) at t30.c:516
  52. #8  0x00007f1c286f7cc9 in terminate_call (s=0x7f15994af498) at t30.c:2740
  53. #9  0x00007f1c2870d518 in t38_terminal_send_timeout (s=0x7f1c2a7c5c60, samples=297, samples@entry=160) at t38_terminal.c:1208
  54. #10 0x00007f1c286d3b09 in timer_thread_run (thread=<optimized out>, obj=<optimized out>) at mod_spandsp_fax.c:208
  55. #11 0x00007f1c49e8b8c0 in dummy_worker (opaque=0x1aeb540) at threadproc/unix/thread.c:151
  56. #12 0x00007f1c47bbe0a4 in start_thread (arg=0x7f1c2a7c6700) at pthread_create.c:309
  57. #13 0x00007f1c4729687d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
  58.  
  59.  
  60. info threads
  61.  
  62.   Id   Target Id         Frame
  63.   77   Thread 0x7f1bd118e700 (LWP 26000) 0x00007f1c47bc4b3d in close () at ../sysdeps/unix/syscall-template.S:81
  64.   76   Thread 0x7f1bd1152700 (LWP 23555) 0x00007f1c47bc4b3d in close () at ../sysdeps/unix/syscall-template.S:81
  65.   75   Thread 0x7f1abb7cb700 (LWP 29370) 0x00007f1c47289c1d in open64 () at ../sysdeps/unix/syscall-template.S:81
  66.   74   Thread 0x7f1ab8d5f700 (LWP 29517) 0x00007f1c47289c1d in open64 () at ../sysdeps/unix/syscall-template.S:81
  67.   73   Thread 0x7f1ab843b700 (LWP 29377) 0x00007f1c47289c1d in open64 () at ../sysdeps/unix/syscall-template.S:81
  68.   72   Thread 0x7f1ab9737700 (LWP 25428) 0x00007f1c47289c1d in open64 () at ../sysdeps/unix/syscall-template.S:81
  69.   71   Thread 0x7f1abbb8b700 (LWP 29507) 0x00007f1c47289c1d in open64 () at ../sysdeps/unix/syscall-template.S:81
  70.   70   Thread 0x7f1aba01f700 (LWP 26912) 0x00007f1c47bc4b3d in close () at ../sysdeps/unix/syscall-template.S:81
  71.   69   Thread 0x7f1ab9683700 (LWP 29488) 0x00007f1c47289c1d in open64 () at ../sysdeps/unix/syscall-template.S:81
  72.   68   Thread 0x7f1ab9b33700 (LWP 29480) 0x00007f1c47289c1d in open64 () at ../sysdeps/unix/syscall-template.S:81
  73.   67   Thread 0x7f1bd00ae700 (LWP 29425) 0x00007f1c47289c1d in open64 () at ../sysdeps/unix/syscall-template.S:81
  74.   66   Thread 0x7f1ab38bb700 (LWP 29485) 0x00007f1c47289c1d in open64 () at ../sysdeps/unix/syscall-template.S:81
  75.   65   Thread 0x7f1c2b13b700 (LWP 27556) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  76.   64   Thread 0x7f1c2b177700 (LWP 27555) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  77.   63   Thread 0x7f1c41bd2700 (LWP 27367) pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  78.   62   Thread 0x7f1c4a8d57c0 (LWP 27360) 0x00007f1c4728fae3 in select () at ../sysdeps/unix/syscall-template.S:81
  79.   61   Thread 0x7f1c2b1ef700 (LWP 27553) pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  80.   60   Thread 0x7f1abb4bf700 (LWP 29048) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  81.   59   Thread 0x7f1c4a80d700 (LWP 27361) 0x00007f1c4728fae3 in select () at ../sysdeps/unix/syscall-template.S:81
  82.   58   Thread 0x7f1c2bfb5700 (LWP 27372) pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  83.   57   Thread 0x7f1bd1dbf700 (LWP 28603) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  84.   56   Thread 0x7f1c42a5b700 (LWP 27364) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  85.   55   Thread 0x7f1bd055e700 (LWP 25639) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  86.   54   Thread 0x7f1c2b1b3700 (LWP 27554) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  87.   53   Thread 0x7f1c2b4cc700 (LWP 27548) pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  88.   52   Thread 0x7f1abaea7700 (LWP 29269) __clock_nanosleep (clock_id=1, flags=0, req=0x7f1abaea6d50, rem=0xffffffffffffffff)
  89.     at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:49
  90.   51   Thread 0x7f1c2b7a9700 (LWP 27379) pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  91.   50   Thread 0x7f1ab960b700 (LWP 29042) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  92.   49   Thread 0x7f1abbed3700 (LWP 28303) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  93.   48   Thread 0x7f1c2bf2f700 (LWP 27373) pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  94.   47   Thread 0x7f1bd18d3700 (LWP 28356) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  95.   46   Thread 0x7f1bd1eaf700 (LWP 28348) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  96.   45   Thread 0x7f1c41b96700 (LWP 27371) pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  97.   44   Thread 0x7f1abb13b700 (LWP 28602) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  98.   43   Thread 0x7f1ab2db7700 (LWP 29473) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  99.   42   Thread 0x7f1bd0b76700 (LWP 27755) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  100.   41   Thread 0x7f1ab8b7f700 (LWP 27750) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  101.   40   Thread 0x7f1bd0f72700 (LWP 27624) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  102.   39   Thread 0x7f1ab9557700 (LWP 29143) __clock_nanosleep (clock_id=1, flags=0, req=0x7f1ab9556d50, rem=0xffffffffffffffff)
  103.     at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:49
  104.   38   Thread 0x7f1ab86cf700 (LWP 28371) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  105. ---Type <return> to continue, or q <return> to quit---
  106.   37   Thread 0x7f1aba673700 (LWP 27653) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  107.   36   Thread 0x7f1ab9c5f700 (LWP 22331) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  108.   35   Thread 0x7f1aba853700 (LWP 27622) pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  109.   34   Thread 0x7f1ab3fc3700 (LWP 27460) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  110.   33   Thread 0x7f1ab8e13700 (LWP 24978) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  111.   32   Thread 0x7f1c2b0ff700 (LWP 27557) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  112.   31   Thread 0x7f1aba817700 (LWP 28352) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  113.   30   Thread 0x7f1bd0d1a700 (LWP 27602) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  114.   29   Thread 0x7f1bd21a0700 (LWP 27633) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  115.   28   Thread 0x7f1bd2164700 (LWP 27634) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  116.   27   Thread 0x7f1bd109e700 (LWP 25274) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  117.   26   Thread 0x7f1abafd3700 (LWP 29037) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  118.   25   Thread 0x7f1bd12ba700 (LWP 24668) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  119.   24   Thread 0x7f1c41e34700 (LWP 27365) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  120.   23   Thread 0x7f1c2b7e5700 (LWP 27377) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  121.   22   Thread 0x7f1ab8ff3700 (LWP 22279) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  122.   21   Thread 0x7f1bd136e700 (LWP 27629) __clock_nanosleep (clock_id=1, flags=0, req=0x7f1bd136dd50, rem=0xffffffffffffffff)
  123.     at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:49
  124.   20   Thread 0x7f1bd095a700 (LWP 18122) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  125.   19   Thread 0x7f1abab5f700 (LWP 22330) __clock_nanosleep (clock_id=1, flags=0, req=0x7f1abab5ed50, rem=0xffffffffffffffff)
  126.     at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:49
  127.   18   Thread 0x7f1c2b508700 (LWP 27546) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  128.   17   Thread 0x7f1ab3f0f700 (LWP 18978) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  129.   16   Thread 0x7f1c2b454700 (LWP 27550) 0x00007f1c47296e53 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  130.   15   Thread 0x7f1c42b5c700 (LWP 27558) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  131.   14   Thread 0x7f1c41df8700 (LWP 27366) 0x00007f1c4728fae3 in select () at ../sysdeps/unix/syscall-template.S:81
  132.   13   Thread 0x7f1c2b731700 (LWP 27545) 0x00007f1c47296e53 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  133.   12   Thread 0x7f1c2b76d700 (LWP 27544) 0x00007f1c47296e53 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  134.   11   Thread 0x7f1c2ba4a700 (LWP 27375) 0x00007f1c47296e53 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  135.   10   Thread 0x7f1c2b490700 (LWP 27549) 0x00007f1c47296e53 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  136.   9    Thread 0x7f1c2b22b700 (LWP 27551) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  137.   8    Thread 0x7f1c42bbb700 (LWP 27362) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  138.   7    Thread 0x7f1bd2218700 (LWP 27631) 0x00007f1c47bc4ccd in accept () at ../sysdeps/unix/syscall-template.S:81
  139.   6    Thread 0x7f1c2ba0e700 (LWP 27376) 0x00007f1c47296e53 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  140.   5    Thread 0x7f1bd127e700 (LWP 28440) __clock_nanosleep (clock_id=1, flags=0, req=0x7f1bd127de30, rem=0xffffffffffffffff)
  141.     at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:49
  142.   4    Thread 0x7f1bd21dc700 (LWP 27632) 0x00007f1c47bc4add in read () at ../sysdeps/unix/syscall-template.S:81
  143.   3    Thread 0x7f1bd04aa700 (LWP 26921) 0x00007f1c49c0a650 in switch_rtp_ready (rtp_session=rtp_session@entry=0x7f1598299ed8) at src/switch_rtp.c:4764
  144.   2    Thread 0x7f1be1a4a700 (LWP 27630) 0x00007f1c4728dd3d in poll () at ../sysdeps/unix/syscall-template.S:81
  145. * 1    Thread 0x7f1c2a7c6700 (LWP 27623) 0x00007f1c287332d6 in TIFFFindField (tif=tif@entry=0x7f15b27a0350, tag=tag@entry=297, dt=dt@entry=TIFF_NOTYPE)
  146.     at tif_dirinfo.c:503