View Single Post
Posts: 9 | Thanked: 3 times | Joined on Jul 2010
#38
Hello,

I am in the same situations, when I try to run fastsms, I reach the settings windows, but then, it dies with a segmentation fault:

Code:
/opt/fastsms $ ./fastsms 
Segmentation fault
In case it helps, I have run fastsms under strace, and these are the last lines:

Code:
[pid  2021] access("/usr/share/osso-rtcom/jabber.profile", F_OK) = 0
[pid  2021] stat64("/usr/share/osso-rtcom/jabber.profile", {st_mode=S_IFREG|0644, st_size=1389, ...}) = 0
[pid  2021] access("/usr/share/osso-rtcom/jabber.profile", F_OK) = 0
[pid  2021] stat64("/usr/share/osso-rtcom/jabber.profile", {st_mode=S_IFREG|0644, st_size=1389, ...}) = 0
[pid  2021] access("/usr/share/osso-rtcom/jabber.profile", F_OK) = 0
[pid  2021] stat64("/usr/share/osso-rtcom/jabber.profile", {st_mode=S_IFREG|0644, st_size=1389, ...}) = 0
[pid  2021] access("/usr/share/osso-rtcom/jabber.profile", F_OK) = 0
[pid  2021] stat64("/usr/share/osso-rtcom/jabber.profile", {st_mode=S_IFREG|0644, st_size=1389, ...}) = 0
[pid  2021] access("/usr/share/osso-rtcom/jabber.profile", F_OK) = 0
[pid  2021] stat64("/usr/share/osso-rtcom/jabber.profile", {st_mode=S_IFREG|0644, st_size=1389, ...}) = 0
[pid  2021] access("/usr/share/osso-rtcom/jabber.profile", F_OK) = 0
[pid  2021] stat64("/usr/share/osso-rtcom/jabber.profile", {st_mode=S_IFREG|0644, st_size=1389, ...}) = 0
[pid  2021] mmap2(NULL, 87232512, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x44e77000
[pid  2021] mmap2(NULL, 1095553024, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4a1a8000
[pid  2021] mmap2(NULL, 1095553024, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
[pid  2021] brk(0x422b0000)             = 0xde3000
[pid  2021] mmap2(NULL, 1095688192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
[pid  2021] mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x42c4b000
[pid  2021] munmap(0x42c4b000, 741376)  = 0
[pid  2021] munmap(0x42e00000, 307200)  = 0
[pid  2021] mprotect(0x42d00000, 135168, PROT_READ|PROT_WRITE) = 0
[pid  2021] mmap2(NULL, 1095553024, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
[pid  2021] munmap(0x4a1a8000, 1095553024) = 0
[pid  2021] munmap(0x44e77000, 87232512) = 0
[pid  2021] write(2, "terminate called after throwing "..., 48terminate called after throwing an instance of ') = 48
[pid  2021] write(2, "std::bad_alloc", 14std::bad_alloc) = 14
[pid  2021] write(2, "'\n", 2'
)          = 2
[pid  2021] write(2, "  what():  ", 11  what():  ) = 11
[pid  2021] write(2, "std::bad_alloc", 14std::bad_alloc) = 14
[pid  2021] write(2, "\n", 1
)           = 1
[pid  2021] rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
[pid  2021] tgkill(2021, 2021, SIGABRT) = 0
[pid  2021] --- SIGABRT (Aborted) @ 0 (0) ---
Process 2011 resumed
Process 2021 detached
<... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGABRT}], 0, NULL) = 2021
--- SIGCHLD (Child exited) @ 0 (0) ---
write(2, "Aborted\n", 8Aborted
)                = 8
exit_group(134)                         = ?
That "Cannot allocate memory" does not sound very nice...

Thanks for your help!

Last edited by otrocoke; 2011-02-22 at 12:09.