vgteam / vg

tools for working with genome variation graphs
https://biostars.org/tag/vg/
Other
1.1k stars 194 forks source link

VG has crashed #4200

Open dingkeyue opened 9 months ago

dingkeyue commented 9 months ago

1. What were you trying to do?

try to use 'vg map' to align fastq data into the constructed vg graph.

2. What did you want to happen?

get the alignment file

3. What actually happened?

vg [warning]: System's vm.overcommit_memory setting is 2 (never overcommit). vg does not work well under these conditions; you m
ay appear to run out of memory with plenty of memory left. Attempting to unsafely reconfigure jemalloc to deal better with this 
situation.
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
━━━━━━━━━━━━━━━━━━━━
Crash report for vg v1.53.0 "Valmontone"
Stack trace (most recent call last) in thread 1653161:
#17   Object "", at 0xffffffffffffffff, in 
#16   Object "/vg/bin/vg", at 0x1fbc9a2, in 
#15   Object "/vg/bin/vg", at 0x14becf8, in 
#14   Object "/vg/bin/vg", at 0x1ef119d, in 
#13   Object "/vg/bin/vg", at 0x11a822f, in 
#12   Object "/vg/bin/vg", at 0x1ef3a77, in 
#11   Object "/vg/bin/vg", at 0x1eeb13b, in 
#10   Object "/vg/bin/vg", at 0x11a83da, in 
#9    Object "/vg/bin/vg", at 0xc32b7a, in 
#8    Object "/vg/bin/vg", at 0x5458c5, in 
#7    Object "/vg/bin/vg", at 0x1f01b99, in 
#6    Object "/vg/bin/vg", at 0x1f011aa, in 
#5    Object "/vg/bin/vg", at 0x1e3fbb3, in 
#4    Object "/vg/bin/vg", at 0x1edec98, in 
#3    Object "/vg/bin/vg", at 0x1e401fb, in 
#2    Object "/vg/bin/vg", at 0x5c00ca, in 
#1    Object "/vg/bin/vg", at 0x5c2a67, in 
#0    Object "/vg/bin/vg", at 0x14c257b, in 
ERROR: Signal 6 occurred. VG has crashed. Visit https://github.com/vgteam/vg/issues/new/choose to report a bug.
Please include this entire error log in your bug report!
━━━━━━━━━━━━━━━━━━━━
INFO:    Cleaning up image...

4. If you got a line like Stack trace path: /somewhere/on/your/computer/stacktrace.txt, please copy-paste the contents of that file here:

no such a line

5. What data and command can the vg dev team use to make the problem happen?

apptainer run --unsquash vg_latest.sif \
        vg map -x /vg1/african_wg.xg \
        -t 4 \
        -g /vg1/african_wg.gcsa \
        -f /vg1/ERR757749_1.fastq.gz \
                -f /vg1/ERR757749_2.fastq.gz > ./vg/ERR757749.gam

6. What does running vg version say?

INFO:    Converting SIF file to temporary sandbox...
vg [warning]: System's vm.overcommit_memory setting is 2 (never overcommit). vg does not work well under these conditions; you may appear to run out of memory with plenty of memory left. Attempting to unsafely reconfigure jemalloc to deal better with this situation.
vg version v1.53.0 "Valmontone"
Compiled with g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 on Linux
Linked against libstd++ 20210601
Built by root@buildkitsandbox
INFO:    Cleaning up image...