Re: segmentation fault in t_splay() calling Tcl_Alloc()
From: Ralf Fassel (ralfixx_at_gmx.de)
Date: 10/06/03
- Next message: Ronald Rood: "Re: grab html table[s] from html to files"
- Previous message: Anthony Davis: "segmentation fault in t_splay() calling Tcl_Alloc()"
- In reply to: Anthony Davis: "segmentation fault in t_splay() calling Tcl_Alloc()"
- Next in thread: Anthony Davis: "Re: segmentation fault in t_splay() calling Tcl_Alloc()"
- Reply: Anthony Davis: "Re: segmentation fault in t_splay() calling Tcl_Alloc()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 06 Oct 2003 20:59:45 +0200
* adavis@addpower.com (Anthony Davis)
| Let me first start this message by stating that I believe this to be
| an error in gcc,
Hmm... given the evidence you produced so far, most honorable
opponent, I dare to draw your attention towards other possible
culprits...
| ... and I am getting a segmentation fault in the libc function
| t_splay() after calling Tcl_Alloc() in my application.
Usually segfaults like these result from memory corruption,
i.e. you're thrashing malloc's stack somewhere else, and only at the
next malloc the effect becomes visible.
Does your program call malloc()/free() itself besides Tcl_Alloc()?
Have you checked the pointers there?
R'
- Next message: Ronald Rood: "Re: grab html table[s] from html to files"
- Previous message: Anthony Davis: "segmentation fault in t_splay() calling Tcl_Alloc()"
- In reply to: Anthony Davis: "segmentation fault in t_splay() calling Tcl_Alloc()"
- Next in thread: Anthony Davis: "Re: segmentation fault in t_splay() calling Tcl_Alloc()"
- Reply: Anthony Davis: "Re: segmentation fault in t_splay() calling Tcl_Alloc()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|