i am getting segmentation fault (core dumped)
i tried following things but couldn't understand what is wrong with my prog and where the problem is....
i have only adb debugger available on solaris....
so plz help
bash-3.00$ pstack core
core 'core' of 765: ./mod_generalised_tapinread CDPERTMGTMSC01304 3.6_selectedfields gener
ff2d682c t_splay (400, 0, 0, 0, ff36e2ec, ff36e2ec) + f4
ff2d59fc _smalloc (8, 0, 98930, ff2d5bd8, fffffffe, ff3771a8) + 4c
ff2d5ab4 malloc (2, 1, 9887c, ff31b7e0, ff36e2ec, ff3784b0) + 4c
ff2c2080 calloc (1, 1, 2, 3, 126178, 1) + 58
00015aa8 getHEXString (ff37334c, 2, d134b, 80808080, ff00, 2) + 100
00012c0c parseBinaryFile (0, ff37335c, 0, 27194, ff36e2ec, 274fc) + 7ac
0001225c main (4, ffbffc3c, ffbffc50, 27b2c, ff3900c0, 0) + aa8
0001128c _start (0, 0, 0, 0, 0, 0) + 5c
7:15:29 PM
?
bash-3.00$ pflags core
core 'core' of 765: ./mod_generalised_tapinread CDPERTMGTMSC01304 3.6_selectedfields gener
data model = _ILP32 flags = MSACCT|MSFORK
/1: flags = 0
sigmask = 0xffffbefc,0x0000ffff cursig = SIGSEGV
7:19:38 PM
?
bash-3.00$ pldd core
core 'core' of 765: ./mod_generalised_tapinread CDPERTMGTMSC01304 3.6_selectedfields gener
/lib/libc.so.1
/platform/sun4u-opl/lib/libc_psr.so.1
i am getting segmentation fault (core dumped)
i tried following things but couldn't understand what is wrong with my prog and where the problem is....
i have only adb and mdb debugger available on solaris....
so plz help
bash-3.00$ pstack core
core 'core' of 765: ./mod_generalised_tapinread CDPERTMGTMSC01304 3.6_selectedfields gener
ff2d682c t_splay (400, 0, 0, 0, ff36e2ec, ff36e2ec) + f4
ff2d59fc _smalloc (8, 0, 98930, ff2d5bd8, fffffffe, ff3771a8) + 4c
ff2d5ab4 malloc (2, 1, 9887c, ff31b7e0, ff36e2ec, ff3784b0) + 4c
ff2c2080 calloc (1, 1, 2, 3, 126178, 1) + 58
00015aa8 getHEXString (ff37334c, 2, d134b, 80808080, ff00, 2) + 100
00012c0c parseBinaryFile (0, ff37335c, 0, 27194, ff36e2ec, 274fc) + 7ac
0001225c main (4, ffbffc3c, ffbffc50, 27b2c, ff3900c0, 0) + aa8
0001128c _start (0, 0, 0, 0, 0, 0) + 5c
7:15:29 PM
?
bash-3.00$ pflags core
core 'core' of 765: ./mod_generalised_tapinread CDPERTMGTMSC01304 3.6_selectedfields gener
data model = _ILP32 flags = MSACCT|MSFORK
/1: flags = 0
sigmask = 0xffffbefc,0x0000ffff cursig = SIGSEGV
7:19:38 PM
?
bash-3.00$ pldd core
core 'core' of 765: ./mod_generalised_tapinread CDPERTMGTMSC01304 3.6_selectedfields gener
/lib/libc.so.1
/platform/sun4u-opl/lib/libc_psr.so.1