Regarding segmentation fault while creating boxes



Hi All,
 
I am trying to get multiple boxs using gtkdatabox APIs and then i am attaching with it multiple
graphs doing so i am getting unexpected segmentation faults also these are random in nature.
 
I tried checking all my pointer logic and started making from scratch again but i again received
 
the segmentation fault. I finally checked it using gdb debugger after taking core dump and tried
 
to backtrace my code i am attaching the result as follows --
 

[sbox-CHINOOK_X86: ~/Local_WorkSpace_Nisha/N800_DIR] > gdb N800App core
GNU gdb 6.4.90
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/scratchbox/host_shared/lib/libthread_db.so.1".

Core was generated by `./N800App'.
Program terminated with signal 11, Segmentation fault.
#0  0x08049cb0 in signal_idle_func (box=0x806e800) at N800App.c:380
380        if (!GTK_IS_DATABOX (box))
(gdb)

 
Please let me know if some one can provide any idea why this is happening?
 
Regards,
Nisha
 
 

 


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