Hi,

again some test failed because of segmentation fault and I'm wondering how
to collect the information about it for the report.

In this case, it was crash of v.in.ogr called by script db.in.ogr, so I
have absolutely no idea which process to hunt for except that it is a
(grand) child of the test. It is not visible from the report:

http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-10-20-07-00/report_for_nc_spm_08_grass7_nc/vector/v.what/test_vwhat_layers/index.html

I have the Ubuntu crash report dialog(s) but I would like to associate the
information with the tests, so I need something which will recognize that
there was a segmenation fault in one of the children and then it will
collect the information.

I made a little progress on that except that I found that there are files
in /var/crash which are somehow managed by some apport-* commands. Now I
was able to get file

/var/crash/_opt_src_grass-trunk-tests_dist.x86_64-unknown-linux-gnu_bin_v.in.ogr.1000.crash

which is attached and contains following useful information:

  v.in.ogr crashed with SIGSEGV in main()

  v.in.ogr --q -o dsn=./data/table1.csv output=t1

  v.what/test_vwhat_layers

  SegvAnalysis
  ...
  source ... (0x000...00) not located in known VMA region (needed readable
region)!
  ...

  SegvReason
  reading NULL VMA

  Stacktrace
  __strcmp_ssse3 in .../strcmp.S
  in main()

If somebody has some ideas how to proceed or to which commands to look,
please let me know.

Vaclav
ProblemType: Crash
Architecture: amd64
CrashCounter: 1
Date: Mon Oct 20 03:09:35 2014
DistroRelease: Ubuntu 14.04
ExecutablePath: /opt/src/grass-trunk-tests/dist.x86_64-unknown-linux-gnu/bin/v.in.ogr
ExecutableTimestamp: 1413788462
ProcCmdline: v.in.ogr --q -o dsn=./data/table1.csv output=t1
ProcCwd: .../reports_for_date-2014-10-20-07-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/vector/v.what/test_vwhat_layers
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/sh
 PATH=(custom, no user)
 LD_LIBRARY_PATH=<set>
ProcMaps:
 00400000-0040d000 r-xp 00000000 08:01 11154536                           /opt/src/grass-trunk-tests/dist.x86_64-unknown-linux-gnu/bin/v.in.ogr
 0060d000-0060e000 r--p 0000d000 08:01 11154536                           /opt/src/grass-trunk-tests/dist.x86_64-unknown-linux-gnu/bin/v.in.ogr
 0060e000-0060f000 rw-p 0000e000 08:01 11154536                           /opt/src/grass-trunk-tests/dist.x86_64-unknown-linux-gnu/bin/v.in.ogr
 017de000-017ff000 rw-p 00000000 00:00 0                                  [heap]
 7f4122490000-7f4122b72000 r--p 00000000 08:01 4987755                    /usr/lib/locale/locale-archive
 7f4122b72000-7f4122b7b000 r-xp 00000000 08:01 7081630                    /lib/x86_64-linux-gnu/libcrypt-2.19.so
 ...
 7f412f977000-7f412f978000 rw-p 00009000 08:01 11152354                   /opt/src/grass-trunk-tests/dist.x86_64-unknown-linux-gnu/lib/libgrass_datetime.7.1.svn.so
 7f412f978000-7f412f9a3000 r-xp 00000000 08:01 4986076                    /usr/lib/libpq.so.5.6
 ...
 7f4130a53000-7f4130a54000 rw-p 00020000 08:01 11152586                   /opt/src/grass-trunk-tests/dist.x86_64-unknown-linux-gnu/lib/libgrass_dgl.7.1.svn.so
 ...
 7f4132bd3000-7f4132bd4000 rw-p 00009000 08:01 11152507                   /opt/src/grass-trunk-tests/dist.x86_64-unknown-linux-gnu/lib/libgrass_gproj.7.1.svn.so
 7f4132bd4000-7f4132bf7000 r-xp 00000000 08:01 7081626                    /lib/x86_64-linux-gnu/ld-2.19.so
 7f4132da7000-7f4132dd2000 rw-p 00000000 00:00 0 
 7f4132df2000-7f4132df6000 rw-p 00000000 00:00 0 
 7f4132df6000-7f4132df7000 r--p 00022000 08:01 7081626                    /lib/x86_64-linux-gnu/ld-2.19.so
 7f4132df7000-7f4132df8000 rw-p 00023000 08:01 7081626                    /lib/x86_64-linux-gnu/ld-2.19.so
 7f4132df8000-7f4132df9000 rw-p 00000000 00:00 0 
 7fff04492000-7fff044b3000 rw-p 00000000 00:00 0                          [stack]
 7fff04524000-7fff04526000 r-xp 00000000 00:00 0                          [vdso]
 ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
