Summary: | java.lang.Exception: file gtktreestore.c: line 583 (gtk_tree_store_get_path): assertion failed: (G_NODE (iter->user_data)->parent != NULL) | ||
---|---|---|---|
Product: | frysk | Reporter: | Andrew Cagney <cagney> |
Component: | general | Assignee: | Andrew Cagney <cagney> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pmuldoon, swagiaal |
Priority: | P1 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Bug Depends on: | |||
Bug Blocks: | 1838, 2249 |
Description
Andrew Cagney
2005-11-14 19:25:17 UTC
to produce that bug do the follwing: run frysk cd to the frysk directory ./frysk-core/prog/kill/child 0 get the pid of that process ^ kill -SIGHUP that pid that will case it to fork a child get the pid of the child kill -SIGHUP that pid get that pid kill -SIGHUP that pid now pkill child this will agrivate the gtk bug and cause frysk to crash When a process is reparented there is no update call to notify the front end of that change. This results in a corrupt tree and in some cases crash of frysk with the this error message. This checks that, a deleted process has lost all children (i.e., the children have had their parent pointer updated before the delete). Turned out that this is how it was already working -> no code changes were needed. This just leaves the question of needing the re-parent observer. Index: frysk-core/frysk/proc/ChangeLog 2006-02-12 Andrew Cagney <cagney@redhat.com> * TestRefresh.java (testExitLoosesAllChildren): New. * LinuxHost.java: Add more comments. I added code to the gui that alwasy reparents children of a process to process 1. Looks like this fixed the gtk tree store problem however during my investigation i realized that proc/task destroyed are arriving from the core in duplicates. This leads to some other instability bugs, and npe's in the reparenting. 2006-02-18 Phil Muldoon <pmuldoon@redhat.com? * ProcViewPage.java: Sort and Filter on new Boolean DataColumn. * ProcDataModel.java: Check thread parentage in a tree using a Boolean DataColumn instead of a -1 ... +1 model using DataColumnInt. 2006-02-16 Sami Wagiaalla <swagiaal@redhat.com> * ProcDataModel.java : Was removing an iterator before reparenting its children... fixed. 2006-02-15 Sami Wagiaalla <swagiaal@redhat.com> * ProcDataModel.java: Added reparent code. few minor spelling fixes. |