Quantcast
Channel: Intel® Many Integrated Core Architecture
Viewing all articles
Browse latest Browse all 1347

micctrl crash

$
0
0

micctrl crashes if I change OSimage in micX.conf on MPSS 3.2. I traced it and found a problem.   I checked the MPSS-3.2.1 source code and looks this problem still there. See below for a fix.

- kaz

--- mpss-daemon-3.2/libmpssconfig/mpssconfig.c.bak    2014-04-24 01:01:47.097544049 -0500

+++ mpss-daemon-3.2/libmpssconfig/mpssconfig.c    2014-04-24 01:02:01.256545552 -0500

@@ -205,7 +205,7 @@

         return 0;

     }

 

-    if ((mic->config.boot.systemmap = malloc(strlen(map)) + 1) != NULL) {

+    if ((mic->config.boot.systemmap = malloc(strlen(map)+ 1)) != NULL) {

         strcpy(mic->config.boot.systemmap, map);

         add_perr(perrs, PINFO, "%s: [Parse] OS System map %s", mic->name, map);

     }

 


Viewing all articles
Browse latest Browse all 1347

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>