If init_matrix fails, it will crash#1
Open
rajakrishi wants to merge 2 commits intojdevinney:masterfrom
Open
Conversation
jdevinney
added a commit
that referenced
this pull request
Oct 22, 2020
Make argument parsing in alltoallv compatible with MacOS/BSD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When init_matrix fails, sort_nonzeros, does not check if matrix A is NULL
ERROR: transpose_matrix: init_matrix failed!
ERROR: transpose_matrix: init_matrix failed!
MPT ERROR: Rank 67(g:67) received signal SIGSEGV(11).
Process ID: 15343, Host: mdc-sgi-02-t01-ch1, Program: /home/rajakr/bale/build_x86_64/bin/topo
MPT Version: HPE MPT 2.18 05/12/18 04:23:42
MPT: --------stack traceback-------
MPT: Attaching to program: /proc/15343/exe, process 15343
MPT: done.
MPT: done.
MPT: [Thread debugging using libthread_db enabled]
MPT: Using host libthread_db library "/lib64/libthread_db.so.1".
MPT: (no debugging symbols found)...done.
MPT: (no debugging symbols found)...done.
MPT: done.
MPT: done.
MPT: done.
MPT: done.
MPT: done.
MPT: (no debugging symbols found)...done.
MPT: 0x00007ffff78cc12c in __libc_waitpid (pid=pid@entry=15932,
MPT: stat_loc=stat_loc@entry=0x7fffffffce40, options=options@entry=0)
MPT: at ../sysdeps/unix/sysv/linux/waitpid.c:31
MPT: 31 return INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL);
MPT: Missing separate debuginfos, use: debuginfo-install libbitmask-2.0-sgi718r38.rhel74.x86_64 libcpuset-1.0-sgi718r71.rhel74.x86_64 xpmem-1.6-sgi718r76.rhel74.x86_64
MPT: (gdb) #0 0x00007ffff78cc12c in __libc_waitpid (pid=pid@entry=15932,
MPT: stat_loc=stat_loc@entry=0x7fffffffce40, options=options@entry=0)
MPT: at ../sysdeps/unix/sysv/linux/waitpid.c:31
MPT: #1 0x00007ffff6f83bc6 in mpi_sgi_system (
MPT: #2 MPI_SGI_stacktraceback (
MPT: header=header@entry=0x7fffffffd600 "MPT ERROR: Rank 67(g:67) received signal SIGSEGV(11).\n\tProcess ID: 15343, Host: mdc-sgi-02-t01-ch1, Program: /home/rajakr/bale/build_x86_64/bin/topo\n\tMPT Version: HPE MPT 2.18 05/12/18 04:23:42\n") at sig.c:340
MPT: #3 0x00007ffff6f83dc2 in first_arriver_handler (signo=signo@entry=11,
MPT: stack_trace_sem=stack_trace_sem@entry=0x7ffbf6360080) at sig.c:489
MPT: #4 0x00007ffff6f8415b in slave_sig_handler (signo=11,
MPT: siginfo=, extra=) at sig.c:564
MPT: #5
MPT: #6 sort_nonzeros (mat=mat@entry=0x0) at spmat_utils__c.c:1055
MPT: #7 0x00000000004059c6 in transpose_matrix (omat=omat@entry=0x639e700)
MPT: at spmat_utils__c.c:116
MPT: #8 0x0000000000401fdf in main (argc=, argv=0x7fffffffe1f8)
MPT: at topo_src/toposort__c.c:280
MPT: (gdb) A debugging session is active.
MPT:
MPT: Inferior 1 [process 15343] will be detached.
MPT:
MPT: Quit anyway? (y or n) [answered Y; input not from terminal]
MPT: Detaching from program: /proc/15343/exe, process 15343