Bowtie segfaults in pbuilder chroot at build time (Was: Issue with new version of Bowtie) (original) (raw)
- To: Debian Med Project List <debian-med@lists.debian.org>
- Cc: Debian Mentors List <debian-mentors@lists.debian.org>
- Subject: Bowtie segfaults in pbuilder chroot at build time (Was: Issue with new version of Bowtie)
- From: Andreas Tille <andreas@an3as.eu>
- Date: Wed, 20 Sep 2017 15:44:54 +0200
- Message-id: <[🔎] 20170920134454.qmia6kmyn3oynt24@an3as.eu>
- In-reply-to: 79815dc6-f68b-d468-d066-7355c3a730e8@gmx.de
- References: 20170904123541.bs6all5poipfxjue@an3as.eu 305d415d-17ff-715e-8c04-19cde3e496c9@evolbio.mpg.de 20170905074455.kxlhobrejkpcw2q4@an3as.eu 8137ce8b-858d-5da1-673b-2e5506b51964@evolbio.mpg.de 309a9243-b81d-31e6-f117-7560305fc184@evolbio.mpg.de 20170906064627.fd5imriblwn7wnco@an3as.eu 20170920102338.b6luxyqmarmdfxo2@an3as.eu 79815dc6-f68b-d468-d066-7355c3a730e8@gmx.de
[switching back to list discussion also involving debian-mentors. Please see the gdb output below I get when installing gdb inside the pbuilder chroot.]
Hi Steffen,
On Wed, Sep 20, 2017 at 02:26:20PM +0200, Steffen Möller wrote:
/build/bowtie-1.2.1.1+dfsg# ./bowtie -a -v 2 e_coli --suppress 1,5,6,7 -c ATGCATCATGCGCCAT Segmentation fault
I intended to open an issue on Github but when doing so I wanted to leave a proof that we are using the latest upstream version:
/build/bowtie-1.2.1.1+dfsg# ./bowtie -v Segmentation fault
Hups, I think something is wrong at our side and the build has a problem.
Has anybody some spare cylces to track this down? Any volunteer?
Not really, except that on my virtual machine "bowtie -v" shows the expected (long) usage information.
I guess you try to test the existing bowtie package. Please note that I was talking about the new version in Git which I try to build and the segfault happens in the pbuilder chroot (I just learned that you are rarely using pbuilder - see subsequent fast5 uploads :-P ). So please try to build latest Git (git.debian.org seems to be offline currently). I get:
... Error testing example --- tests/example6.out 2017-09-20 13:07:01.000000000 +0000 +++ example6.out 2017-09-20 13:13:53.186064608 +0000 @@ -1 +1,5 @@ - gi|110640213|ref|NC_008253.1| 2852852 8:T>A +- gi|110640213|ref|NC_008253.1| 148810 10:A>G,13:C>G ++ gi|110640213|ref|NC_008253.1| 1093035 2:T>G,15:A>T +- gi|110640213|ref|NC_008253.1| 905664 6:A>G,7:G>T +- gi|110640213|ref|NC_008253.1| 4930433 4:G>T,6:C>G debian/rules:46: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory '/build/bowtie-1.2.1.1+dfsg' debian/rules:14: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 I: copying local configuration E: Failed autobuilding of package I: user script /var/cache/pbuilder/build/cow.8814/tmp/hooks/C99_failed_build starting root@wr-linux01:/# cd build/bowtie-1.2.1.1+dfsg/ root@wr-linux01:/build/bowtie-1.2.1.1+dfsg# ./bowtie Segmentation fault root@wr-linux01:/build/bowtie-1.2.1.1+dfsg# ./bowtie --version Segmentation fault
You need to setup a pbuilder hook to be able to stop the build and end up inside the pbuilder chroot.
So, I cannot immediately reproduce the behaviour you observe. What does "bowtie --version" do for you?Â
See above - but we are most probably talking about different things.
Should we add "bowtie -v" as an autotest, just testing that it does not crash but that it exits with a bad code ( == 1) ?
I assume this test will not be necessary since it is not really
bowtie -v
which breaks but any call of bowtie segfaults inside
the pbuilder environment.
Another question to me is why we do not have a bowtie-dbgsym package. Where is it?
No idea but hey, I installed gdb into the pbuilder environment and did:
root@wr-linux01:/build/bowtie-1.2.1.1+dfsg# apt-get install gdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libbabeltrace-ctf1 libbabeltrace1 libdw1 libelf1 libmpdec2 libpopt0 libpython3.5 libpython3.5-minimal libpython3.5-stdlib
...
root@wr-linux01:/build/bowtie-1.2.1.1+dfsg# gdb --args bowtie-align-s --wrapper basic-0
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
...
Type "apropos word" to search for commands related to "word"...
Reading symbols from bowtie-align-s...done.
(gdb) run
Starting program: /build/bowtie-1.2.1.1+dfsg/bowtie-align-s --wrapper basic-0
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff652003e in dlsym () from /lib/x86_64-linux-gnu/libdl.so.2 (gdb)
Same happens when testing bowtie-align-l.
Does this ring a bell somehow?
Kind regards
Andreas.
Reply to:
- Follow-Ups:
- Re: Bowtie segfaults in pbuilder chroot at build time (Was: Issue with new version of Bowtie)
* From: Steffen Möller <steffen_moeller@gmx.de>
- Re: Bowtie segfaults in pbuilder chroot at build time (Was: Issue with new version of Bowtie)
- Prev by Date:Bug#872736: RFS: dtkwidget/2.0.0-1 [ITP]
- Next by Date:Bug#876286: RFS: xml2/0.5-1 [QA,RC]
- Previous by thread:Bug#872736: RFS: dtkwidget/2.0.0-1 [ITP]
- Next by thread:Re: Bowtie segfaults in pbuilder chroot at build time (Was: Issue with new version of Bowtie)
- Index(es):