monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Problems after building monotone


From: Justin Patrin
Subject: [Monotone-devel] Problems after building monotone
Date: Wed, 19 Jul 2006 21:39:16 -0700

I'm running Gentoo, pretty much up to date. I was previously running
monotone 0.25 from portage just fine. I decided to try making an 0.27
ebuild and basically just copied the 0.25 one. It built perfectly but
when I ran it I got a segmentation fault. I then downgraded to 0.25
again and I get this:

# monotone
terminate called after throwing an instance of 'std::length_error'
 what():  basic_string::reserve

I tried uninstalling and reinstalling(building) and I still get the same thing.

I then tried downloading the static binary on venge.net. It works
fine. I pulled net.venge.monotone (nice and fast, thanks for the
speedup work) and built from that. Segfault again. GDB shows:

]# gdb ./mtn
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) start
Breakpoint 1 at 0x82c91bb: file main.cc, line 374.
Starting program: /home/papercrane/net.venge.monotone/mtn
main (argc=1, argv=0xbfa32b24) at main.cc:374
374           {
(gdb) next

Program received signal SIGSEGV, Segmentation fault.
0xb7dc6aa7 in std::operator<< <char, std::char_traits<char>,
std::allocator<char> > ()
  from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6
(gdb) bt
#0  0xb7dc6aa7 in std::operator<< <char, std::char_traits<char>,
std::allocator<char> > ()
  from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6
#1  0x082c4a3a in cpp_main (argc=1, argv=0xbfa32b24) at sanity.hh:169
#2  0x082c901a in main_with_signal_handlers (argc=1, argv=0xbfa32b24)
at main.cc:304
#3  0x082c91c0 in main (argc=139468924, argv=0x715c424a) at main.cc:374
(gdb)


My guess is that some build tool on my system is doing something
incorrectly. I am not using any extreme optimization flags (my CFLAGS
for Gentoo are "-march=athlon -O3 -pipe", no extra flags used for
manual build).

GCC version is:
gcc (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)

boot version is 1.33.1.

--
Justin Patrin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]