Max
I never used Valgrind before. But reading about it indicates it could be
useful. However, it's posssible that the program may again run fine in
Valgrind, as in gdb. It's worth a try, I think.
Picked up some useful options while reading the documentation:
http://valgrind.org/docs/manual/drd-manual.html#drd-manual.qt
http://valgrind.org/docs/manual/manual-core.html#manual-core.signals
* Another option you might like to consider, if you are working with C++, is
-fno-inline. That makes it easier to see the function-call chain, which can
help reduce confusion when navigating around large C++ apps.
Regards
Naveen
On Mon, Jun 21, 2010 at 4:44 AM, Max Bossino <m...@miragroupware.org> wrote:
> Hi Naveen,
>
> On Sun, 20 Jun 2010 23:26:12 -0400, naveen akarapu
> <naveen.akar...@gmail.com> wrote:
> > If it's segfaulting again at log in, it could be close to the code I
> > changed. However, I am unable to reproduce it on my system. Is there any
> > sequence of actions (like creating a new user, etc) I can try that could
> > help reproduce it?
>
> This is what I did: I opened Mira Client. I then used the New User dialog
> to create a user with username 'max' and password 'max', my email address,
> my full name, etc. I then used the Login dialog to log in with these
> details. When I typed in an incorrect password, I got the 'Bad Credentials'
> error. However, as soon as I entered the correct authentication details and
> tried to log in, the dialog disappeared and the application exited with a
> Segfault.
>
> This happened to me a few times. However, when I tried replicating this in
> GDB (to get a stack trace), the login process completed successfully
> without Mira Client exiting.
>
> Is there another way I can debug this (using another debugger), to prevent
> you from having to test it with printfs? I've never used it before, and I
> don't know if it's suitable for this situation, but I could try giving
> Valgrind a go, if you think that could help:
> http://valgrind.org/
>
> Regards,
>
> Max Bossino
> Project Manager
> http://miragroupware.org
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Mira-development mailing list
> Mira-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mira-development
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mira-development mailing list
Mira-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mira-development