ProcStatus:
 Name:	v.in.ogr
 State:	S (sleeping)
 Tgid:	14282
 Ngid:	0
 Pid:	14282
 PPid:	14276
 TracerPid:	0
 Uid:	1000	1000	1000	1000
 Gid:	1000	1000	1000	1000
 FDSize:	64
 Groups:	4 24 27 30 46 108 124 1000 1001 
 VmPeak:	  270264 kB
 VmSize:	  270260 kB
 VmLck:	       0 kB
 VmPin:	       0 kB
 VmHWM:	   13536 kB
 VmRSS:	   13536 kB
 VmData:	    1416 kB
 VmStk:	     136 kB
 VmExe:	      52 kB
 VmLib:	   59476 kB
 VmPTE:	     472 kB
 VmSwap:	       0 kB
 Threads:	1
 SigQ:	1/256798
 SigPnd:	0000000000000000
 ShdPnd:	0000000000000000
 SigBlk:	0000000000000000
 SigIgn:	0000000001001000
 SigCgt:	0000000180000000
 CapInh:	0000000000000000
 CapPrm:	0000000000000000
 CapEff:	0000000000000000
 CapBnd:	0000001fffffffff
 Seccomp:	0
 Cpus_allowed:	fff
 Cpus_allowed_list:	0-11
 Mems_allowed:	00000000,00000001
 Mems_allowed_list:	0
 voluntary_ctxt_switches:	2
 nonvoluntary_ctxt_switches:	3
Signal: 11
Uname: Linux 3.13.0-37-generic x86_64
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
CoreDump: base64
 H4s...
ApportVersion: 2.14.1-0ubuntu3.5
Disassembly:
 => 0x7fcc94ffd654 <__strcmp_ssse3+2324>:	movdqa (%rdi),%xmm2
    0x7fcc94ffd658 <__strcmp_ssse3+2328>:	movdqa (%rsi),%xmm1
    0x7fcc94ffd65c <__strcmp_ssse3+2332>:	pcmpeqb %xmm1,%xmm0
    0x7fcc94ffd660 <__strcmp_ssse3+2336>:	pslldq $0x8,%xmm2
    0x7fcc94ffd665 <__strcmp_ssse3+2341>:	pcmpeqb %xmm1,%xmm2
    0x7fcc94ffd669 <__strcmp_ssse3+2345>:	psubb  %xmm0,%xmm2
    0x7fcc94ffd66d <__strcmp_ssse3+2349>:	pmovmskb %xmm2,%r9d
    0x7fcc94ffd672 <__strcmp_ssse3+2354>:	shr    %cl,%edx
    0x7fcc94ffd674 <__strcmp_ssse3+2356>:	shr    %cl,%r9d
    0x7fcc94ffd677 <__strcmp_ssse3+2359>:	sub    %r9d,%edx
    0x7fcc94ffd67a <__strcmp_ssse3+2362>:	jne    0x7fcc94ffdf55 <__strcmp_ssse3+4629>
    0x7fcc94ffd680 <__strcmp_ssse3+2368>:	movdqa (%rdi),%xmm3
    0x7fcc94ffd684 <__strcmp_ssse3+2372>:	pxor   %xmm0,%xmm0
    0x7fcc94ffd688 <__strcmp_ssse3+2376>:	mov    $0x10,%rcx
    0x7fcc94ffd68f <__strcmp_ssse3+2383>:	mov    $0x8,%r9d
    0x7fcc94ffd695 <__strcmp_ssse3+2389>:	lea    0x8(%rdi),%r10
InstallationDate: Installed on 2014-06-05 (137 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
Registers:
 rax            0x0	0
 rbx            0xd32510	13837584
 rcx            0x8	8
 rdx            0xffff	65535
 rsi            0x40bbb0	4242352
 rdi            0x0	0
 rbp            0x7fff3102bfa0	0x7fff3102bfa0
 rsp            0x7fff310282b8	0x7fff310282b8
 r8             0x0	0
 r9             0xfffffffffffc84b0	-228176
 r10            0x7fcc94ffd650	140516649850448
 r11            0x7fcc94ffcd40	140516649848128
 r12            0x40b638	4240952
 r13            0x40b61d	4240925
 r14            0x0	0
 r15            0x0	0
 rip            0x7fcc94ffd654	0x7fcc94ffd654 <__strcmp_ssse3+2324>
 eflags         0x10202	[ IF RF ]
 cs             0x33	51
 ss             0x2b	43
 ds             0x0	0
 es             0x0	0
 fs             0x0	0
 gs             0x0	0
SegvAnalysis:
 Segfault happened at: 0x7fcc94ffd654 <__strcmp_ssse3+2324>:	movdqa (%rdi),%xmm2
 PC (0x7fcc94ffd654) ok
 source "(%rdi)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%xmm2" ok
SegvReason: reading NULL VMA
Stacktrace:
 #0  __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:1233
 No locals.
 #1  0x0000000000406650 in main ()
 No symbol table info available.
StacktraceTop: main ()
Tags:  trusty
ThreadStacktrace:
 .
 Thread 1 (Thread 0x7fcc96fbe780 (LWP 32092)):
 #0  __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:1233
 No locals.
 #1  0x0000000000406650 in main ()
 No symbol table info available.
Title: v.in.ogr crashed with SIGSEGV in main()
UnreportableReason: This package does not seem to be installed correctly
UpgradeStatus: No upgrade log present (probably fresh install)
_MarkForUpload: True
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to