mainstoreBackup - Support: sr #108220, Use of uninitialized value $size

 
 

sr #108220: Use of uninitialized value $size

Submitter:  None
Submitted:  Thu 03 Jan 2013 09:56:47 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 15 Jan 2013 03:04:19 PM UTC, comment #2: 

The following bug will be corrected in the following release.

If a file, which is excluded because of a rule is deleted after being recognized from storeBackup.pl and before a stat command is called, then that stat command will fail and perl generates the message below. This stat is only made to summarize the size of all files excluded - it doesn't mean anything for the functionality of storeBackup.


Heinz-Josef Claes <hjclaes>
Group administrator
Thu 03 Jan 2013 10:39:43 AM UTC, comment #1: 

Hi,

I cannot reproduce the error message.

It seems to depend on an unsuccessful stat. Can you change the source code of storeBackup.pl in the following way:

------------
{
    $exclLog->print("$relFileName\n") if $writeExcludeLog;
print "f = <$f> size = $actSize\n";
    $main::stat->incr_noExcludeRule($actSize);
    next;
}
--------------
(simply insert the print statement)

After restarting your backup please check the files listed - if they exist and if the size is printed correctly.


I think it's easier if you send me directly an email to see what's happening. Later we can summarize her. But we can also use this list if you want.

Regards, Heinz-Josef

btw, I'll not be online for the next hours.

Heinz-Josef Claes <hjclaes>
Group administrator
Thu 03 Jan 2013 09:56:47 AM UTC, original submission:  

Hi,

i get this curious log entries:

[...]
Use of uninitialized value $size in addition (+) at /opt/storeBackup/bin/storeBackup.pl line 7231.
Use of uninitialized value $size in addition (+) at /opt/storeBackup/bin/storeBackup.pl line 7231.
Use of uninitialized value $size in addition (+) at /opt/storeBackup/bin/storeBackup.pl line 7231.
[...]
The line repeats 17 times.

That seems to be no error, but i would like to know what's happening there. Should i do worry?

I'm running storeBackup on Ubuntu 12.10 daily since Nov. 2012, backing up some dirs to a second HDD. I get those log entries since Dec 29 2012. Last changed storeBackup.conf Dec 25.

Logfile and config file are attached. Usernames are replaced with user{1,2,3}.

regards,

Christian

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #27188:  log added by None (23KiB - application/octet-stream)
file #27189:  storeBackup.conf added by None (20KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hjclaes (Posted a comment)
  •  

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-01-15 hjclaes StatusNone Done
    2013-01-03 None Attached File- Added log, #27188
        Attached File- Added storeBackup.conf, #27189

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code