| Subject | : | os/2 memory issue |
| Author | : | ash |
| Date | : | 14 May, 2004 on 21:24 |
| We have a weird problem with our software which runs on our tools running on os/2. Heres a sample code, where coord() is a class. These are declared globally and there are a lot of such code all over. But the problem is during the regular process, somehow the memory gets overwritten for these and it has junk from that point on. like Coord(2.1000e-314, 0) and everything goes beserk, ends with a crash to desktop. I have no clue why and who is overwritting the memory. Do we have any tools find such issues or any way to deal with this kind of memory issue? The entire code is C/C++ compiled with a Visual age compiler. Any help would be great. Hegde |
| Subject | : | Re:os/2 memory issue |
| Author | : | zoron |
| Date | : | 16 May, 2004 on 10:11 |
| Have you tried running your program through the debugger? You can step through the program watching the appropriate variables to determine the section of code which is causing the problem. |
| Subject | : | Re:os/2 memory issue |
| Author | : | Kim |
| Date | : | 17 May, 2004 on 14:21 |
| Not really the topic started here; but if one have problem with that a drivers for some reason is overwriten by some other driver. Is there any way of figuring out what driver or any other system file that during boot is doing this? Need to figure out so I can use reserve.sys to reserve the memory area for the driver that is "damaged" during boot. |
| Subject | : | Re:os/2 memory issue |
| Author | : | ash |
| Date | : | 18 May, 2004 on 00:05 |
| Running it in the debugger doesnt let me know on to who overwrote this memory. Some where there is a code overwriting this memory BUT it never crashes when this memory is overwritten. It crashes when we try to access this previously declared memory. I am trying to find some tool to check this memory. I couldnt figure out with the icsdebug debugger on how to check this memory. Hegde |
| Subject | : | Re:os/2 memory issue |
| Author | : | oli |
| Date | : | 18 May, 2004 on 02:50 |
| You are probably looking for Theseus : ftp://ftp.software.ibm.com/ps/products/os2/fixes/v4warp/theseus3/ for warp 3 FP 38 or higher ftp://service.boulder.ibm.com/ps/products/os2/fixes/v4.5warp/theseus4/thes4001.exe for Warp 4 FP15 or higher Articles : |
| Subject | : | Re:os/2 memory issue |
| Author | : | ash |
| Date | : | 20 May, 2004 on 21:46 |
| Thanks oli for the Theseus tool .... Nice to know that there is some tool in os/2 too. I found out that some PMMERGE is causing this problem. This is some os/2 dll. I dont know what it is doing. Anybody any ideas? What does this PMMerge do? The crash happens when we are trying to put data into a Dialog and display. Hegde |
| Subject | : | Re:os/2 memory issue |
| Author | : | oli |
| Date | : | 20 May, 2004 on 22:24 |
| PMMERGE is loads of graphic dll's merged into one, hence name, this hapened at v21 or v3, cannot remember |
| Subject | : | Re:os/2 memory issue |
| Author | : | zionite |
| Date | : | 21 May, 2004 on 19:14 |
| Thanks for the tip regarding Theseus; solved some issues here at my side as well. |