Re: backtrace gdb symbol error

Bin Chen
2007-10-25T01:53:29Z

Hi Daniel,

I found the gdb's maps are not as the maps from /proc, what may cause
this? My target system seems has something related to prelink, will
this confuse gdb?

My gdb is arm 6.0...

Thanks.
Bin

(gdb) info shared
From To Syms Read Shared Object Library
0x40023100 0x4002ca94 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/lib/libpthread.so.0
0x00042714 0x000bc30c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libstdc++.so.5
0x4007d64c 0x40086ce4 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libpme.so
0x400b6e7c 0x400f75cc Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libkaui.so
0x40123e14 0x40140244 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libppfwextra.so
0x401a9430 0x402299f4 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libpowerparts.so
0x402593c0 0x402666a0 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libYLTelMessage.so.0
0x402a51cc 0x402f4450 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libhailing_widgets.so
0x4030f274 0x4031457c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libimage_codec.so
0x4031f860 0x40320d4c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libyldbmx1.so.0
0x4032e730 0x40333760 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libYLvCardReader.so.0
0x4033edd8 0x40340a40 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libYLvCard.so.0
0x40349824 0x40349d44 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libbase64.so.0
0x403793b4 0x403ac404 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libime.so
0x4046c014 0x4046c8fc Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libAPTelServiceMgr.so
0x40475bac 0x404768e0 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libyzrconv.so
0x404a91d4 0x404b2f00 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libAPAudioManager.so
0x404c1b24 0x404c300c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libAPLEDControl.so
0x404ce010 0x404cfabc Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libAPLMME.so
0x404d8ac0 0x404d8f1c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libYLPowerManagement.so.0
0x404efdf0 0x404fc6e4 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libYLTelService.so
0x40509b08 0x4050a1d0 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libYLVibCtrl.so.0
0x40516774 0x40518e90 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libYLCommon.so
0x4052c37c 0x4056ce70 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libsqlite.so.0
0x40581efc 0x4059037c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libMsgDB.so
0x4059f01c 0x405a68f4 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libmessagesetup_eng.so
0x405b935c 0x405c2ae4 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libmessagesetup_ext.so
0x405d0c60 0x405d8acc Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libTAPI.so
0x405f1fa8 0x40608f30 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libHLFileForm.so
0x406120d4 0x4061ba44 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libdevicesetup_eng.so
0x4061f4f0 0x4061f910 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libAPTelService.so
0x406378f0 0x40656ce8 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libcontactEngine.so
0x4068d6c0 0x4068d8cc Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libunicodePinYin.so
0x406fba90 0x4071c550 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libDrawingPad.so
0x407308e0 0x40733a28 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libalertsetup_eng.so
0x40748574 0x40757b14 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libCalendarShareUI.so
0x407684d8 0x407781c4 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libYLvCalendar.so
0x40786e8c 0x4078d5e0 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libvcalendar_eng.so
0x4079f640 0x407acbac Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libAPEventRecDB.so
0x407b9d54 0x407baa7c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libAPTimeMgr.so
0x407d478c 0x40808788 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libical.so
0x40824698 0x40824800 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libAlertManager.so
0x40830734 0x408346cc Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libcallsetup_eng.so
0x40841e80 0x4085b088 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libHLMsgEngine.so
0x408649c8 0x40878670 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libucommon.so
0x408bdd00 0x408bfdb4 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libucpl.so
0x408cd230 0x408dcbdc Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libudrm.so
0x408f1a7c 0x4090bab4 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libumms.so
0x409222ac 0x40928c1c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libuwhttp.so
0x4093869c 0x40945c2c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libuwsp.so
0x40952124 0x4095388c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libSMSCodec.so
0x4096c3a0 0x4098175c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libEmailShareUI.so
0x4098fb10 0x409fa7b4 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/lib/libm.so.6
0x41349a7c 0x4134ffe4 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libgcc_s.so.1
0x40a51c40 0x40b44de8 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/lib/libc.so.6
0x40b6aedc 0x40b6bb1c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/lib/libdl.so.2
0x40b7c518 0x40b8bac8 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libfilemanager_eng.so
0x400016c0 0x40013254 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/lib/ld-linux.so.2
0x40bb6a60 0x40bb6e04 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libudrm_helper.so
0x40bc169c 0x40bc3f30 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libcalendar2pb_eng.so
0x40bd04cc 0x40bd77f0 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libinternetsetup_eng.so
0x40be5a34 0x40bebe68 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libemail.so
0x40bfe250 0x40c10400 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libsmtp.so
0x40c1df9c 0x40c22470 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libpop3.so
0x40c32af8 0x40c3eeac Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libEmailEng.so
0x40c633b8 0x40c9727c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libpbshareui.so
0x40cb2d74 0x40cd7b64 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libssl.so.0.9.8
0x40d2069c 0x40dd1ca4 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libcrypto.so.0.9.8
0x40e18db8 0x40e1d8d0 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libDataSendBTShareUI.so
0x40e2c4fc 0x40e3522c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libBTEng.so
0x40e41d54 0x40e45e90 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libopenobex.so
0x40e5404c 0x40e5d064 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libbluetooth.so
0x40eedc7c 0x40ef6e9c Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libgif_codec.so
0x41056880 0x41056c04 Yes
/opt/montavista/cee/devkit/arm/v4t_le/target/usr/lib/libcharsort.so
(gdb)

