← Back to team overview

elementary-dev-community team mailing list archive

Re: Fixin' Files

 

Hi, all!

I've been looking for a way to start contributing to EOS, but I haven't
been able to find where. Maybe this is too much to start with, I don't
know, but I could use some guidance.



2013/7/23 Manish Sinha <manishsinha@xxxxxxxxxx>

> On Mon, Jul 22, 2013 at 3:26 PM, Sergey "Shnatsel" Davidoff
> <sergey@xxxxxxxxxxxxxxxx> wrote:
> > First, I have to add "-lefence" to the C compiler parameters in CMake
> and I
> > have little idea how to do that. This will make Files segfault exactly
> where
> > the original corruption happens and ease debugging greatly. It's much
> more
> > fun than trying to track down the crashes in regular builds!
>
> I can give it a try
>
> SET(GCC_EF_COMPILE_FLAGS "-fefence")
> SET(GCC_EF_LINK_FLAGS    "-lefence")
>
>
> SET( CMAKE_C_FLAGS  "${CMAKE_C_FLAGS} ${GCC_EF_COMPILE_FLAGS}" )
> SET( CMAKE_EXE_LINKER_FLAGS  "${CMAKE_EXE_LINKER_FLAGS}
> ${GCC_EF_LINK_FLAGS}" )
>
> Then use LD_PRELOAD
>
>
> > Second, I totally suck at OOP so I probably won't be able to fix the
> crashes
> > even if I track them down. Anyone up for joining me in fixing this?
>
> Finding is cause of the problem usually the toughest part. I can try, but
> since my knowledge of C, memory profiling etc is limited, I can't
> guarantee.
>
> -
> Manish
>
> --
> Mailing list: https://launchpad.net/~elementary-dev-community
> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~elementary-dev-community
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References