[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

error in my code



hi,

i am coding a web interface in c++ - cgi . when i call a member function
of one class which returns char * in another class member function, it
is giving segv. when i run gdb the following problem is arising.


Program received signal SIGSEGV, Segmentation fault.
0x4000a9d5 in fixup () from /lib/ld-linux.so.2
(gdb) bt
#0  0x4000a9d5 in fixup () from /lib/ld-linux.so.2
#1  0x4000ab40 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#2  0x8049347 in Menu::InternalInterface (this=0xbffffa8b) at
Menu.cpp:375
#3  0x8048e7a in Menu::ShowMenu (this=0xbffffae4) at Menu.cpp:34
#4  0x8048d03 in main () at ffcgi.cpp:20
#5  0x400ad65f in __libc_start_main () from /lib/libc.so.6
(gdb)

thanks in prior
regards
prem






Reply to: