Bug 2165 - pmap lookup failures crash kernel
Summary: pmap lookup failures crash kernel
Status: RESOLVED DUPLICATE of bug 2142
Alias: None
Product: systemtap
Classification: Unclassified
Component: translator (show other bugs)
Version: unspecified
: P1 critical
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-17 20:12 UTC by Martin Hunt
Modified: 2006-01-17 20:18 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Hunt 2006-01-17 20:12:09 UTC
global foo
probe begin {
        printf("foo[1] = %d %d\n", @count(foo[1]), @sum(foo[1]))
        exit()
}

generates code like this:
l->__tmp1 = _stp_pmap_get_ix (global_foo, l->__tmp3);
l->__tmp2 = l->__tmp1->count;

Problem is that foo[1] doesn't exist so _stp_pmap_get_ix returns NULL.
Comment 1 Frank Ch. Eigler 2006-01-17 20:18:13 UTC

*** This bug has been marked as a duplicate of 2142 ***