[Box Backup] Re: running on a DEC alpha

Patrick YU boxbackup@fluffy.co.uk
Sat, 17 Jul 2004 08:27:39 +0800


--Apple-Mail-1-47710438
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed


On Sunday, June 27, 2004, at 02:13 PM, Patrick YU wrote:

>
> On Sat, 26 Jun 2004 19:14:34 +0800, "Patrick YU" <m@yhk.name> said:
>> Hello all.  After last failed attempt (bad c++ compiler) on an alpha 
>> via
>> OpenBSD, I try my luck on NetBSD (version 1.6.2).  Well, while it ran
>> fine the simple c++ compile test program from Ben's previous email, the
>> "./runtest.pl ALL" still fails [using boxbackup-0.06PLUS2] --
>
> Following up to this, I've installed gcc 3.3.1 and the linking stage
> failed with a lot of "undefined reference to" errors:

Well, compiling Box Backup on the alpha via NetBSD failed also.
I try again via Debian Linux:

$ pwd
/home/pyu/boxbackup-0.07/debug/bin/bbstoreaccounts
$ sudo ./bbstoreaccounts create 1 0 900m 1g
Password:
... running for a few minutes, with the swap space free continue to 
dwindle (via 'top') ...
Exception: St9bad_alloc

Is the g++ (version 3.3.4) on this alpha to be blamed ?
Attached is the compilation output, and a gdb backtrace.

thanks in advance, Patrick

--Apple-Mail-1-47710438
Content-Disposition: attachment;
	filename=backtrace
Content-Transfer-Encoding: quoted-printable
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="backtrace"

