Skip Menu |

This queue is for tickets about the Tree-BPTree CPAN distribution.

Report information
The Basics
Id: 54001
Status: open
Priority: 0/
Queue: Tree-BPTree

People
Owner: Nobody in particular
Requestors: andreas.winschu [...] wunderloop.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Segmentation fault with big trees.
Date: Tue, 26 Jan 2010 10:57:22 +0100
To: bug-Tree-BPTree [...] rt.cpan.org
From: "Andreas.Winschu" <andreas.winschu [...] wunderloop.com>
If trying to insert about 99999 values into the btree, there is always a segmentation fault. At the endtime of the program there was aout 1.2GB meomory free, so that is not the issue. Andreas Winschu Quality Assurance, External Staff ––––––––––––––––––––––––––––––– wunderloop media services GmbH Holzdamm 18 20099 Hamburg T +49 (0)40 - 432 07 821 F +49 (0)40 - 432 07 799 E andreas.winschu@wunderloop.com www.wunderloop.de Integrated Targeting Sitz und Handelsregister: AG Hamburg, HRB 80 530 Geschäftsführung: Torsten Ahlers, Frank Conrad, Dr. Christoph Bauer –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– This e-mail is confidential and is intended for the addressee(s) only. If you are not the named addressee you may not use it, copy it or disclose it to any other person. If you received this message in error please notify the sender immediately. P please consider the environment - do you really need to print this email?
On Tue Jan 26 04:58:21 2010, andreas.winschu@wunderloop.com wrote: Show quoted text
> If trying to insert about 99999 values into the btree, there is always > a segmentation fault. > At the endtime of the program there was aout 1.2GB meomory free, so > that is not the issue.
Do you have a short test program or something I can use to try to cause this problem?
From: w_andrej [...] gmx.net
Am Fr 29. Jan 2010, 10:21:04, HANENKAMP schrieb: Show quoted text
> On Tue Jan 26 04:58:21 2010, andreas.winschu@wunderloop.com wrote:
> > If trying to insert about 99999 values into the btree, there is always > > a segmentation fault. > > At the endtime of the program there was aout 1.2GB meomory free, so > > that is not the issue.
> > Do you have a short test program or something I can use to try to cause > this problem?
use Tree::BPTree; use warnings; use strict; my $tree = Tree::BPTree->new; for (0 .. 30000) { print $_ . "\n"; $tree->insert($_, $_ . ":Value"); } I could encapsulate the value down to 30000 keys. The output reports a segmentation fault. I tried to get some values and it work. }
From: w_andrej [...] gmx.net
Forget to say Tested on Mac OS X 10.5 and on CentOS release 5.4 (Final)
On Fri Feb 05 07:50:53 2010, AndrejLr wrote: Show quoted text
> Forget to say > > Tested on Mac OS X 10.5 and on CentOS release 5.4 (Final) >
I can reproduce this on Jaunty Jackalope as well, but I had to go up to 100,000 or so. The script runs to completion and between running the last line of code and before running the END blocks, it segfaults. I have no explanation at this point but to whine about Perl segfaulting when it shouldn't.