Hello Younwoo Kim, On 01/14/2013 07:53 AM, Younwoo Kim wrote: > Hello Genode, > When running the test program on Fiasco.OC, often a page fault occurs. > > I assume that, I made a bug by misusing of a shared library. However, I > don't know how to get a shared library text. > > for example, /proc/id/maps on linux: ( or pmap ) > root:/proc/1# cat maps > b74fa000-b7505000 r-xp 00000000 08:01 10384183 /lib/i386-linux-gnu/ > libnss_files-2.15.so > b7505000-b7506000 r--p 0000a000 08:01 10384183 /lib/i386-linux-gnu/ > libnss_files-2.15.so > ... > > I want to get a section information of shared library for finding a cause > of page fault. > > What should I do for solving this question? >
you can apply the following patch: https://raw.github.com/cproc/genode_stuff/tmp/tmp/ldso_show_link_addr.diff Then the dynamic linker will show the shared library address ranges as debug output. Regards, Christian ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ Genode-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/genode-main
