bugTransport Sample Protocol - Bugs: bug #16629, Too much memory used

 
 

bug #16629: Too much memory used

Submitter:  Julien BRUTUS <brutusj>
Submitted:  Fri 19 May 2006 12:18:25 PM UTC
   
 
Category:  Core Severity:  4 - Important
Status:  Ready For Test Privacy:  Public
Assigned to:  erk Open/Closed:  Closed
Release:  * 0.8.0 Fixed Release:  * 0.8.1
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 18 Oct 2006 01:15:12 PM UTC, comment #5: 

This bug has been fixed with the TSP for Win32 release.
Now in CVS.
Will be included in the upcoming TSP 0.8.1

Eric NOULARD <erk>
Group administrator
Mon 09 Oct 2006 09:10:05 PM UTC, comment #4: 

Put in a temporary patch which should solve the problem
Patch is relative to core

so
cd tsp/src/core/
patch -p0 < bug16629.patch

I do not put this patch in the CVS now
since it will come with the "big" TSPWin32 update soon.


Eric NOULARD <erk>
Group administrator
Tue 22 Aug 2006 07:36:39 AM UTC, comment #3: 

The memory allocation problem came back
on 'modest' configuration.

I think this is a "real" bug since the RINGBUF should not
be sized as huge as it seems to be.

Please read the thread on ML as reported by Euskadi:
http://lists.gnu.org/archive/html/tsp-devel/2006-07/msg00047.html
Particularly this message
http://lists.gnu.org/archive/html/tsp-devel/2006-07/msg00051.html


Eric NOULARD <erk>
Group administrator
Sat 03 Jun 2006 09:08:52 PM UTC, comment #2: 

Finally this was a stupid memory allocation problem!!!
We must add some systematic memory allocation check.

Closing this bug, since it is not a "real" one.

Eric NOULARD <erk>
Group administrator
Fri 19 May 2006 08:38:54 PM UTC, comment #1: 

I have only one trouble with this bug...
I am not able to reproduce it!!!
I do not have the exact same version you have
but there is NO difference regarding core TSP, AsciiWriter
and StubServer...

Could you make a tarball of YOUR TSP source tree
and sent it to me.

Eric NOULARD <erk>
Group administrator
Fri 19 May 2006 12:18:25 PM UTC, original submission:  

When I call the tsp_ascci_writer with arguemnt stub.dat, the stub_server died prematurely.
If I decrease the var number, it works perfectly!

TSP_STUB_SERVER trace :
-----------------------
...
   Info||tsp_provider.c##TSP_provider_request_sample##450: Consumer No 1 asked for 9 symbols
   Info||tsp_default_glu.c##GLU_get_pgi_default##185: Found symbol <FLOAT_Symbol1000> pgi=<1000>
   Info||tsp_default_glu.c##GLU_get_pgi_default##185: Found symbol <INT8_Symbol1001> pgi=<1001>
   Info||tsp_default_glu.c##GLU_get_pgi_default##185: Found symbol <INT16_Symbol1002> pgi=<1002>
   Info||tsp_default_glu.c##GLU_get_pgi_default##185: Found symbol <INT32_Symbol1003> pgi=<1003>
   Info||tsp_default_glu.c##GLU_get_pgi_default##185: Found symbol <UINT8_Symbol1005> pgi=<1005>
   Info||tsp_default_glu.c##GLU_get_pgi_default##185: Found symbol <UINT8_Symbol1005> pgi=<1005>
   Info||tsp_default_glu.c##GLU_get_pgi_default##185: Found symbol <UINT8_Symbol1005> pgi=<1005>
   Info||tsp_default_glu.c##GLU_get_pgi_default##185: Found symbol <UINT16_Symbol1006> pgi=<1006>
   Info||tsp_default_glu.c##GLU_get_pgi_default##185: Found symbol <UINT32_Symbol1007> pgi=<1007>
   Info||tsp_group_algo.c##TSP_group_algo_get_nb_groups##118: Found <1> group(s) for request with <9> symbol(s)
   Info||tsp_group_algo.c##TSP_group_algo_get_group_size##149: Group_size for group[0] is 9
   Info||tsp_group_algo.c##TSP_group_algo_get_groups_summed_size##173: Groups_summed_size is 9
   Info||tsp_group_algo.c##TSP_group_algo_get_group_size##149: Group_size for group[0] is 9
   Info||tsp_session.c##TSP_session_change_stateTo##141: Session was in state <3> goes to <3>
