You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(26) |
Sep
(8) |
Oct
(14) |
Nov
(21) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(2) |
Feb
(5) |
Mar
(11) |
Apr
(4) |
May
(7) |
Jun
(9) |
Jul
(6) |
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
(12) |
Dec
(2) |
| 2002 |
Jan
(1) |
Feb
(3) |
Mar
(3) |
Apr
(2) |
May
(10) |
Jun
(21) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(10) |
Nov
|
Dec
(7) |
| 2003 |
Jan
(12) |
Feb
(2) |
Mar
(5) |
Apr
(9) |
May
(4) |
Jun
(17) |
Jul
(3) |
Aug
(3) |
Sep
(4) |
Oct
|
Nov
(6) |
Dec
|
| 2004 |
Jan
(10) |
Feb
(4) |
Mar
(5) |
Apr
(5) |
May
(5) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(2) |
Oct
(8) |
Nov
(5) |
Dec
(4) |
| 2005 |
Jan
|
Feb
(3) |
Mar
(7) |
Apr
(3) |
May
(6) |
Jun
(1) |
Jul
(10) |
Aug
(11) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2006 |
Jan
(4) |
Feb
(4) |
Mar
(5) |
Apr
(15) |
May
(20) |
Jun
(5) |
Jul
(9) |
Aug
(2) |
Sep
(1) |
Oct
(4) |
Nov
(1) |
Dec
(2) |
| 2007 |
Jan
(18) |
Feb
(1) |
Mar
(3) |
Apr
|
May
(2) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
(2) |
Oct
(2) |
Nov
(2) |
Dec
(4) |
| 2008 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2009 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(7) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2010 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
|
From: Nelli V. <amb...@gm...> - 2014-02-04 14:29:41
|
Hi there, I am new to UPNP. I was able to build the library and get the device description XML doc from a linksys router. I want to open a port on the router using upnp. Where can I find the API to send the command?(The soap request message)? Please let me know if the question is not clear. Thank you. |
|
From: patrick.marduel <pat...@la...> - 2011-11-29 21:13:19
|
Hi, My DSL box ( SFR neufbox4, FRANCE ) is made with a Linux core. ( see http://www.efixo.com/neufbox4 ) it provides an UPNP server made by LIBUPNP-1.4.1 from //upnp/sourceforge.net . I use already that server with my internet radio ( Philips NP1100 ). That server exposes songs, pictures and videos ( files stored in an usb disk plugged on the box ) I manage to play them on my radio. Until today I was in the best of the worlds I bought some months ago a new TV ( Samsung UE32D5000 ) which has the DLNA client feature. I tried to operate the communication between my UPNP server and my tv. If the tv is able to see the contents exposed by the UPNP server, the files exposed are not seen as media files. When I try to play them, the answer is "unknown type". I cannot display the images, listen the music.... is there a specific setting on the TV (DLNA client) or on the DSL box (UPNP server) to solve that ? is it normal I do not manage to play my files by that way ? or is not it ? which is the precise difference between UPNP and DLNA ? is there a way to manage to operate the communication ? thanks for the advices and the informations Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ? Je crée ma boîte mail www.laposte.net |
|
From: arun k. <aru...@ya...> - 2011-08-17 07:30:24
|
Hi all, Im developing a DLNA Media server using libupnp dll. Here my requirement is to send to transcoded content to the Renderer, once the song or video is requested. Right now I'm using PS3 for testing. My problem is, at the initial stage i'm unable to find the exact transcoded file length for the requested song.I can calculate only the approximate file length. But I can have the exact file length once the transcoding process get over. i.e. with in 1 or 2 mins. so since I don't have to exact file length initially, I need to send the response as http partial content. so I need to know how to send the partial content response using the libupnp. I think these stuffs are in webserver.c. It will be really helpful if anybody guide me. Thanks in advance, Arunkumar |
|
From: balakrishna mp <bal...@gm...> - 2011-02-10 11:07:27
|
Hi,
I have downloaded libUPNP 1.6.10 and trying to build it using MS visual
studio 2005.
I am facing lots of problems as listed below:
1. I am not able to open libupnp.dsw available at \libupnp-1.6.10\build as
it is a VC++ 6 work space.
2. I tried building libupnp.sln available at \libupnp-1.6.10\build\vc8, but
I'm finding lots of errors (nearly 2400 errors in winsock.h, ras.h, node.c
etc).
I think, I'm missing some configuration or settings. Is there any
documentation available for MS VC build?
3. Any body has built this SDK in windows platform?
Pls guide me.
Thanks in advance.
--
--with regards--
Balakrishna M P
|
|
From: Raghavendra. S <rag...@gm...> - 2010-07-16 06:37:17
|
Hi All, Does any one know open source upnp controller? -- Regards & Thanks Raghavendra. S 9880329621 |
|
From: rajesh n. <raj...@ya...> - 2010-04-16 06:36:26
|
Hi,
I want to write a application where in I would like to send messages to and receive messages from all the devices on the network. From what I understood I need to register the device first using the UpnpRegisterRootDevice() api and then send a advertisement using the UpnpSendAdvertisement() api. Is it right?
I would also like to know some details regarding the second and third input parameter in the following function as I cannot infer what exactly to pass as second and third arguments while using it.
UpnpRegisterRootDevice(const char *DescUrl, Upnp_FunPtr Fun, const void *Cookie, UpnpDevice_Handle * Hnd ).
Thanks in advance
Raj
|
|
From: Ganesh k. <gan...@gm...> - 2010-03-15 06:31:38
|
Hi All, Please help me, When working with Action = "Browse" in CDS (content Directory Service) i was getting error value -506 and also not able to get depth into their subdirectory. but remaining directorys, files are able to retrieve successfully. So Please could any one help me to resolve the issue. if you want any other classification i am ready to give. More over the latest UpnpProgramingGuide.pdf does not contain the error description for "-506" so please help me out for proceed further. Regards, Ganesh. |
|
From: Han <kee...@gm...> - 2010-01-10 18:22:35
|
Hi, I am using libupnp-dev 1.6.6-3 and I got the following error when running my code for some time: "total jobs = 100, too many jobs" looking from the libupnp source, this error seems from ThreadPool.c ThreadPoolAdd() function. But I checked my code and did not see any place spawning too many threads. Can anyone shed some lights? thanks. Han |
|
From: Amir m. <aam...@gm...> - 2009-07-02 18:15:33
|
Hi, I want to select an embedded Linux platform to run a libupnp application. Previously I have built a upnp device along with a upnp av server for Ubuntu desktop edition and also for Xandros in EEE PC. Now i want to compile it for some embedded processor . I have selected CompuLab's EM-X270 which runs Angstrom Linux. I am seeking the comments from the other members whether libupnp application can be compiled with Angstrom Linux. Regards, |
|
From: fabrice a. <ak...@ya...> - 2009-06-30 06:04:57
|
Good day all,
Now I understand why KRISHNA wanted to recompile the SDK with the arm compiler, because I have the same problem...
I was looking the source code for libupnp-1.3.1, in order to set the compiler (gcc) to the arm compiler, but I can't find that source code.
Now I'm trying something very cumbersome: gathering all the .c and .h files that may be needed to build a project and then compile them
myself using the arm compiler. But if Krishna (or someone else) already has a solution, please let me know, I'd really appreciate.
Thanks
|
|
From: Amir m. <aam...@gm...> - 2009-06-26 10:09:34
|
Hi, I have developed UPnP device (with various sensor services) using libupnp on Xandros based Asus EEE netbook. I want to transfer the application to a any embedded linux paltform. Can any one suggest that which embedded Linux platform would be best, suitable to execute libupnp applications. If any one can recommend any platform that can execute some other upnp SDK stack. It would be also be of great help for me. Regards, |
|
From: Amir m. <aam...@gm...> - 2009-06-26 00:03:17
|
Hi, I have developed UPnP device (with various sensor services) using libupnp on Xandros based Asus EEE netbook. I want to transfer the application to a any embedded linux paltform. Can any one suggest that which embedded Linux platform would be best, suitable to execute libupnp applications. If any one can recommend any platform that can execute some other upnp SDK stack. It would be also be of great help for me. Regards, Amir |
|
From: fabrice a. <ak...@ya...> - 2009-06-22 09:33:56
|
Hello! do you really have to build the SDK for ARM? or just build the program you wrote? because I'm also using ARM (DNP 9200, SK23), and that is what I intend to do but I'm still struggling with my Makefile (Yeah I know it should be easy, but, it is the first time I'm using Linux for programming so... I'm stucked there) ________________________________ De : Krishna Vallabhaneni <kr...@ub...> À : upn...@li... Envoyé le : Mercredi, 17 Juin 2009, 3h04mn 14s Objet : [UPnP-SDK-discuss] sdk build I am using libupnp-1.3.1 sdk. It compiles and builds for linux on the PC platform, with RedHat Linux 9.x, kernel 2.6.18. It executes properly. I attempt to build it for arm. The copiler is arm_v5t_le-gcc. The configure complains with the following message. How do I fix this ? Krishna [krishna@ubntvid10 libupnp-1.3.1arm]$ ./configure --host=arm_v5t_le --disable-largefile configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for arm_v5t_le-strip... arm_v5t_le-strip checking for --enable-debug... no checking for --enable-client... yes checking for --enable-device... yes checking for --enable-webserver... yes checking for --enable-tools... yes checking for arm_v5t_le-gcc... arm_v5t_le-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm_v5t_le-gcc accepts -g... yes checking for arm_v5t_le-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of arm_v5t_le-gcc... gcc3 checking whether arm_v5t_le-gcc and cc understand -c and -o together... yes checking build system type... i686-pc-linux-gnu checking host system type... Invalid configuration `arm_v5t_le': machine `arm_v5t_le' not recognized configure: error: /bin/sh config.aux/config.sub arm_v5t_le failed [krishna@ubntvid10 libupnp-1.3.1arm]$ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ UPnP-SDK-discuss mailing list UPn...@li... https://lists.sourceforge.net/lists/listinfo/upnp-sdk-discuss |
|
From: Krishna V. <kr...@ub...> - 2009-06-17 20:05:37
|
I am using libupnp1.3.1 sdk
I wish to croscompile for arm. The arm compiler is arm_v5t_le-gcc.
I get the following errors. How do I get around this error ?
[krishna@ubntvid10 libupnp-1.3.1arm]$ ./configure --host=arm_v5t_le
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm_v5t_le-strip... arm_v5t_le-strip
checking for --enable-debug... no
checking for --enable-client... yes
checking for --enable-device... yes
checking for --enable-webserver... yes
checking for --enable-tools... yes
checking for arm_v5t_le-gcc... arm_v5t_le-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm_v5t_le-gcc accepts -g... yes
checking for arm_v5t_le-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of arm_v5t_le-gcc... gcc3
checking whether arm_v5t_le-gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration `arm_v5t_le': machine
`arm_v5t_le' not recognized
configure: error: /bin/sh config.aux/config.sub arm_v5t_le failed
[krishna@ubntvid10 libupnp-1.3.1arm]$
|
|
From: Krishna V. <kr...@ub...> - 2009-06-17 18:39:54
|
I am using libupnp-1.3.1 sdk. It compiles and builds for linux on the PC
platform, with RedHat Linux 9.x, kernel 2.6.18. It executes properly.
I attempt to build it for arm. The copiler is arm_v5t_le-gcc.
The configure complains with the following message. How do I fix this ?
Krishna
[krishna@ubntvid10 libupnp-1.3.1arm]$ ./configure --host=arm_v5t_le
--disable-largefile
configure: WARNING: If you wanted to set the --build type, don't use
--host.
If a cross compiler is detected then cross compile mode will be
used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm_v5t_le-strip... arm_v5t_le-strip
checking for --enable-debug... no
checking for --enable-client... yes
checking for --enable-device... yes
checking for --enable-webserver... yes
checking for --enable-tools... yes
checking for arm_v5t_le-gcc... arm_v5t_le-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm_v5t_le-gcc accepts -g... yes
checking for arm_v5t_le-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of arm_v5t_le-gcc... gcc3
checking whether arm_v5t_le-gcc and cc understand -c and -o together...
yes
checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration `arm_v5t_le': machine
`arm_v5t_le' not recognized
configure: error: /bin/sh config.aux/config.sub arm_v5t_le failed
[krishna@ubntvid10 libupnp-1.3.1arm]$
|
|
From: Justin S. <jus...@gm...> - 2009-05-29 15:26:13
|
Hi, I am getting album art link for photos in metadata, but would also like to get the same for music and videos. Is there a way to get these? Thanks. Justin |
|
From: Anthony M. <am...@sa...> - 2009-05-19 17:48:19
|
I am trying to get UPnP support working on my Linux box (Fedora Core
5). I am using the thttpd web server so I don't need (or want) the web
server support included with pupnp/libupnp. What I want is for the
device to show up via UPnP on the client machine, but when the user
clicks on the device, the thttpd web server handles serving up the
appropriate pages, content, etc.
When I get the device to show up and click on it, the device ends up
trying to serve up http://192.168.1.101:49152/index.html. I think I
need to change the port so it goes to port 80 for the web server to
handle the requests...right?
If I try to disable the web server in UPnP the device never shows up in
the "My Network Places". I have moved the call to UpnpEnableWebserver
around, but it doesn't seem to allow the UPnP advertisement to work
properly if I have the call in there. Here are the calls into the UPnP
API I am using:
status = UpnpInit(ip_address, port);
status = UpnpEnableWebserver(0);
status = UpnpRegisterRootDevice2(UPNPREG_FILENAME_DESC,
"tvdevicedesc.xml",
0,
1,
&DeviceCallbackEventHandler,
NULL,
&device_handle);
status = UpnpSendAdvertisement(device_handle, 100);
Any help is appreciated to assist me in figuring out what I'm doing wrong.
Thanks.
|
|
From: Jared <jar...@gm...> - 2009-04-15 07:35:22
|
Hi all, I am a newer to upnp. I try to setup a ushare streaming server with libupnp and libdlna. But, I got a problem while receiving M-search SSDP packet and responding to M-search. Client send M-search with source port 47835 and destination port 1900. But server respond to this packet with source port 54312 and destination port 47835. So the client can't discovery server. Do I forget something? any suggestion? Thanks -- Sincerely, Jared 清富 Mobile: 0932-945-823(cht) MSN: yel...@ms... E-Mail: jar...@gm... |
|
From: 周亮 <zon...@gm...> - 2009-03-24 06:44:14
|
Everyone, Sorry to interrupt you right now. It's my fault. The configuration of the path is wrong. 2009/3/24 周亮 <zon...@gm...> > Hi, > I am new to UPnP. I have read some documents for the UPnP development. > Today i follow the instruction (the README file), install the lib, and run > the sample code(tvdevices), and give me the error "Error registering the > rootdevice : -108". > Anyone could tell me how the error happened? > > 1. The version is libupnp-1.3.1 > 2. output of my command: > > -------------------------------------------------------------------------------- > [root@zonian upnp]# ./upnp_tv_device > Initializing UPnP Sdk with > ipaddress = (null) port = 0 > UPnP Initialized > ipaddress= 192.168.0.2 port = 49152 > Specifying the webserver root directory -- ./web > Registering the RootDevice > with desc_doc_url: http://192.168.0.2:49152/tvdevicedesc.xml > Error registering the rootdevice : -108 > > --------------------------------------------------------------------------------------- > > |
|
From: 周亮 <zon...@gm...> - 2009-03-24 06:25:36
|
Hi,
I am new to UPnP. I have read some documents for the UPnP development. Today
i follow the instruction (the README file), install the lib, and run the
sample code(tvdevices), and give me the error "Error registering the
rootdevice : -108".
Anyone could tell me how the error happened?
1. The version is libupnp-1.3.1
2. output of my command:
--------------------------------------------------------------------------------
[root@zonian upnp]# ./upnp_tv_device
Initializing UPnP Sdk with
ipaddress = (null) port = 0
UPnP Initialized
ipaddress= 192.168.0.2 port = 49152
Specifying the webserver root directory -- ./web
Registering the RootDevice
with desc_doc_url: http://192.168.0.2:49152/tvdevicedesc.xml
Error registering the rootdevice : -108
---------------------------------------------------------------------------------------
|
|
From: Bob J. <bob...@gm...> - 2009-01-03 06:59:08
|
I've been scouring the code a bit, and am looking for a good way to get at the query string (variable / value pairs) which "may" accompany an HTTP GET request to the mini web server. I believe that parser_parse_requestline would theoretically retain this as part of url_str. I do realize that these query strings on simple GETS don't really fall into the upnp spec, but there a few vendor implementations (i.e. Microsoft) which have chosen to.... "extend" functionality with odd hacks such as the query string. I'm happy to plug away on the code, but was curious if there were any suggestions for a starting point. Thanks in advance for any help. |
|
From: Jean-Pierre M. <jea...@sa...> - 2008-11-17 10:18:30
|
Dear all, I need an implementation of UPnP Low Power for a Set-top box under Linux. Any clue ? best regards JPM _________________________________________ Jean-Pierre MORARD - Innovative Project Leader Responsable Anticipation Decodeurs Sagem Communications Set-top boxes Engineering Unit 31-33, rue des Beaux Soleils - BP 20212 - OSNY 95523 CERGY PONTOISE CEDEX - FRANCE jea...@sa... - www.sagem-communications.com Tel 33 1 58 11 13 72 - Fax 33 1 58 11 11 61 _________________________________________ " Ce courriel et les documents qui y sont attaches peuvent contenir des informations confidentielles. Si vous n'etes pas le destinataire escompte, merci d'en informer l'expediteur immediatement et de detruire ce courriel ainsi que tous les documents attaches de votre systeme informatique. Toute divulgation, distribution ou copie du present courriel et des documents attaches sans autorisation prealable de son emetteur est interdite." " This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, please advise the sender immediately and delete this e-mail and all attached documents from your computer system. Any unauthorised disclosure, distribution or copying hereof is prohibited." |
|
From: Atul J. <Atu...@cs...> - 2008-08-08 06:07:33
|
Hi, I am trying to build upnp lib (libupnp.a) in a directory other than /usr/local/lib. For that I have given following commands * ./configure -prefix=/home/xyz/newlib' * Sudo make install. While configuration is complete, it gives me erro while building The error says "libtoo: install: error can not install libupnp.la to a directory not ending in /usr/local/lib" How can I solve this issue? Thanks atul |
|
From: Sangita P <sp....@ya...> - 2008-03-07 05:08:13
|
Hi All,
I am using http client of libupnp-1.4.6.
Note : Linux version which I am using is fedora core 6.
When I tried to read the file from httpd server with test application.
Test Application:
#include<stdio.h>
#include<upnp.h>
int main(int argc,char * argv[])
{
char *url_str_a = "http://localhost/filename.mts";
void * Handle_a ;
char contentType_a ;
int contentLength_a ;
int httpStatus_a ;
int timeout_a = 1;
char *buf_a = (char *) malloc(2048);
unsigned int sizeOfBuffer = 2048 ,ReadRemainingBytes = 0;
int ReadBytes =0 ;
int retVal = 0;
if(UPNP_E_SUCCESS == UpnpInit(NULL,80))
{
if(UpnpOpenHttpGet( url_str_a, &Handle_a,&contentType_a,&contentLength_a,&httpStatus_a, timeout_a ) == UPNP_E_SUCCESS)
{
ReadBytes = contentLength_a/sizeOfBuffer ;
while(i<=ReadBytes)
{
memset(buf_a, 0, sizeOfBuffer);
retVal = UpnpReadHttpGet(Handle_a,buf_a,&sizeOfBuffer,timeout_a);
if ( retVal == UPNP_E_SUCCESS)
{
printf("UpnpReadHttpGet is successful\n");
}
else
{
printf("READ ERROR\n");
printf("retVal = %d\n",retVal);
break;
}
}
}
}
return 0;
}
I have a printf in membuffer_set_size() for the alloc_len.
int
membuffer_set_size( INOUT membuffer * m,
IN size_t new_length )
{
size_t diff;
size_t alloc_len;
char *temp_buf;
if( new_length >= m->length ) // increase length
{
// need more mem?
if( new_length <= m->capacity ) {
return 0; // have enough mem; done
}
diff = new_length - m->length;
alloc_len = MAXVAL( m->size_inc, diff ) + m->capacity;
} else // decrease length
{
assert( new_length <= m->length );
// if diff is 0..m->size_inc, don't free
if( ( m->capacity - new_length ) <= m->size_inc ) {
return 0;
}
alloc_len = new_length + m->size_inc;
}
assert( alloc_len >= new_length );
printf("alloc-len = %ld\n",alloc_len); ////////////Printf added
temp_buf = realloc( m->buf, alloc_len + 1 ); //LEAK_FIX_MK
if( temp_buf == NULL ) {
// try smaller size
alloc_len = new_length;
temp_buf = realloc( m->buf, alloc_len + 1 ); //LEAK_FIX_MK
if( temp_buf == NULL ) {
return UPNP_E_OUTOF_MEMORY;
}
}
// save
m->buf = temp_buf;
m->capacity = alloc_len;
return 0;
}
When I have run the test application. alloc_len is getting incremented in each iteration it can be seen in the log.
Log:
.....
alloc-len = 20304146
alloc-len = 20306194
alloc-len = 20308242
alloc-len = 20310290
alloc-len = 20312338
alloc-len = 20314386
....
alloc-len = 22364434
alloc-len = 22366482
alloc-len = 22368530
alloc-len = 22370578
alloc-len = 22372626
alloc-len = 22374674
alloc-len = 22376722
alloc-len = 22378770
alloc-len = 22380818
alloc-len = 22382866
....
Since memory is not getting freed, When I tried to run the same application on my platform, I m getting an chrash.
oom-killer: gfp_mask=0x201d2, order=0
Call trace:
[<8444244e>] out_of_memory+0x14e/0x200
[<84444706>] __alloc_pages+0x306/0x340
[<844469f4>] __do_page_cache_readahead+0x114/0x360
[<8447ca32>] sys_select+0x312/0x4e0
[<84535b74>] memset+0x0/0x4c
[<84440f92>] filemap_nopage+0x112/0x4e0
[<8443d260>] find_get_page+0x0/0xc0
[<8444dcc6>] __handle_mm_fault+0xc6/0xa20
[<84412fc2>] do_page_fault+0x102/0x3e0
[<845468da>] tty_ldisc_deref+0x7a/0xe0
[<84548e06>] tty_write+0xa6/0x280
[<84462f24>] vfs_write+0xc4/0x180
[<844638f8>] sys_write+0x38/0x80
[<84405068>] ret_from_exception+0x0/0x8
[<84405000>] tlb_miss_load+0x0/0x4
Mem-info:
DMA per-cpu:
cpu 0 hot: high 42, batch 7 used:6
cpu 0 cold: high 14, batch 3 used:2
DMA32 per-cpu: empty
Normal per-cpu: empty
HighMem per-cpu: empty
Free pages: 1276kB (0kB HighMem)
Active:21480 inactive:75 dirty:0 writeback:0 unstable:0 free:319 slab:438 mapped:21488 pagetables:37
DMA free:1276kB min:1280kB low:1600kB high:1920kB active:85920kB inactive:300kB present:102400kB pages_scanned:96633 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 1*4kB 1*8kB 1*16kB 1*32kB 1*64kB 1*128kB 0*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1276kB
DMA32: empty
Normal: empty
HighMem: empty
Swap cache: add 0, delete 0, find 0/0, race 0+0
Free swap = 0kB
Total swap = 0kB
Free swap: 0kB
25600 pages of RAM
2504 reserved pages
8 pages shared
0 pages swap cached
Out of Memory: Kill process 602 (test-try-3.out) score 1387 and children.
Out of memory: Killed process 602 (test-try-3.out).
Killed
Any help will be appriciated.
Regards,
Sangita
---------------------------------
Unlimited freedom, unlimited storage. Get it now |