FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-07-2012, 04:05 PM
"Leandro @GuiadoPC"
 
Default Segmentation fault ruby 1.8.7 (2011-06-30 patchlevel 352)

Dear,

I need a help on a problem I'm having. I have a script written in
ruby ​​that at one point creates a snapshot of / home and then do the
backup using the tar command. It works perfectly lucid in a long time
but it is giving segmentation fault in need.

Commands that are being run:

/sbin/lvs --noheadings -ovg_name,lv_name '/dev/mapper/work-home'
/sbin/lvs --noheadings -olv_size --units k --nosuffix '/dev/mapper/work-home'
/sbin/lvcreate -L40G -s -n 'SS_backup' '/dev/work/home'

Output of strace:

================================================== ===================================

stat("/var/backup/SS_backup/dir1", {st_mode=S_IFDIR|0710, st_size=4096, ...}) = 0
stat("/var/backup/SS_backup/dir1", {st_mode=S_IFDIR|0710, st_size=4096, ...}) = 0
stat("/var/backup/SS_backup/dir2", {st_mode=S_IFDIR|0710, st_size=4096, ...}) = 0
stat("/var/backup/SS_backup/dir2", {st_mode=S_IFDIR|0710, st_size=4096, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
write(2, "/usr/local/sbin/script.rb:851: ", 32/usr/local/sbin/script.rb:851: ) = 32
write(2, "[BUG] ", 6[BUG] ) = 6
write(2, "Segmentation fault", 18Segmentation fault) = 18
write(2, "
ruby 1.8.7 (2011-06-30 patchlev"..., 56
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

) = 56
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(994, 994, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Aborted

================================================== ====================================

I am using the following package versions:

Ubuntu 12.04 64bits
ruby1.8 1.8.7.352-2ubuntu1
gcc-4.6-base 4.6.3-1ubuntu5
linux-server 3.2.0.24.26
lvm2 2.02.66-4ubuntu7.1


Has anyone experienced this problem and can give any tips?

I appreciate any help

Leandro Ferreira




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 11:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org