TSP Request||tsp_provider.c##TSP_provider_request_extended_information##697: EXTENDED INFORMATION channel_id=<1>
TSP Request||tsp_provider.c##TSP_provider_request_sample_init##492: SAMPLE_INIT channel_id=<1>
Erreur de segmentation



TSP_ASCII_WRITER trace :
------------------------
...
   Info||tsp_consumer.c##TSP_consumer_connect_url##499: Trying to connect to <rpc://localhost/:0>
   Info||tsp_client.c##tsp_remote_open_progid##94: CONNECTED to server localhost
   Info||tsp_client.c##TSP_remote_open_server##150: Server opened : 'StubbedServer'
TSP Request||tsp_consumer.c##TSP_consumer_request_open##657: OPEN
AsciiWriterLib:: Initially asking for <9> symbol(s)
AsciiWriterLib:: Enforcing same period for every symbols <begin>...
AsciiWriterLib:: Enforcing same period <done>.
TSP Request||tsp_consumer.c##TSP_consumer_request_sample##966: SAMPLE
   Info||tsp_consumer.c##TSP_consumer_request_sample##1019: Total group number = 1
AsciiWriterLib:: Finally asking for <9> symbol(s)
TSP Request||tsp_consumer.c##TSP_consumer_request_sample##966: SAMPLE
   Info||tsp_consumer.c##TSP_consumer_request_sample##1019: Total group number = 1
TSP Request||tsp_consumer.c##TSP_consumer_request_extended_information##864: EXTENDED INFORMATION
./tsp_ascii_writer: Ascii writer running...
TSP Request||tsp_consumer.c##TSP_consumer_request_sample_init##1095: SAMPLE INIT
  ERROR||tsp_client.c##TSP_request_sample_init##313: : RPC: Unable to receive; errno = Connection reset by peer

  ERROR||tsp_consumer.c##TSP_consumer_request_sample_init##1140: Unable to communicate with the provider
  ERROR||tsp_ascii_writer.c##tsp_ascii_writer_start##713: Sample init refused by the provider??...
./tsp_ascii_writer: Ascii writer stopped...
TSP Request||tsp_consumer.c##TSP_consumer_request_sample_destroy##1154: SAMPLE DESTROY
Erreur de segmentation



TSP_ASCII_WRITER ARGUMENT FILE :
--------------------------------
FLOAT_Symbol1000        1
INT8_Symbol1001         1
INT16_Symbol1002        1
INT32_Symbol1003        1
INT64_Symbol1004        1
UINT8_Symbol1005        1
UINT16_Symbol1006       1
UINT32_Symbol1007       1
UINT64_Symbol1008       1

Julien BRUTUS <brutusj>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #10934:  bug16629.patch added by erk (4KiB - text/x-patch - Patch solving this pb)
file #10004:  stub.dat added by brutusj (176B - video/mpeg - tsp_ascii_writer argument file)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 17 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-11-24 erk Open/ClosedOpen Closed
2006-10-18 erk StatusConfirmed Ready For Test
    Assigned toNone erk
    ReleaseUnknown 0.8.0
    Fixed ReleaseUnknown 0.8.1
2006-10-09 erk Attached File- Added bug16629.patch, #10934
2006-08-22 erk Carbon-Copy- Added erk
2006-08-22 erk Severity5 - Blocker 4 - Important
    StatusInvalid Confirmed
    Assigned toerk None
    Open/ClosedClosed Open
    Summarytsp_stub_server dies when calling tsp_ascii_writer, depending on the number of samples to write Too much memory used
2006-06-03 erk StatusNone Invalid
    Open/ClosedOpen Closed
2006-05-19 erk Assigned toNone erk
    Release0.8.0 Unknown
2006-05-19 brutusj Attached File- Added stub.dat, #10004

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code