samjnaa@chandas:~/bin/swisseph/panchaanga> valgrind --tool=memcheck ./monthpan ==8908== Memcheck, a memory error detector. ==8908== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==8908== Using LibVEX rev 1575, a library for dynamic binary translation. ==8908== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==8908== Using valgrind-3.1.1, a dynamic binary instrumentation framework. ==8908== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==8908== For more details, rerun with: -v ==8908== Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens Please provide the start and end Gregorian dates. Years must be in the range 1800 to 2399 CCE ("AD"). Two-digit years are not accepted. The timezone must be specified in terms of the UTC offset, positive east of Greenwich. Please enter the start date. Date as YYYY-MM-DD : 2006-05-15 Please enter the end date. Date as YYYY-MM-DD : 2006-06-14 ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A784: swi_cartpol_sp (swephlib.c:347) ==8908== by 0x804E302: app_pos_rest (sweph.c:2375) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A78A: swi_cartpol_sp (swephlib.c:347) ==8908== by 0x804E302: app_pos_rest (sweph.c:2375) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A79E: swi_cartpol_sp (swephlib.c:347) ==8908== by 0x804E302: app_pos_rest (sweph.c:2375) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A7A0: swi_cartpol_sp (swephlib.c:347) ==8908== by 0x804E302: app_pos_rest (sweph.c:2375) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A8C9: swi_cartpol_sp (swephlib.c:347) ==8908== by 0x804E302: app_pos_rest (sweph.c:2375) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A7D3: swi_cartpol_sp (swephlib.c:354) ==8908== by 0x804E302: app_pos_rest (sweph.c:2375) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A7D5: swi_cartpol_sp (swephlib.c:354) ==8908== by 0x804E302: app_pos_rest (sweph.c:2375) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A7F8: swi_cartpol_sp (swephlib.c:355) ==8908== by 0x804E302: app_pos_rest (sweph.c:2375) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A7FE: swi_cartpol_sp (swephlib.c:355) ==8908== by 0x804E302: app_pos_rest (sweph.c:2375) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A784: swi_cartpol_sp (swephlib.c:347) ==8908== by 0x804E311: app_pos_rest (sweph.c:2376) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A78A: swi_cartpol_sp (swephlib.c:347) ==8908== by 0x804E311: app_pos_rest (sweph.c:2376) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A79E: swi_cartpol_sp (swephlib.c:347) ==8908== by 0x804E311: app_pos_rest (sweph.c:2376) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A7A0: swi_cartpol_sp (swephlib.c:347) ==8908== by 0x804E311: app_pos_rest (sweph.c:2376) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A8C9: swi_cartpol_sp (swephlib.c:347) ==8908== by 0x804E311: app_pos_rest (sweph.c:2376) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A7D3: swi_cartpol_sp (swephlib.c:354) ==8908== by 0x804E311: app_pos_rest (sweph.c:2376) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A7D5: swi_cartpol_sp (swephlib.c:354) ==8908== by 0x804E311: app_pos_rest (sweph.c:2376) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A7F8: swi_cartpol_sp (swephlib.c:355) ==8908== by 0x804E311: app_pos_rest (sweph.c:2376) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Conditional jump or move depends on uninitialised value(s) ==8908== at 0x805A7FE: swi_cartpol_sp (swephlib.c:355) ==8908== by 0x804E311: app_pos_rest (sweph.c:2376) ==8908== by 0x8050B04: app_pos_etc_sun (sweph.c:3179) ==8908== by 0x8051B11: main_planet (sweph.c:1259) ==8908== by 0x8054D4B: swecalc (sweph.c:675) ==8908== by 0x8056F56: swe_calc (sweph.c:288) ==8908== by 0x806199D: swe_rise_trans (swecl.c:2905) ==8908== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== ==8908== Invalid read of size 1 ==8908== at 0x4021FB8: strlen (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==8908== by 0x40A0807: vfprintf (in /lib/libc-2.4.so) ==8908== by 0x40A5C92: printf (in /lib/libc-2.4.so) ==8908== by 0x8049B71: listsplpanchaanga (monthpan.c:593) ==8908== by 0x804AC97: main (monthpan.c:148) ==8908== Address 0x726956 is not stack'd, malloc'd or (recently) free'd ==8908== ==8908== Process terminating with default action of signal 11 (SIGSEGV) ==8908== Access not within mapped region at address 0x726956 ==8908== at 0x4021FB8: strlen (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==8908== by 0x40A0807: vfprintf (in /lib/libc-2.4.so) ==8908== by 0x40A5C92: printf (in /lib/libc-2.4.so) ==8908== by 0x8049B71: listsplpanchaanga (monthpan.c:593) ==8908== by 0x804AC97: main (monthpan.c:148) grahanaama[0] = ==8908== ==8908== ERROR SUMMARY: 4419 errors from 19 contexts (suppressed: 3 from 1) ==8908== malloc/free: in use at exit: 0 bytes in 0 blocks. ==8908== malloc/free: 0 allocs, 0 frees, 0 bytes allocated. ==8908== For counts of detected errors, rerun with: -v ==8908== All heap blocks were freed -- no leaks are possible. Segmentation fault samjnaa@chandas:~/bin/swisseph/panchaanga> make gcc -c -g -O2 -Wall monthpan.c gcc -g -O2 -Wall -o monthpan monthpan.o -L. -lswe -lm -lefence samjnaa@chandas:~/bin/swisseph/panchaanga> valgrind --tool=memcheck ./monthpan ==9160== Memcheck, a memory error detector. ==9160== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==9160== Using LibVEX rev 1575, a library for dynamic binary translation. ==9160== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==9160== Using valgrind-3.1.1, a dynamic binary instrumentation framework. ==9160== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==9160== For more details, rerun with: -v ==9160== Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens Please provide the start and end Gregorian dates. Years must be in the range 1800 to 2399 CCE ("AD"). Two-digit years are not accepted. The timezone must be specified in terms of the UTC offset, positive east of Greenwich. Please enter the start date. Date as YYYY-MM-DD : 2006-05-15 Please enter the end date. Date as YYYY-MM-DD : 2006-06-14 ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A754: swi_cartpol_sp (swephlib.c:347) ==9160== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A75A: swi_cartpol_sp (swephlib.c:347) ==9160== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A76E: swi_cartpol_sp (swephlib.c:347) ==9160== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A770: swi_cartpol_sp (swephlib.c:347) ==9160== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A899: swi_cartpol_sp (swephlib.c:347) ==9160== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A7A3: swi_cartpol_sp (swephlib.c:354) ==9160== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A7A5: swi_cartpol_sp (swephlib.c:354) ==9160== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A7C8: swi_cartpol_sp (swephlib.c:355) ==9160== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A7CE: swi_cartpol_sp (swephlib.c:355) ==9160== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A754: swi_cartpol_sp (swephlib.c:347) ==9160== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A75A: swi_cartpol_sp (swephlib.c:347) ==9160== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A76E: swi_cartpol_sp (swephlib.c:347) ==9160== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A770: swi_cartpol_sp (swephlib.c:347) ==9160== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A899: swi_cartpol_sp (swephlib.c:347) ==9160== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A7A3: swi_cartpol_sp (swephlib.c:354) ==9160== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A7A5: swi_cartpol_sp (swephlib.c:354) ==9160== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A7C8: swi_cartpol_sp (swephlib.c:355) ==9160== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Conditional jump or move depends on uninitialised value(s) ==9160== at 0x805A7CE: swi_cartpol_sp (swephlib.c:355) ==9160== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9160== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9160== by 0x8051AE1: main_planet (sweph.c:1259) ==9160== by 0x8054D1B: swecalc (sweph.c:675) ==9160== by 0x8056F26: swe_calc (sweph.c:288) ==9160== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9160== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== ==9160== Invalid read of size 1 ==9160== at 0x4021FB8: strlen (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==9160== by 0x40A0807: vfprintf (in /lib/libc-2.4.so) ==9160== by 0x40A5C92: printf (in /lib/libc-2.4.so) ==9160== by 0x8049B7D: listsplpanchaanga (monthpan.c:593) ==9160== by 0x804AC67: main (monthpan.c:148) ==9160== Address 0x726956 is not stack'd, malloc'd or (recently) free'd ==9160== ==9160== Process terminating with default action of signal 11 (SIGSEGV) ==9160== Access not within mapped region at address 0x726956 ==9160== at 0x4021FB8: strlen (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==9160== by 0x40A0807: vfprintf (in /lib/libc-2.4.so) ==9160== by 0x40A5C92: printf (in /lib/libc-2.4.so) ==9160== by 0x8049B7D: listsplpanchaanga (monthpan.c:593) ==9160== by 0x804AC67: main (monthpan.c:148) debug: vaasara = 1, graha = Somadebug: vaasara = 2, graha = Mangaladebug: vaasara = 3, graha = Budhadebug: vaasara = 4, graha = Gurudebug: vaasara = 5, graha = Shukradebug: vaasara = 6, graha = Shanidebug: vaasara = 0, graha = ==9160== ==9160== ERROR SUMMARY: 22083 errors from 19 contexts (suppressed: 3 from 1) ==9160== malloc/free: in use at exit: 0 bytes in 0 blocks. ==9160== malloc/free: 0 allocs, 0 frees, 0 bytes allocated. ==9160== For counts of detected errors, rerun with: -v ==9160== All heap blocks were freed -- no leaks are possible. Segmentation fault samjnaa@chandas:~/bin/swisseph/panchaanga> make gcc -c -g -O2 -Wall monthpan.c gcc -g -O2 -Wall -o monthpan monthpan.o -L. -lswe -lm -lefence samjnaa@chandas:~/bin/swisseph/panchaanga> valgrind --tool=memcheck ./monthpan > oput ==9579== Memcheck, a memory error detector. ==9579== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==9579== Using LibVEX rev 1575, a library for dynamic binary translation. ==9579== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==9579== Using valgrind-3.1.1, a dynamic binary instrumentation framework. ==9579== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==9579== For more details, rerun with: -v ==9579== Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens ==9579== ==9579== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 3 from 1) ==9579== malloc/free: in use at exit: 0 bytes in 0 blocks. ==9579== malloc/free: 0 allocs, 0 frees, 0 bytes allocated. ==9579== For counts of detected errors, rerun with: -v ==9579== All heap blocks were freed -- no leaks are possible. samjnaa@chandas:~/bin/swisseph/panchaanga> valgrind --tool=memcheck ./monthpan ==9675== Memcheck, a memory error detector. ==9675== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==9675== Using LibVEX rev 1575, a library for dynamic binary translation. ==9675== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==9675== Using valgrind-3.1.1, a dynamic binary instrumentation framework. ==9675== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==9675== For more details, rerun with: -v ==9675== Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens Please provide the start and end Gregorian dates. Years must be in the range 1800 to 2399 CCE ("AD"). Two-digit years are not accepted. The timezone must be specified in terms of the UTC offset, positive east of Greenwich. Please enter the start date. Date as YYYY-MM-DD : 2006-05-15 Please enter the end date. Date as YYYY-MM-DD : 2006-06-14 ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A754: swi_cartpol_sp (swephlib.c:347) ==9675== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A75A: swi_cartpol_sp (swephlib.c:347) ==9675== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A76E: swi_cartpol_sp (swephlib.c:347) ==9675== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A770: swi_cartpol_sp (swephlib.c:347) ==9675== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A899: swi_cartpol_sp (swephlib.c:347) ==9675== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A7A3: swi_cartpol_sp (swephlib.c:354) ==9675== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A7A5: swi_cartpol_sp (swephlib.c:354) ==9675== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A7C8: swi_cartpol_sp (swephlib.c:355) ==9675== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A7CE: swi_cartpol_sp (swephlib.c:355) ==9675== by 0x804E2D2: app_pos_rest (sweph.c:2375) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A754: swi_cartpol_sp (swephlib.c:347) ==9675== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A75A: swi_cartpol_sp (swephlib.c:347) ==9675== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A76E: swi_cartpol_sp (swephlib.c:347) ==9675== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A770: swi_cartpol_sp (swephlib.c:347) ==9675== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A899: swi_cartpol_sp (swephlib.c:347) ==9675== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A7A3: swi_cartpol_sp (swephlib.c:354) ==9675== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A7A5: swi_cartpol_sp (swephlib.c:354) ==9675== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A7C8: swi_cartpol_sp (swephlib.c:355) ==9675== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== ==9675== Conditional jump or move depends on uninitialised value(s) ==9675== at 0x805A7CE: swi_cartpol_sp (swephlib.c:355) ==9675== by 0x804E2E1: app_pos_rest (sweph.c:2376) ==9675== by 0x8050AD4: app_pos_etc_sun (sweph.c:3179) ==9675== by 0x8051AE1: main_planet (sweph.c:1259) ==9675== by 0x8054D1B: swecalc (sweph.c:675) ==9675== by 0x8056F26: swe_calc (sweph.c:288) ==9675== by 0x806196D: swe_rise_trans (swecl.c:2905) ==9675== by 0x8049AD0: listsplpanchaanga (monthpan.c:512) ==9675== by 0x804AC67: main (monthpan.c:148) debug: vaasara = 1, graha = Soma debug: vaasara = 2, graha = Mangala debug: vaasara = 3, graha = Budha debug: vaasara = 4, graha = Guru debug: vaasara = 5, graha = Shukra debug: vaasara = 6, graha = Shani ==9675== ==9675== Invalid read of size 1 ==9675== at 0x4021FB8: strlen (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==9675== by 0x40A0807: vfprintf (in /lib/libc-2.4.so) ==9675== by 0x40A5C92: printf (in /lib/libc-2.4.so) ==9675== by 0x8049B7D: listsplpanchaanga (monthpan.c:593) ==9675== by 0x804AC67: main (monthpan.c:148) ==9675== Address 0x726956 is not stack'd, malloc'd or (recently) free'd ==9675== ==9675== Process terminating with default action of signal 11 (SIGSEGV) ==9675== Access not within mapped region at address 0x726956 ==9675== at 0x4021FB8: strlen (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==9675== by 0x40A0807: vfprintf (in /lib/libc-2.4.so) ==9675== by 0x40A5C92: printf (in /lib/libc-2.4.so) ==9675== by 0x8049B7D: listsplpanchaanga (monthpan.c:593) ==9675== by 0x804AC67: main (monthpan.c:148) debug: vaasara = 0, graha = ==9675== ==9675== ERROR SUMMARY: 22083 errors from 19 contexts (suppressed: 3 from 1) ==9675== malloc/free: in use at exit: 0 bytes in 0 blocks. ==9675== malloc/free: 0 allocs, 0 frees, 0 bytes allocated. ==9675== For counts of detected errors, rerun with: -v ==9675== All heap blocks were freed -- no leaks are possible. Segmentation fault samjnaa@chandas:~/bin/swisseph/panchaanga>