Re: Reg: seg fault
- From: tomas tuxteam de
- To: Prasad Achar <prasad karkala gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Reg: seg fault
- Date: Sun, 31 Dec 2006 15:16:55 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, Dec 30, 2006 at 01:08:30PM +0530, Prasad Achar wrote:
[130 lines]
Here...
My problem is that ...when I enter disburse button in Fuction 1
(disburse_loan ) .......the ( func 2) the fetch_entry is executed......but
my problem is that when call fun3 from fun2......fun 3 is failing..tells
seg fault!!!
Sorry, Prasad. I think you'll have to present your things better for us
to be able to help you. Just skimming over your longisch code snippet I
realized that this isn't even enough information to adventure a guess on
what is going wrong.
As a tip: start your program under gdb (on the command line type "gdb
<program name>", then "run"). When the program segfaults, then type
"backtrace" at the gdb prompt. You will get a printout of the stack
(i.e. which function calls are active at this point in time). This may
point you to the problem.
Maybe if you shorten your test case a bit someone will try and get a
plunge into your code.
Regards -- and happy new year
- -- tomÃs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFFl9RnBcgs9XrR2kYRAvtiAJ410EfqqEbUvXTBPn8ePZxiSXw2UwCfWM0Y
53xN2R6w4KXIxOcUFItqZ90=
=zpOV
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]