Whereas the /proc/.../maps is:

/proc/415 # cat maps
00008000-000c4000 r-xp 00000000 1f:06 5078
/usr/share/root/MessageCenter.elf2
000cc000-000d3000 rw-p 000bc000 1f:06 5078
/usr/share/root/MessageCenter.elf2
000d3000-0019a000 rwxp 00000000 00:00 0
40000000-40016000 r-xp 00000000 1e:05 978736 /lib/ld-2.3.2.so
40016000-4001e000 rw-p 00000000 00:00 0
4001e000-4001f000 rw-p 00016000 1e:05 978736 /lib/ld-2.3.2.so
4001f000-4002d000 r-xp 00000000 1e:05 2297800 /lib/libpthread-0.10.so
4002d000-4002f000 ---p 0000e000 1e:05 2297800 /lib/libpthread-0.10.so
4002f000-40036000 rw-p 00008000 1e:05 2297800 /lib/libpthread-0.10.so
40036000-40078000 rw-p 00000000 00:00 0
40078000-40088000 r-xp 00000000 1e:05 8888516 /opt/lib/libpme.so
40088000-40091000 rw-p 00008000 1e:05 8888516 /opt/lib/libpme.so
40091000-400fc000 r-xp 00000000 1e:05 8470224 /opt/lib/libkaui.so
400fc000-40101000 ---p 0006b000 1e:05 8470224 /opt/lib/libkaui.so
40101000-40108000 rw-p 00068000 1e:05 8470224 /opt/lib/libkaui.so
40108000-4010d000 rw-p 00000000 00:00 0
4010d000-40141000 r-xp 00000000 1e:05 9512480 /opt/lib/libppfwextra.so
40141000-40145000 ---p 00034000 1e:05 9512480 /opt/lib/libppfwextra.so
40145000-4014b000 rw-p 00030000 1e:05 9512480 /opt/lib/libppfwextra.so
4014b000-4014d000 rw-p 00000000 00:00 0
4014d000-40236000 r-xp 00000000 1f:06 5082 /usr/share/lib/libpowerparts.so
40236000-4023d000 ---p 000e9000 1f:06 5082 /usr/share/lib/libpowerparts.so
4023d000-40247000 rw-p 000e8000 1f:06 5082 /usr/share/lib/libpowerparts.so
40247000-4024e000 rw-p 00000000 00:00 0
4024e000-40267000 r-xp 00000000 1e:05 5341892 /opt/lib/libYLTelMessage.so.0.1
40267000-4026e000 ---p 00019000 1e:05 5341892 /opt/lib/libYLTelMessage.so.0.1
4026e000-40270000 rw-p 00018000 1e:05 5341892 /opt/lib/libYLTelMessage.so.0.1
40270000-40272000 rw-p 00000000 00:00 0
40272000-402f7000 r-xp 00000000 1e:05 7195496 /opt/lib/libhailing_widgets.so
402f7000-402fa000 ---p 00085000 1e:05 7195496 /opt/lib/libhailing_widgets.so
402fa000-40304000 rw-p 00080000 1e:05 7195496 /opt/lib/libhailing_widgets.so
40304000-40309000 rw-p 00000000 00:00 0
40309000-40315000 r-xp 00000000 1e:05 7572008 /opt/lib/libimage_codec.so
40315000-40319000 ---p 0000c000 1e:05 7572008 /opt/lib/libimage_codec.so
40319000-4031e000 rw-p 00008000 1e:05 7572008 /opt/lib/libimage_codec.so
4031e000-40322000 r-xp 00000000 1e:05 11134972 /opt/lib/libyldbmx1.so.0.0.1
40322000-40326000 ---p 00004000 1e:05 11134972 /opt/lib/libyldbmx1.so.0.0.1
40326000-4032a000 rw-p 00000000 1e:05 11134972 /opt/lib/libyldbmx1.so.0.0.1
4032a000-40334000 r-xp 00000000 1e:05 5478368
/opt/lib/libYLvCardReader.so.0.0.1
40334000-4033a000 ---p 0000a000 1e:05 5478368
/opt/lib/libYLvCardReader.so.0.0.1
4033a000-4033d000 rw-p 00008000 1e:05 5478368
/opt/lib/libYLvCardReader.so.0.0.1
4033d000-40341000 r-xp 00000000 1e:05 5471044 /opt/lib/libYLvCard.so.0.0.1
40341000-40345000 ---p 00004000 1e:05 5471044 /opt/lib/libYLvCard.so.0.0.1
40345000-40349000 rw-p 00000000 1e:05 5471044 /opt/lib/libYLvCard.so.0.0.1
40349000-4034a000 r-xp 00000000 1e:05 5555860 /opt/lib/libbase64.so.0.0.1
4034a000-40351000 ---p 00001000 1e:05 5555860 /opt/lib/libbase64.so.0.0.1
40351000-40352000 rw-p 00000000 1e:05 5555860 /opt/lib/libbase64.so.0.0.1
40352000-40447000 r-xp 00000000 1e:05 7592792 /opt/lib/libime.so
40447000-4044a000 ---p 000f5000 1e:05 7592792 /opt/lib/libime.so
4044a000-40458000 rw-p 000f0000 1e:05 7592792 /opt/lib/libime.so
40458000-4046b000 rw-p 00000000 00:00 0
4046b000-4046d000 r-xp 00000000 1e:05 2723012 /opt/lib/libAPTelServiceMgr.so
4046d000-40473000 ---p 00002000 1e:05 2723012 /opt/lib/libAPTelServiceMgr.so
40473000-40475000 rw-p 00000000 1e:05 2723012 /opt/lib/libAPTelServiceMgr.so
40475000-40497000 r-xp 00000000 1e:05 11141828 /opt/lib/libyzrconv.so
40497000-4049d000 ---p 00022000 1e:05 11141828 /opt/lib/libyzrconv.so
4049d000-4049f000 rw-p 00020000 1e:05 11141828 /opt/lib/libyzrconv.so
4049f000-404b5000 r-xp 00000000 1e:05 2555776 /opt/lib/libAPAudioManager.so
404b5000-404b7000 ---p 00016000 1e:05 2555776 /opt/lib/libAPAudioManager.so
404b7000-404bd000 rw-p 00010000 1e:05 2555776 /opt/lib/libAPAudioManager.so
404bd000-404c0000 rw-p 00000000 00:00 0
404c0000-404c4000 r-xp 00000000 1e:05 2653496 /opt/lib/libAPLEDControl.so
404c4000-404c8000 ---p 00004000 1e:05 2653496 /opt/lib/libAPLEDControl.so
404c8000-404cc000 rw-p 00000000 1e:05 2653496 /opt/lib/libAPLEDControl.so
404cc000-404d0000 r-xp 00000000 1e:05 2659656 /opt/lib/libAPLMME.so
404d0000-404d4000 ---p 00004000 1e:05 2659656 /opt/lib/libAPLMME.so
404d4000-404d8000 rw-p 00000000 1e:05 2659656 /opt/lib/libAPLMME.so
404d8000-404da000 r-xp 00000000 1e:05 5339308
/opt/lib/libYLPowerManagement.so.0.0.1
404da000-404e0000 ---p 00002000 1e:05 5339308
/opt/lib/libYLPowerManagement.so.0.0.1
404e0000-404e2000 rw-p 00000000 1e:05 5339308
/opt/lib/libYLPowerManagement.so.0.0.1
404e2000-404ff000 r-xp 00000000 1e:05 5378064 /opt/lib/libYLTelService.so
404ff000-40502000 ---p 0001d000 1e:05 5378064 /opt/lib/libYLTelService.so
40502000-40509000 rw-p 00018000 1e:05 5378064 /opt/lib/libYLTelService.so
40509000-4050b000 r-xp 00000000 1e:05 5428768 /opt/lib/libYLVibCtrl.so.0.0.1
4050b000-40511000 ---p 00002000 1e:05 5428768 /opt/lib/libYLVibCtrl.so.0.0.1
40511000-40513000 rw-p 00000000 1e:05 5428768 /opt/lib/libYLVibCtrl.so.0.0.1
40513000-4051a000 r-xp 00000000 1e:05 5326596 /opt/lib/libYLCommon.so
4051a000-4051b000 ---p 00007000 1e:05 5326596 /opt/lib/libYLCommon.so
4051b000-40522000 rw-p 00000000 1e:05 5326596 /opt/lib/libYLCommon.so
40522000-40572000 r-xp 00000000 1e:05 9651628 /opt/lib/libsqlite.so.0.0.1
40572000-4057b000 rw-p 00048000 1e:05 9651628 /opt/lib/libsqlite.so.0.0.1
4057b000-40592000 r-xp 00000000 1e:05 5241340 /opt/lib/libMsgDB.so
40592000-40593000 ---p 00017000 1e:05 5241340 /opt/lib/libMsgDB.so
40593000-4059a000 rw-p 00010000 1e:05 5241340 /opt/lib/libMsgDB.so
4059a000-405a8000 r-xp 00000000 1e:05 8654632 /opt/lib/libmessagesetup_eng.so
405a8000-405aa000 ---p 0000e000 1e:05 8654632 /opt/lib/libmessagesetup_eng.so
405aa000-405b0000 rw-p 00008000 1e:05 8654632 /opt/lib/libmessagesetup_eng.so
405b0000-405c3000 r-xp 00000000 1e:05 8679000 /opt/lib/libmessagesetup_ext.so
405c3000-405c8000 ---p 00013000 1e:05 8679000 /opt/lib/libmessagesetup_ext.so
405c8000-405cd000 rw-p 00010000 1e:05 8679000 /opt/lib/libmessagesetup_ext.so
405cd000-405da000 r-xp 00000000 1e:05 5292096 /opt/lib/libTAPI.so
405da000-405dd000 ---p 0000d000 1e:05 5292096 /opt/lib/libTAPI.so
405dd000-405e2000 rw-p 00008000 1e:05 5292096 /opt/lib/libTAPI.so
405e2000-4060a000 r-xp 00000000 1e:05 4574544 /opt/lib/libHLFileForm.so
4060a000-4060c000 rw-p 00028000 1e:05 4574544 /opt/lib/libHLFileForm.so
4060c000-4060d000 rw-p 00000000 00:00 0
4060d000-4061d000 r-xp 00000000 1e:05 6732828 /opt/lib/libdevicesetup_eng.so
4061d000-4061e000 rw-p 00010000 1e:05 6732828 /opt/lib/libdevicesetup_eng.so
4061e000-40620000 r-xp 00000000 1e:05 2720056 /opt/lib/libAPTelService.so
40620000-40626000 ---p 00002000 1e:05 2720056 /opt/lib/libAPTelService.so
40626000-40628000 rw-p 00000000 1e:05 2720056 /opt/lib/libAPTelService.so
40628000-4065b000 r-xp 00000000 1e:05 6074292 /opt/lib/libcontactEngine.so
4065b000-40660000 ---p 00033000 1e:05 6074292 /opt/lib/libcontactEngine.so
40660000-40664000 rw-p 00030000 1e:05 6074292 /opt/lib/libcontactEngine.so
40664000-4068f000 r-xp 00000000 1e:05 10845876 /opt/lib/libunicodePinYin.so
4068f000-40694000 ---p 0002b000 1e:05 10845876 /opt/lib/libunicodePinYin.so
40694000-406e9000 rw-p 00028000 1e:05 10845876 /opt/lib/libunicodePinYin.so
406e9000-4071e000 r-xp 00000000 1e:05 4082548 /opt/lib/libDrawingPad.so
4071e000-40721000 ---p 00035000 1e:05 4082548 /opt/lib/libDrawingPad.so
40721000-40728000 rw-p 00030000 1e:05 4082548 /opt/lib/libDrawingPad.so
40728000-4072e000 rw-p 00000000 00:00 0
4072e000-40734000 r-xp 00000000 1e:05 5495856 /opt/lib/libalertsetup_eng.so
40734000-40736000 ---p 00006000 1e:05 5495856 /opt/lib/libalertsetup_eng.so
40736000-4073c000 rw-p 00000000 1e:05 5495856 /opt/lib/libalertsetup_eng.so
4073c000-40758000 r-xp 00000000 1e:05 3957232 /opt/lib/libCalendarShareUI.so
40758000-4075c000 ---p 0001c000 1e:05 3957232 /opt/lib/libCalendarShareUI.so
4075c000-40762000 rw-p 00018000 1e:05 3957232 /opt/lib/libCalendarShareUI.so
40762000-40763000 rw-p 00000000 00:00 0
40763000-4077a000 r-xp 00000000 1e:05 5433704 /opt/lib/libYLvCalendar.so
4077a000-4077b000 ---p 00017000 1e:05 5433704 /opt/lib/libYLvCalendar.so
4077b000-40783000 rw-p 00010000 1e:05 5433704 /opt/lib/libYLvCalendar.so
40783000-4078f000 r-xp 00000000 1e:05 11054712 /opt/lib/libvcalendar_eng.so
4078f000-40793000 ---p 0000c000 1e:05 11054712 /opt/lib/libvcalendar_eng.so
40793000-40798000 rw-p 00008000 1e:05 11054712 /opt/lib/libvcalendar_eng.so
40798000-407b0000 r-xp 00000000 1e:05 2606776 /opt/lib/libAPEventRecDB.so
407b0000-407b9000 rw-p 00010000 1e:05 2606776 /opt/lib/libAPEventRecDB.so
407b9000-407bb000 r-xp 00000000 1e:05 2726488 /opt/lib/libAPTimeMgr.so
407bb000-407c1000 ---p 00002000 1e:05 2726488 /opt/lib/libAPTimeMgr.so
407c1000-407c4000 rw-p 00000000 1e:05 2726488 /opt/lib/libAPTimeMgr.so
407c4000-4080f000 r-xp 00000000 1e:05 7438500 /opt/lib/libical.so
4080f000-40814000 ---p 0004b000 1e:05 7438500 /opt/lib/libical.so
40814000-40821000 rw-p 00048000 1e:05 7438500 /opt/lib/libical.so
40821000-40824000 rw-p 00000000 00:00 0
40824000-40825000 r-xp 00000000 1e:05 2925940 /opt/lib/libAlertManager.so
40825000-4082c000 ---p 00001000 1e:05 2925940 /opt/lib/libAlertManager.so
4082c000-4082d000 rw-p 00000000 1e:05 2925940 /opt/lib/libAlertManager.so
4082d000-40835000 r-xp 00000000 1e:05 5705892 /opt/lib/libcallsetup_eng.so
40835000-40836000 rw-p 00008000 1e:05 5705892 /opt/lib/libcallsetup_eng.so
40836000-4085e000 r-xp 00000000 1f:06 853
/usr/share/lib/libHLMsgEngine.so
4085e000-40860000 rw-p 00028000 1f:06 853
/usr/share/lib/libHLMsgEngine.so
40860000-40861000 rw-p 00000000 00:00 0
40861000-408b1000 r-xp 00000000 1e:05 10416952 /opt/lib/libucommon.so
408b1000-408b2000 rw-p 00050000 1e:05 10416952 /opt/lib/libucommon.so
408b2000-408bc000 rw-p 00000000 00:00 0
408bc000-408c0000 r-xp 00000000 1e:05 10669340 /opt/lib/libucpl.so
408c0000-408c4000 ---p 00004000 1e:05 10669340 /opt/lib/libucpl.so
408c4000-408c9000 rw-p 00000000 1e:05 10669340 /opt/lib/libucpl.so
408c9000-408cb000 rw-p 00000000 00:00 0
408cb000-408e3000 r-xp 00000000 1e:05 10678780 /opt/lib/libudrm.so
408e3000-408eb000 rw-p 00010000 1e:05 10678780 /opt/lib/libudrm.so
408eb000-40917000 r-xp 00000000 1e:05 10738160 /opt/lib/libumms.so
40917000-4091b000 ---p 0002c000 1e:05 10738160 /opt/lib/libumms.so
4091b000-40920000 rw-p 00028000 1e:05 10738160 /opt/lib/libumms.so
40920000-4092a000 r-xp 00000000 1e:05 10987668 /opt/lib/libuwhttp.so
4092a000-40930000 ---p 0000a000 1e:05 10987668 /opt/lib/libuwhttp.so
40930000-40932000 rw-p 00008000 1e:05 10987668 /opt/lib/libuwhttp.so
40932000-40948000 r-xp 00000000 1e:05 11007948 /opt/lib/libuwsp.so
40948000-4094a000 ---p 00016000 1e:05 11007948 /opt/lib/libuwsp.so
4094a000-40951000 rw-p 00010000 1e:05 11007948 /opt/lib/libuwsp.so
40951000-40954000 r-xp 00000000 1e:05 5282868 /opt/lib/libSMSCodec.so
40954000-40959000 ---p 00003000 1e:05 5282868 /opt/lib/libSMSCodec.so
40959000-4095d000 rw-p 00000000 1e:05 5282868 /opt/lib/libSMSCodec.so
4095d000-4095e000 rw-p 00000000 00:00 0
4095e000-40982000 r-xp 00000000 1e:05 4221220 /opt/lib/libEmailShareUI.so
40982000-40986000 ---p 00024000 1e:05 4221220 /opt/lib/libEmailShareUI.so
40986000-4098c000 rw-p 00020000 1e:05 4221220 /opt/lib/libEmailShareUI.so
4098c000-40a31000 r-xp 00000000 1e:05 1707980 /lib/libm-2.3.2.so
40a31000-40a34000 ---p 000a5000 1e:05 1707980 /lib/libm-2.3.2.so
40a34000-40a3a000 rw-p 000a0000 1e:05 1707980 /lib/libm-2.3.2.so
40a3a000-40b5c000 r-xp 00000000 1e:05 1032356 /lib/libc-2.3.2.so
40b5c000-40b62000 ---p 00122000 1e:05 1032356 /lib/libc-2.3.2.so
40b62000-40b68000 rw-p 00120000 1e:05 1032356 /lib/libc-2.3.2.so
40b68000-40b6a000 rw-p 00000000 00:00 0
40b6a000-40b6c000 r-xp 00000000 1e:05 1680360 /lib/libdl-2.3.2.so
40b6c000-40b72000 ---p 00002000 1e:05 1680360 /lib/libdl-2.3.2.so
40b72000-40b74000 rw-p 00000000 1e:05 1680360 /lib/libdl-2.3.2.so
40b74000-40bad000 r-xp 00000000 1e:05 6936376 /opt/lib/libfilemanager_eng.so
40bad000-40bb4000 ---p 00039000 1e:05 6936376 /opt/lib/libfilemanager_eng.so
40bb4000-40bb5000 rw-p 00038000 1e:05 6936376 /opt/lib/libfilemanager_eng.so
40bb5000-40bb6000 rw-p 00000000 00:00 0
40bb6000-40bb7000 r-xp 00000000 1e:05 10735800 /opt/lib/libudrm_helper.so
40bb7000-40bbe000 ---p 00001000 1e:05 10735800 /opt/lib/libudrm_helper.so
40bbe000-40bbf000 rw-p 00000000 1e:05 10735800 /opt/lib/libudrm_helper.so
40bbf000-40bc5000 r-xp 00000000 1e:05 5677220 /opt/lib/libcalendar2pb_eng.so
40bc5000-40bc7000 ---p 00006000 1e:05 5677220 /opt/lib/libcalendar2pb_eng.so
40bc7000-40bcd000 rw-p 00000000 1e:05 5677220 /opt/lib/libcalendar2pb_eng.so
40bcd000-40bd9000 r-xp 00000000 1e:05 8175044
/opt/lib/libinternetsetup_eng.so
40bd9000-40bdd000 ---p 0000c000 1e:05 8175044
/opt/lib/libinternetsetup_eng.so
40bdd000-40be1000 rw-p 00008000 1e:05 8175044
/opt/lib/libinternetsetup_eng.so
40be1000-40be2000 rw-p 00000000 00:00 0
40be2000-40bed000 r-xp 00000000 1e:05 6919076 /opt/lib/libemail.so
40bed000-40bf2000 ---p 0000b000 1e:05 6919076 /opt/lib/libemail.so
40bf2000-40bf5000 rw-p 00008000 1e:05 6919076 /opt/lib/libemail.so
40bf5000-40c12000 r-xp 00000000 1e:05 9601668 /opt/lib/libsmtp.so
40c12000-40c15000 ---p 0001d000 1e:05 9601668 /opt/lib/libsmtp.so
40c15000-40c1b000 rw-p 00018000 1e:05 9601668 /opt/lib/libsmtp.so
40c1b000-40c23000 r-xp 00000000 1e:05 9084740 /opt/lib/libpop3.so
40c23000-40c2b000 rw-p 00000000 1e:05 9084740 /opt/lib/libpop3.so
40c2b000-40c40000 r-xp 00000000 1e:05 4180200 /opt/lib/libEmailEng.so
40c40000-40c43000 ---p 00015000 1e:05 4180200 /opt/lib/libEmailEng.so
40c43000-40c49000 rw-p 00010000 1e:05 4180200 /opt/lib/libEmailEng.so
40c49000-40c9a000 r-xp 00000000 1e:05 8729192 /opt/lib/libpbshareui.so
40c9a000-40ca1000 ---p 00051000 1e:05 8729192 /opt/lib/libpbshareui.so
40ca1000-40ca5000 rw-p 00050000 1e:05 8729192 /opt/lib/libpbshareui.so
40ca5000-40ca7000 rw-p 00000000 00:00 0
40ca7000-40cdd000 r-xp 00000000 1e:05 9843024 /opt/lib/libssl.so.0.9.8
40cdd000-40cdf000 ---p 00036000 1e:05 9843024 /opt/lib/libssl.so.0.9.8
40cdf000-40ce8000 rw-p 00030000 1e:05 9843024 /opt/lib/libssl.so.0.9.8
40ce8000-40ce9000 rw-p 00000000 00:00 0
40ce9000-40df2000 r-xp 00000000 1e:05 6172024 /opt/lib/libcrypto.so.0.9.8
40df2000-40df9000 ---p 00109000 1e:05 6172024 /opt/lib/libcrypto.so.0.9.8
40df9000-40e0e000 rw-p 00108000 1e:05 6172024 /opt/lib/libcrypto.so.0.9.8
40e0e000-40e11000 rw-p 00000000 00:00 0
40e11000-40e1e000 r-xp 00000000 1e:05 4059632
/opt/lib/libDataSendBTShareUI.so
40e1e000-40e21000 ---p 0000d000 1e:05 4059632
/opt/lib/libDataSendBTShareUI.so
40e21000-40e27000 rw-p 00008000 1e:05 4059632
/opt/lib/libDataSendBTShareUI.so
40e27000-40e37000 r-xp 00000000 1e:05 3925768 /opt/lib/libBTEng.so
40e37000-40e3f000 rw-p 00008000 1e:05 3925768 /opt/lib/libBTEng.so
40e3f000-40e47000 r-xp 00000000 1e:05 8714412 /opt/lib/libopenobex.so.1.0.0
40e47000-40e4f000 rw-p 00000000 1e:05 8714412 /opt/lib/libopenobex.so.1.0.0
40e4f000-40e50000 rw-p 00000000 00:00 0
40e50000-40e5f000 r-xp 00000000 1e:05 5558508 /opt/lib/libbluetooth.so.1.0.25
40e5f000-40e60000 ---p 0000f000 1e:05 5558508 /opt/lib/libbluetooth.so.1.0.25
40e60000-40e68000 rw-p 00008000 1e:05 5558508 /opt/lib/libbluetooth.so.1.0.25
40e68000-40e6a000 rw-p 00000000 00:00 0
40e6a000-40e6c000 rwxp 00000000 00:00 0
40e6c000-40e6d000 rw-p 00000000 00:00 0
40e6d000-40e93000 rw-s 20001000 00:07 450 /dev/fb/0
40e93000-40eb9000 rw-s 00000000 00:05 0 /SYSV000003e9 (deleted)
40eb9000-40eba000 rw-s 00000000 00:05 32769 /SYSV000003ea (deleted)
40eba000-40ebb000 rw-s 00000000 00:05 65538 /SYSV000003ee (deleted)
40ebb000-40ebc000 rw-s 00000000 00:05 98307 /SYSV000003ec (deleted)
40ebc000-40ebd000 rw-s 00000000 00:05 163845 /SYSV00007533 (deleted)
40ebd000-40ebe000 r--s 00000000 1e:07 882800
/usr/share/root/resource/fonts/20.bin
40ebe000-40ebf000 r--s 00000000 1e:07 1892368
/usr/share/root/resource/fonts/28.bin
40ebf000-40ec0000 rw-s 00000000 00:05 425997 /SYSV00013883 (deleted)
40ec0000-40ec1000 rw-s 00000000 00:05 327690 /SYSV00009c43 (deleted)
40ec1000-40ee7000 rw-s 00000000 00:05 524304 /SYSV00000000 (deleted)
40ee7000-40ee9000 rw-s 00000000 00:05 458766 /SYSV00000003 (deleted)
40ee9000-40ef8000 r-xp 00000000 1e:05 7071884 /opt/lib/libgif_codec.so
40ef8000-40ef9000 ---p 0000f000 1e:05 7071884 /opt/lib/libgif_codec.so
40ef9000-40f00000 rw-p 00008000 1e:05 7071884 /opt/lib/libgif_codec.so
40f00000-40f01000 rw-s 00000000 00:05 557060 /SYSV000222e3 (deleted)
40f01000-40f02000 rw-s 00000000 00:05 163845 /SYSV00007533 (deleted)
40f02000-40f03000 rw-s 00000000 00:05 262152 /SYSV0000ea63 (deleted)
40f08000-40faf000 r--s 00000000 1e:07 426020
/usr/share/root/resource/fonts/16.bin
40faf000-41056000 r--s 00000000 1e:07 426020
/usr/share/root/resource/fonts/16.bin
41056000-41057000 r-xp 00000000 1e:05 5919788 /opt/lib/libcharsort.so
41057000-4105e000 ---p 00001000 1e:05 5919788 /opt/lib/libcharsort.so
4105e000-4109d000 rw-p 00000000 1e:05 5919788 /opt/lib/libcharsort.so
41160000-41223000 r-xp 00000000 1e:05 9959080 /opt/lib/libstdc++.so.5.0.5
41223000-41228000 ---p 000c3000 1e:05 9959080 /opt/lib/libstdc++.so.5.0.5
41228000-41231000 rw-p 000c0000 1e:05 9959080 /opt/lib/libstdc++.so.5.0.5
41231000-41236000 rw-p 00000000 00:00 0
41348000-41351000 r-xp 00000000 1e:05 7049024 /opt/lib/libgcc_s.so.1
41351000-41358000 ---p 00009000 1e:05 7049024 /opt/lib/libgcc_s.so.1
41358000-41359000 rw-p 00008000 1e:05 7049024 /opt/lib/libgcc_s.so.1
41359000-414d1000 r--s 00000000 1e:07 883048
/usr/share/root/resource/fonts/24.bin
414d1000-41649000 r--s 00000000 1e:07 883048
/usr/share/root/resource/fonts/24.bin
41649000-417c1000 r--s 00000000 1e:07 883048
/usr/share/root/resource/fonts/24.bin
bf000000-bf001000 ---p 00000000 00:00 0
bf001000-bf200000 rwxp 00001000 00:00 0
bf200000-bf201000 ---p 00000000 00:00 0
bf201000-bf400000 rwxp 00001000 00:00 0
bf400000-bf401000 ---p 00000000 00:00 0
bf401000-bf600000 rwxp 00001000 00:00 0
bf600000-bf601000 ---p 00000000 00:00 0
bf601000-bf800000 rwxp 00001000 00:00 0
bfff5000-c0000000 rwxp ffff6000 00:00 0

On 10/24/07, Daniel Jacobowitz <drow@false.org> wrote:
> On Wed, Oct 24, 2007 at 04:20:24PM +0800, Bin Chen wrote:
> > Hi,
> >
> > I enounter a strange problem when i use gdb to do backtrace, I want to
> > know if it is an old problem and has been fixed in newer gdb...
> >
> > I am doing debug from host to a target gdbserver, the frame #3's mapping
> > is error, because the memory map from board shows 0x00046fd0 is not in
> > the range of libstdc++.so.5, but the elf itself. And the address
> > 0x41217918 in frame #13 is in the libstdc++.so.5 but the gdb can't
> > recognize it. So I think the mapping is a bit disorder(but others are
> > correct!!), can I print the mapping table in the gdb side(which is
> > retrieved from gdbserver I think) to see if my guess is right?
>
> Yes, "info shared".
>
> --
> Daniel Jacobowitz
> CodeSourcery
>