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

 
 

bug #16629: Too much memory used

Submitted by:  Julien BRUTUS <brutusj>
Submitted on:  Fri 19 May 2006 12:18:25 PM UTC  
 
Category: CoreSeverity: 4 - Important
Status: Ready For TestPrivacy: Public
Assigned to: Eric NOULARD <erk>Open/Closed: Closed
Release: 0.8.0Fixed Release: 0.8.1

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #10934:  bug16629.patch added by erk (4kB - 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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 17 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 24 Nov 2006 06:49:56 PM UTCerkOpen/ClosedOpen=>Closed
Wed 18 Oct 2006 01:15:12 PM UTCerkStatusConfirmed=>Ready For Test
  Assigned toNone=>erk
  ReleaseUnknown=>0.8.0
  Fixed ReleaseUnknown=>0.8.1
Mon 09 Oct 2006 09:10:05 PM UTCerkAttached File-=>Added bug16629.patch, #10934
Tue 22 Aug 2006 07:38:33 AM UTCerkCarbon-Copy-=>Added erk
Tue 22 Aug 2006 07:36:39 AM UTCerkSeverity5 - 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
Sat 03 Jun 2006 09:08:52 PM UTCerkStatusNone=>Invalid
  Open/ClosedOpen=>Closed
Fri 19 May 2006 08:38:54 PM UTCerkAssigned toNone=>erk
  Release0.8.0=>Unknown
Fri 19 May 2006 12:18:25 PM UTCbrutusjAttached File-=>Added stub.dat, #10004

Back to the top


Powered by Savane 3.1-cleanup