Script=20started=20on=20Sat=20Jul=2017=2008:09:25=202004=0Ash-2.05b$=20=
sudo=20gdb=0D=0AGNU=20gdb=206.1-debian=0D=0ACopyright=202004=20Free=20=
Software=20Foundation,=20Inc.=0D=0AGDB=20is=20free=20software,=20covered=20=
by=20the=20GNU=20General=20Public=20License,=20and=20you=20are=0D=0A=
welcome=20to=20change=20it=20and/or=20distribute=20copies=20of=20it=20=
under=20certain=20conditions.=0D=0AType=20"show=20copying"=20to=20see=20=
the=20conditions.=0D=0AThere=20is=20absolutely=20no=20warranty=20for=20=
GDB.=20=20Type=20"show=20warranty"=20for=20details.=0D=0AThis=20GDB=20=
was=20configured=20as=20"alpha-linux".=0D=0A(gdb)=20file=20=
bbstoreaccounts=0D=0AReading=20symbols=20from=20bbstoreaccounts...done.=0D=
=0AUsing=20host=20libthread_db=20library=20"/lib/libthread_db.so.1".=0D=0A=
(gdb)=20attach=206031=0D=0AAttaching=20to=20program:=20=
/home/pyu/boxbackup-0.07/debug/bin/bbstoreaccounts/bbstoreaccounts,=20=
process=206031=0D=0AReading=20symbols=20from=20=
/usr/lib/libssl.so.0.9.7...done.=0D=0ALoaded=20symbols=20for=20=
/usr/lib/libssl.so.0.9.7=0D=0AReading=20symbols=20from=20=
/usr/lib/libcrypto.so.0.9.7...done.=0D=0ALoaded=20symbols=20for=20=
/usr/lib/libcrypto.so.0.9.7=0D=0AReading=20symbols=20from=20=
/usr/lib/libz.so.1...done.=0D=0ALoaded=20symbols=20for=20=
/usr/lib/libz.so.1=0D=0AReading=20symbols=20from=20=
/usr/lib/libstdc++.so.5...done.=0D=0ALoaded=20symbols=20for=20=
/usr/lib/libstdc++.so.5=0D=0AReading=20symbols=20from=20=
/lib/libm.so.6.1...done.=0D=0ALoaded=20symbols=20for=20/lib/libm.so.6.1=0D=
=0AReading=20symbols=20from=20/lib/libgcc_s.so.1...done.=0D=0ALoaded=20=
symbols=20for=20/lib/libgcc_s.so.1=0D=0AReading=20symbols=20from=20=
/lib/libc.so.6.1...done.=0D=0ALoaded=20symbols=20for=20/lib/libc.so.6.1=0D=
=0AReading=20symbols=20from=20/lib/libdl.so.2.1...done.=0D=0ALoaded=20=
symbols=20for=20/lib/libdl.so.2.1=0D=0AReading=20symbols=20from=20=
/lib/ld-linux.so.2...done.=0D=0ALoaded=20symbols=20for=20=
/lib/ld-linux.so.2=0D=0AReading=20symbols=20from=20=
/lib/libnss_compat.so.2...done.=0D=0ALoaded=20symbols=20for=20=
/lib/libnss_compat.so.2=0D=0AReading=20symbols=20from=20=
/lib/libnsl.so.1.1...done.=0D=0ALoaded=20symbols=20for=20=
/lib/libnsl.so.1.1=0D=0AReading=20symbols=20from=20=
/lib/libnss_nis.so.2...done.=0D=0ALoaded=20symbols=20for=20=
/lib/libnss_nis.so.2=0D=0AReading=20symbols=20from=20=
/lib/libnss_files.so.2...done.=0D=0ALoaded=20symbols=20for=20=
/lib/libnss_files.so.2=0D=0A0x00000200002dcb1c=20in=20=
std::basic_string<char,=20std::char_traits<char>,=20std::allocator<char>=20=
>::~basic_string=20()=20from=20/usr/lib/libstdc++.so.5=0D=0A(gdb)=20bt=0D=
=0A#0=20=200x00000200002dcb1c=20in=20std::basic_string<char,=20=
std::char_traits<char>,=20std::allocator<char>=20>::~basic_string=20()=20=
from=20/usr/lib/libstdc++.so.5=0D=0A#1=20=200x000000012000af24=20in=20=
_Destroy<std::string>=20(__pointer=3D0x20004a8b390)=0D=0A=20=20=20=20at=20=
stl_construct.h:125=0D=0A#2=20=200x000000012000aed0=20in=20=
__destroy_aux<std::string*>=20(__first=3D0x20004a8b390,=20=0D=0A=20=20=20=
=20__last=3D0x2000673a010)=20at=20stl_construct.h:101=0D=0A#3=20=20=
0x0000000120009bb8=20in=20_Destroy<std::string*>=20=
(__first=3D0x2000473a010,=20=0D=0A=20=20=20=20__last=3D0x2000673a010)=20=
at=20stl_construct.h:143=0D=0A#4=20=200x000000012000971c=20in=20~vector=20=
(this=3D0x11ffff810)=20at=20stl_vector.h:297=0D=0A#5=20=20=
0x000000012003bc40=20in=20RaidFileWrite::CreateDirectory=20=
(rSet=3D@0x11ffff8b0,=20=0D=0A=20=20=20=20rDirName=3D@0x11ffff940,=20=
Recursive=3Dtrue,=20mode=3D511)=20at=20RaidFileWrite.cpp:716=0D=0A#6=20=20=
0x000000012003b908=20in=20RaidFileWrite::CreateDirectory=20(SetNumber=3D0,=
=20=0D=0A=20=20=20=20rDirName=3D@0x11ffff940,=20Recursive=3Dtrue,=20=
mode=3D511)=20at=20RaidFileWrite.cpp:679=0D=0A#7=20=200x00000001200116dc=20=
in=20BackupStoreAccounts::Create=20(this=3D0x11ffffa70,=20ID=3D1,=20=0D=0A=
=20=20=20=20DiscSet=3D0,=20SizeSoftLimit=3D460800,=20=
SizeHardLimit=3D524288,=20=0D=0A=20=20=20=20rAsUsername=3D@0x11ffffb00)=20=
at=20BackupStoreAccounts.cpp:118=0D=0A#8=20=200x0000000120006ed8=20in=20=
CreateAccount=20(rConfig=3D@0x1200a69f0,=20=0D=0A=20=20=20=20=
rUsername=3D@0x11ffffb00,=20ID=3D1,=20DiscNumber=3D0,=20=
SoftLimit=3D460800,=20=0D=0A=20=20=20=20HardLimit=3D524288)=20at=20=
bbstoreaccounts.cpp:425=0D=0A#9=20=200x0000000120007550=20in=20main=20=
(argc=3D5,=20argv=3D0x11ffffbe0)=0D=0A=20=20=20=20at=20=
bbstoreaccounts.cpp:522=0D=0A(gdb)=20print=0D=0AThe=20history=20is=20=
empty.=0D=0A(gdb)=20list=0D=0A522=09=09=09return=20=
CreateAccount(*config,=20username,=20id,=20discnum,=20softlimit,=20=
hardlimit);=0D=0A523=09=09}=0D=0A524=09=09else=20if(::strcmp(argv[0],=20=
"info")=20=3D=3D=200)=0D=0A525=09=09{=0D=0A526=09=09=09//=20Print=20=
information=20on=20this=20account=0D=0A527=09=09=09return=20=
AccountInfo(*config,=20id);=0D=0A528=09=09}=0D=0A529=09=09else=20=
if(::strcmp(argv[0],=20"setlimit")=20=3D=3D=200)=0D=0A530=09=09{=0D=0A=
531=09=09=09//=20Change=20the=20limits=20on=20this=20account=0D=0A(gdb)=20=
quit=0D=0AThe=20program=20is=20running.=20=20Quit=20anyway=20(and=20=
detach=20it)?=20(y=20or=20n)=20y=0D=0ADetaching=20from=20program:=20=
/home/pyu/boxbackup-0.07/debug/bin/bbstoreaccounts/bbstoreaccounts,=20=
process=206031=0D=0Ash-2.05b$=20exit=0D=0Aexit=0D=0A=0AScript=20done=20=
on=20Sat=20Jul=2017=2008:17:45=202004=0A=

--Apple-Mail-1-47710438
Content-Disposition: attachment;
	filename=compile.gz
Content-Transfer-Encoding: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pzEjHqoBcxWp9AT4D9Is5BlNGDUNZhLteYIIhw6i56KMfD32iXPGOqUBc8Y
jtzTHNnnADKOkbMmKjk8ej5Xl80XZGwjaxfEYupv4+Ww4Lxejk+pZ//0+gZtU2dCOcvSftr7EFPf
iK33CYfQl4pqluNwR2j5bs36Z6/ykrtMzPYq6mdlIN9zDUxiI8A95AAy8ItrgWYXNLq99mnv+BS0
Go3jyv8Blpi0BoWIAAA=

--Apple-Mail-1-47710438
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed



--Apple-Mail-1-47710438--