LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2009, 08:58 AM   #1
paradoxmonkey
LQ Newbie
 
Registered: Jul 2009
Posts: 17

Rep: Reputation: 0
Question djmount segfaulting but only in console


Hi,

I have succesfully compiled djmount and it runs fine but only in a ssh session. If I try to run it in the console I get a segfault.
I don't get it why wouldn't it work in the console if it works in a ssh session?

I'm running slitaz in vmware.

strace output:
Code:
execve("/usr/bin/djmount", ["djmount"], [/* 14 vars */]) = 0
brk(0)                                  = 0x8089000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/sse2/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/sse2", 0xbff94748) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686", 0xbff94748) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/sse2", 0xbff94748) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbff94748)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2", 0xbff94748) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", 0xbff94748)     = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libfuse.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/sse2", 0xbff94748)     = -1 ENOENT (No such file or directory)
open("/usr/lib/libfuse.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20I\0\0004\0\0\0\30"..., 512) = 512
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb8074000
fstat64(3, {st_mode=S_IFREG|0755, st_size=123984, ...}) = 0
mmap2(NULL, 122412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb8056000
mmap2(0xb8073000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d) = 0xb8073000
close(3)                                = 0
open("/usr/lib/librt.so.1", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/sse2/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/sse2", 0xbff9472c) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686", 0xbff9472c)     = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/sse2", 0xbff9472c)     = -1 ENOENT (No such file or directory)
open("/lib/tls/librt.so.1", O_RDONLY)   = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbff9472c)          = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/sse2", 0xbff9472c)    = -1 ENOENT (No such file or directory)
open("/lib/i686/librt.so.1", O_RDONLY)  = -1 ENOENT (No such file or directory)
stat64("/lib/i686", 0xbff9472c)         = -1 ENOENT (No such file or directory)
open("/lib/sse2/librt.so.1", O_RDONLY)  = -1 ENOENT (No such file or directory)
stat64("/lib/sse2", 0xbff9472c)         = -1 ENOENT (No such file or directory)
open("/lib/librt.so.1", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\30\0\0004\0\0\0\214"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=31372, ...}) = 0
mmap2(NULL, 33360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb804d000
mmap2(0xb8054000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb8054000
close(3)                                = 0
open("/usr/lib/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\n\0\0004\0\0\0X"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=14088, ...}) = 0
mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb8049000
mmap2(0xb804b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb804b000
close(3)                                = 0
open("/usr/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360G\0\0004\0\0\0\374"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=91252, ...}) = 0
mmap2(NULL, 98784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb8030000
mmap2(0xb8045000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0xb8045000
mmap2(0xb8047000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb8047000
close(3)                                = 0
open("/usr/lib/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0009k\1\0004\0\0\0\374"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1488500, ...}) = 0
mmap2(NULL, 1476840, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ec7000
mprotect(0xb8029000, 4096, PROT_NONE)   = 0
mmap2(0xb802a000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x162) = 0xb802a000
mmap2(0xb802d000, 10472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb802d000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ec6000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ec5000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7ec56c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb802a000, 8192, PROT_READ)   = 0
mprotect(0xb8045000, 4096, PROT_READ)   = 0
mprotect(0xb804b000, 4096, PROT_READ)   = 0
mprotect(0xb8054000, 4096, PROT_READ)   = 0
mprotect(0xb8093000, 4096, PROT_READ)   = 0
set_tid_address(0xb7ec5728)             = 863
set_robust_list(0xb7ec5730, 0xc)        = 0
futex(0xbff94d00, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xbff94d00, 0x189 /* FUTEX_??? */, 1, NULL, bff94d10) = -1 ENOSYS (Function not implemented)
rt_sigaction(SIGRTMIN, {0xb8034280, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb803470a, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="slitaz", ...}) = 0
brk(0)                                  = 0x8089000
brk(0x80aa000)                          = 0x80aa000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] djmount paradoxmonkey Linux - General 2 07-15-2009 11:16 AM
Apache2 segfaulting Cheater512 Linux - Networking 1 07-12-2006 11:05 AM
slackware 9.0 everything segfaulting ranger12002 Slackware 6 10-31-2003 06:47 PM
RPM segfaulting wapcaplet Linux - Software 10 10-22-2003 04:45 PM
Gcc segfaulting salman Linux - General 1 07-14-2002 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration