The Deimos Project

Lies, damn lies and statistics

Already a part of Deimos? Log in!

Something wrong. Deimos 0.8.22


1 week ago I switched back to Linux and almost completely uninstalled Windows XP and I installed Deimos 0.8.22 ( https://www.deimos-project.net/downloads/releases/deimos-0.8.22-linux-binary-x86.tar.bz2 ) every time I turn on PC i started it manually from console. But today something happened. When I start deimos-svc in 5-10min it terminate itself..

cappy@cappy-gentoo ~/deimos-0.8.22-linux-binary-x86/usr/bin $ sudo ./deimos-svc
[23:42:34] Deimos Service 0.8.22 has been started at cappy-gentoo
[23:42:34] settings.bin (version 0) has been loaded
[23:42:34] Loaded snapshots.bin (version 3) with 2 snapshots
[23:42:34] realtimestats.bin (version 4) has been loaded
[23:42:38] Desktop helper connected!
[23:43:19] Interface 127.0.0.1 connected! Waiting for network commands...
[23:47:34] Sending commit-request...
[23:47:35] 2 snapshots have been committed!
Нарушение на разделянето(segfault)

I'm using Gentoo... here is my PC: https://www.deimos-project.net/stats/view/CappY//usr1257672915

And here is it dmesg:

[23664.788081] deimos-svc[20394]: segfault at 225 ip b7e8e145 sp bff9e900 error 4 in libQtCore.so.4.5.3[b7d6c000+1c4000]
[25093.781388] deimos-ui[22555]: segfault at 7 ip b7c7f440 sp bfeba360 error 4 in libQtGui.so.4.5.3[b763a000+7a2000]
[25102.132188] deimos-svc[1576]: segfault at 225 ip b7d3d145 sp bf84d1a0 error 4 in libQtCore.so.4.5.3[b7c1b000+1c4000]
[25419.433208] deimos-svc[2960]: segfault at e5 ip b7ddb145 sp bf8eda40 error 4 in libQtCore.so.4.5.3[b7cb9000+1c4000]


I'm using Qt-Core 4.5.3-r2

- Are you able to run gdb and give me a stacktrace?
- Does this also happen when you try with a clean /etc/.deimos-service?

Everytime it happens when Deimos commit snapshot. Wait i will strace.

write(22, "\27\3\0\4 G\200\260\354lI\7\376\365O\33\301Y-N\312qR\226\307CAH\345.\243\333"..., 1061) = 1061
clock_gettime(CLOCK_MONOTONIC, {16902, 580647513}) = 0
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=22, events=POLLIN}], 4, 0) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {16902, 580694011}) = 0
clock_gettime(CLOCK_MONOTONIC, {16902, 580715753}) = 0
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=22, events=POLLIN}], 4, 299795) = 1 ([{fd=22, revents=POLLIN}])
clock_gettime(CLOCK_MONOTONIC, {16902, 659877651}) = 0
ioctl(22, FIONREAD, [596]) = 0
read(22, "\27\3\0\1p\254\203\225\177\301o\313\177:t#\217\221\335\316I\342\310\332\230,f\254\216\246\226\300"..., 596) = 596
gettimeofday({1257943570, 510439}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2104, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2104, ...}) = 0
gettimeofday({1257943570, 510677}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2104, ...}) = 0
clock_gettime(CLOCK_MONOTONIC, {16902, 660610217}) = 0
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=22, events=POLLIN}], 4, 0) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {16902, 660658553}) = 0
gettimeofday({1257943570, 510957}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2104, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2104, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2104, ...}) = 0
gettimeofday({1257943570, 511123}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2104, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2104, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2104, ...}) = 0
clock_gettime(CLOCK_MONOTONIC, {16902, 661030755}) = 0
gettimeofday({1257943570, 511396}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2104, ...}) = 0
write(9, "[11-11-2009 14:46:10] 5 snapshot"..., 56) = 56
write(1, "[14:46:10] 5 snapshots have been"..., 44[14:46:10] 5 snapshots have been committed!
) = 44
gettimeofday({1257943570, 511575}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2104, ...}) = 0
getuid32() = 0
open("/etc/deimos-service/settings.bin", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 23
fstat64(23, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
fcntl64(23, F_SETFD, FD_CLOEXEC) = 0
stat64("/etc/deimos-service/settings.bin", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
fstat64(23, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f87000
write(23, "\0\0\0\24\307$\226\230;\2\365\354\210<V\220\237\221D\264\304=\227\233\0\0\0a\0\0\0\0"..., 125) = 125
close(23) = 0
munmap(0xb7f87000, 4096) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Нарушение на разделянето(segfault)

And yes, it happens when rm -r /etc/deimos-services

And it happens also when I log in

cappy@cappy-gentoo ~/deimos-0.8.22-linux-binary-x86/usr/bin $ sudo ./deimos-svc
Password:
[13:59:47] Deimos Service 0.8.22 has been started at cappy-gentoo
[13:59:47] Cannot load settings.bin: No such file or directory
[13:59:47] Cannot load snapshots.bin: No such file or directory
[13:59:47] Interface 127.0.0.1 connected! Waiting for network commands...
[13:59:55] Desktop helper connected!
[13:59:56] Sending login-request for username CappY...
[13:59:57] User CappY has been logged in
Нарушение на разделянето(segfault)

Damn, 4 weeks stats missed :(

I just put up the Linux version of 0.8.24. Perhaps you could try that :)

No. Same. I just installed new version on freshly installed gentoo. Same... :( can you give me all programs that deimos require and their versions ?

3162.908807] deimos-svc[2620]: segfault at 4d ip b7d5212d sp bf843640 error 4 in libQtCore.so.4.6.0[b7bf4000+269000]
[ 3184.949310] deimos-ui[2645]: segfault at 8 ip 080664ac sp bfb9a2f0 error 4

Very odd...

Qt core (at least 4.4)
Qt gui
Qt xml
Qt network
openssl

I tested the last version extensively in Ubuntu and Fedora, no problems. I can put up a debug-version later today.

I have everything. Qt* are 4.6.0 and OpenSSL 0.9.8l Deimos tells me that error is in Qt-Core

I will try the only thing i never tried. Downgrading to qt* 4.5.3.

Same. :^)

I just installed Arch Linux ... 2 hours ago............. I got SAME error :@


[cappy@cappy-arch bin]$ sudo ./deimos-svc
*** WARNING *** The program '(unknown)' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&;e=(unknown)>
[14:00:52] Deimos Service 0.8.24 has been started at cappy-arch
[14:00:52] settings.bin (version 1) has been loaded
[14:00:52] Loaded snapshots.bin (version 3) with 1 snapshots
[14:00:52] realtimestats.bin (version 4) has been loaded
[14:01:05] Desktop helper connected!
[14:01:10] Interface 127.0.0.1 connected! Waiting for network commands...
[14:01:10] Cannot open lsbrelease-command
[14:01:10] Cannot open /etc/system-release
[14:01:10] Cannot open /etc/redhat-release
[14:01:10] Cannot open /etc/debian_version
[14:01:10] Cannot open /etc/issue.net
[14:01:13] Sending login-request for username CappY...
[14:01:13] User CappY has been logged in
Нарушение на разделянето(segfault)

Installing Arch Linux :o

0.8.25 released with a bugfix. This was is a really really obscure Qt bug :(

Yeah. Finallly. :) :)

And just another question. Can you tell everything that linux client need to get information from. Especially I need to know about HDDs. Cuz my server's HDD is unkown. :)

Hard disk has always been tricky in Linux. There are 2 sources for Deimos:

/proc/scsi/scsi
hdparm -i /dev/sda (requires root)

cappy-gentoo cappy # cat /proc/scsi/scsi
Attached devices:


And I don't have /dev/sda ,but /dev/hda.

It still don't find it.

You aren't using the new SATA-subsystem yet? :(

Really no harddrive model information in /proc/scsci directory?

This is my old PC... bought in 2003. It ATA/IDE. :) Hard drives are named /dev/hda... hdb, etc.

hdparm -i /dev/hda

That gives me info about HDD.