[Lazarus] package directory destroyed, replaced with executable of same name

David Emerson dle3ab at angelbase.com
Wed Oct 5 19:59:16 CEST 2011


So I just managed to get svn fpc and svn lazarus installed and running, yay!

now the bad news

I have a git repo (and lazarus package) called saralatools. I had just compiled 
and run an example program that uses the package. Somehow lazarus crashed.

Now I see that my entire saralatools directory, containing the git repository 
and all kinds of stuff, has mysteriously been deleted, and in its place is an 
executable called saralatools. Poof! Gone.

It's not really an executable, it is just some GDB data (pasted at the bottom)

Here's a very odd thing: the file size is 4096 bytes, exactly the same size as a 
directory. And it has the same permissions as a directory. It's as if somehow 
the filesystem received a directive to write to that (file/inode/directory/I 
dunno what to call it) instead of writing to a file in that directory.

I'm restoring from backup (and getting out the file recovery tools) but... this 
sucks :P

e="564"},{pc="0x080d45a4",line="565"},{pc="0x080d45a9",line="568"},
{pc="0x080d45d6",line="569"},{pc="0x080d4611",line="570"},
{pc="0x080d4633",line="572"},{pc="0x080d463f",line="573"},
{pc="0x080d4649",line="574"},{pc="0x080d4651",line="575"},
{pc="0x080d4656",line="577"},{pc="0x080d4660",line="579"},
{pc="0x080d4676",line="580"},{pc="0x080d4685",line="581"},
{pc="0x080d4692",line="582"},{pc="0x080d46d1",line="584"},
{pc="0x080d46dc",line="585"},{pc="0x080d46fd",line="587"},
{pc="0x080d472b",line="588"},{pc="0x080d4736",line="590"},
{pc="0x080d4744",line="591"},{pc="0x080d4752",line="592"},
{pc="0x080d475e",line="598"},{pc="0x080d4765",line="599"},
{pc="0x080d4772",line="601"},{pc="0x080d477d",line="602"},
{pc="0x080d4785",line="603"},{pc="0x080d4788",line="604"},
{pc="0x080d47b2",line="605"},{pc="0x080d47ba",line="606"},
{pc="0x080d47c6",line="607"},{pc="0x080d47cd",line="608"},
{pc="0x080d47f2",line="609"},{pc="0x080d4806",line="611"},
{pc="0x080d4811",line="611"},{pc="0x080d481a",line="611"},
{pc="0x080d48ac",line="612"},{pc="0x080d48b3",line="614"},
{pc="0x080d48f3",line="615"},{pc="0x080d494c",line="616"},
{pc="0x080d4962",line="617"},{pc="0x080d497a",line="624"},
{pc="0x080d499b",line="625"},{pc="0x080d49cf",line="626"},
{pc="0x080d4a00",line="630"},{pc="0x080d4a08",line="631"},
{pc="0x080d4a3b",line="632"},{pc="0x080d4a3e",line="633"},
{pc="0x080d4a43",line="635"},{pc="0x080d4a54",line="636"},
{pc="0x080d4a5f",line="637"},{pc="0x080d4a6d",line="638"},
{pc="0x080d4a84",line="639"},{pc="0x080d4a98",line="641"},
{pc="0x080d4abd",line="643"},{pc="0x080d4ac8",line="643"},
{pc="0x080d4ad1",line="643"},{pc="0x080d4b67",line="644"},
{pc="0x080d4b6e",line="645"},{pc="0x080d4bac",line="646"},
{pc="0x080d4be4",line="648"},{pc="0x080d4bf1",line="650"},
{pc="0x080d4c03",line="651"},{pc="0x080d4c1f",line="652"},
{pc="0x080d4c28",line="653"},{pc="0x080d4c40",line="654"},
{pc="0x080d4c47",line="656"},{pc="0x080d4c6c",line="657"},
{pc="0x080d4c80",line="659"},{pc="0x080d4c8b",line="659"},
{pc="0x080d4c94",line="659"},{pc="0x080d4d3b",line="660"},
{pc="0x080d4d42",line="661"},{pc="0x080d4d58",line="662"},
{pc="0x080d4d70",line="664"},{pc="0x080d4d9f",line="665"},
{pc="0x080d4dd2",line="666"},{pc="0x080d4e38",line="668"},
{pc="0x080d4eb3",line="668"},{pc="0x080d4ed0",line="545"},
{pc="0x080d4ee2",line="545"},{pc="0x080d4f0d",line="546"},
{pc="0x080d4f20",line="547"},{pc="0x080d4f2e",line="548"},
{pc="0x080d4f39",line="549"},{pc="0x080d4f40",line="550"},
{pc="0x080d4f5f",line="551"},{pc="0x080d4fb0",line="552"},
{pc="0x080d5001",line="553"},{pc="0x080d5050",line="554"},
{pc="0x080d50ad",line="556"},{pc="0x080d50c5",line="557"},
{pc="0x080d50dc",line="557"},{pc="0x080d50f0",line="527"},
{pc="0x080d5105",line="528"},{pc="0x080d5119",line="529"},
{pc="0x080d512d",line="530"},{pc="0x080d5141",line="531"},
{pc="0x080d5197",line="532"},{pc="0x080d51ed",line="534"},
{pc="0x080d51f9",line="535"},{pc="0x080d5204",line="536"},
{pc="0x080d5236",line="537"},{pc="0x080d526d",line="538"},
{pc="0x080d527d",line="540"},{pc="0x080d5290",line="515"},
{pc="0x080d529f",line="516"},{pc="0x080d52ce",line="517"},
{pc="0x080d52fd",line="518"},{pc="0x080d5365",line="521"},
{pc="0x080d53c8",line="522"},{pc="0x080d53f6",line="524"},
{pc="0x080d5400",line="674"},{pc="0x080d5403",line="676"},
{pc="0x080d5417",line="678"},{pc="0x080d5421",line="679"},
{pc="0x080d5435",line="680"},{pc="0x080d544a",line="681"},
{pc="0x080d5452",line="682"},{pc="0x080d545b",line="686"}](gdb)
�3rn�Np#hp#���C#,lines=[{pc="0x080d2c10",line="161"},
{pc="0x080d2c1f",line="162"},{pc="0x080d2c2a",line="163"},
{pc="0x080d2c34",line="164"},{pc="0x080d2c53",line="165"},
{pc="0x080d2c69",line="166"},{pc="0x080d2c82",line="167"},
{pc="0x080d2c90",line="182"},{pc="0x080d2ca5",line="182"},
{pc="0x080d2ccd",line="189"},{pc="0x080d2d05",line="183"},
{pc="0x080d2d18",line="184"},{pc="0x080d2d26",line="185"},
{pc="0x080d2d30",line="186"},{pc="0x080d2d3c",line="187"},
{pc="0x080d2d49",line="188"},{pc="0x080d2d62",line="189"},
{pc="0x080d2e00",line="200"},{pc="0x080d2e13",line="201"},
{pc="0x080d2e3f",line="202"},{pc="0x080d2e5e",line="203"},{pc="0





More information about the Lazarus mailing list