# How to generate a process map

**URL:** https://forum.legato.io/t/how-to-generate-a-process-map/6014
**Category:** Legato Application Framework
**Created:** [November 10, 2021, 3:07pm UTC](https://forum.legato.io/t/how-to-generate-a-process-map/6014 "2021-11-10T15:07:44Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![gnottage](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@gnottage](https://forum.legato.io/u/gnottage)
#### Post date: [November 10, 2021, 3:07pm UTC](https://forum.legato.io/t/how-to-generate-a-process-map/6014/1 "2021-11-10T15:07:44Z")

</div>

I have a complex application that will crash after some time as there’s an illegal address . I’m struggling to find out why, and to do that I need to know what code was being executed when the illegal address was encountered. I have seen a pdf that goes through the steps to find why a Legato application is crashing, however I don’t have a process map.

Please can someone tell me how to generate a process map, or where I can find it if it’s generated by default. I’m using WP76xx tools, so “mksys -t wp76xx abc.sdef”. I will then be able to refer to that and look in the object files to see where it was when the illegal address was used.

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)
#### Post date: [November 10, 2021, 3:20pm UTC](https://forum.legato.io/t/how-to-generate-a-process-map/6014/2 "2021-11-10T15:20:20Z")

</div>

Can you attach the pdf

---

<div class="post-metadata">

### Author: ![gnottage](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@gnottage](https://forum.legato.io/u/gnottage)
#### Post date: [November 10, 2021, 3:32pm UTC](https://forum.legato.io/t/how-to-generate-a-process-map/6014/3 "2021-11-10T15:32:21Z")

</div>

It’s attached on this post: [My application is completed whith core dump](https://forum.legato.io/t/my-application-is-completed-whith-core-dump/5207)

[https://forum.legato.io/uploads/short-url/rLy7OLLoa18D55OsjSEwAPjhVnI.pdf](https://forum.legato.io/uploads/short-url/rLy7OLLoa18D55OsjSEwAPjhVnI.pdf)

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)
#### Post date: [November 10, 2021, 4:50pm UTC](https://forum.legato.io/t/how-to-generate-a-process-map/6014/4 "2021-11-10T16:50:53Z")

</div>

Does this help to find process map?

> <https://stackoverflow.com/questions/53455603/understand-process-memory-map-in-linux/53464446#53464446>

---

<div class="post-metadata">

### Author: ![gnottage](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@gnottage](https://forum.legato.io/u/gnottage)
#### Post date: [November 10, 2021, 5:11pm UTC](https://forum.legato.io/t/how-to-generate-a-process-map/6014/5 "2021-11-10T17:11:00Z")

</div>

Thank you - I think that fills the hole in my knowledge! I’m more a deep embedded programmer coming from platforms where these kind of things are fixed. So good to know that Linux tells you this stuff if you know where to look. I should be able to track it down from there.
