Reply
Thread Tools
Posts: 1,203 | Thanked: 3,027 times | Joined on Dec 2010
#1781
i can confirm gps working here.
 

The Following 2 Users Say Thank You to Android_808 For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#1782
Originally Posted by freemangordon View Post
new update is out (21.2011.38-1Tmaemo8.3+thumb2) see first page for the changelog.
i have a problem with trackerd.
With newer glib it can't reindex the files and update the database.

If the database /home/user/.local/share/tracker/data/common.db does not exists, tracker does not create a new one.
(also the log /home/user/.local/share/tracker/trackerd.log remains untouched)

To confirm the issue, it's the second time i go back to glib 2.22.4 and tracker starts working again.

As soon as i downgrade glib(also without reboot), trackerd can run again restarting the daemon.

Last edited by xes; 2013-11-12 at 11:02.
 

The Following 3 Users Say Thank You to xes For This Useful Post:
Posts: 164 | Thanked: 64 times | Joined on May 2013
#1783
[QUOTE=xes;1385766]i have a problem with trackerd.
With newer glib it can't reindex the files and update the database.

If the database /home/user/.local/share/tracker/data/common.db does not exists, tracker does not create a new one.
(also the log /home/user/.local/share/tracker/trackerd.log remains untouched)

To confirm the issue, it's the second time i go back to glib 2.22.4 and tracker starts working again.

As soon as i downgrade glib(also without reboot), trackerd can run again restarting the daemon.[

the same...
 
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#1784
Everything looks fine here after upgrade. How exactly did you confirm that trackerd doesn't work?
 

The Following User Says Thank You to int_ua For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#1785
Originally Posted by int_ua View Post
Everything looks fine here after upgrade. How exactly did you confirm that trackerd doesn't work?
I have changed/moved a few media files, forced a trackerd rebuild db.
Result: ZERO files available. (no images, no video, no music)

reboot, rebuild db... ZERO files (also no tracked-indexer process = no cpu load)

downgrade glib ....rebuild db ok, tracked-indexer process with usual cpu load. All fine

- then second try.
Upgraded glib. Reboot. Forced trackerd to rebuild the db. nothing... no process, no db, no log, no cpu load.
Downgrade glib. Force rebuild... high cpu load, process present, logs updated and db updated in some minute.

Last edited by xes; 2013-11-12 at 11:46.
 

The Following 3 Users Say Thank You to xes For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1786
@xes:
Nokia-N900:/root$ tracker-processes -r
Found 166 pids...
Found process ID 1476 for 'trackerd'
Killed process 1476
Found process ID 4158 for 'tracker-indexer'
Killed process 4158
Setting database locations
Checking database directories exist
Checking database version
Checking database files exist
Removing all database files
Removing database:'/home/user/.local/share/tracker/data/common.db'
Removing database:'/var/tmp/tracker-user/cache.db'
Removing database:'/home/user/.cache/tracker/file-meta.db'
Removing database:'/home/user/.cache/tracker/file-contents.db'
Removing database:'/home/user/.cache/tracker/email-meta.db'
Removing database:'/home/user/.cache/tracker/email-contents.db'
Setting index database locations
Checking index directories exist
Checking index files exist
Removing all database index files
Removing database index:'/home/user/.cache/tracker/file-index.db'
Removing database index:'/home/user/.cache/tracker/email-index.db'

[syslog]
Nov 12 14:00:25 Nokia-N900 maemo-launcher[6486]: invoking '/usr/bin/mediaplayer.launch'
Nov 12 14:00:26 Nokia-N900 maemo-launcher[6486]: opening of /usr/bin/mediaplayer.launch took 360260 usec
Nov 12 14:00:30 Nokia-N900 trackerd[6489]: GLIB DEBUG Tracker - Checking XDG_DATA_HOME is writable and exists
Nov 12 14:00:30 Nokia-N900 trackerd[6489]: GLIB MESSAGE Tracker - XDG_DATA_HOME set to '/home/user/.local/share'
Nov 12 14:00:30 Nokia-N900 trackerd[6489]: GLIB DEBUG Tracker - Path is OK
Nov 12 14:00:30 Nokia-N900 trackerd[6489]: GLIB MESSAGE Tracker - Setting IO priority
Nov 12 14:00:30 Nokia-N900 trackerd[6489]: GLIB MESSAGE Tracker - Setting up stopword list for language code:'en'
Nov 12 14:00:30 Nokia-N900 trackerd[6489]: GLIB MESSAGE Tracker - Tracker couldn't read stopword file:'/usr/share/tracker/languages/stopwords.en', Failed to open file '/usr/share/tracker/languages/stopwords.en': open() failed: No such file or directory
Nov 12 14:00:30 Nokia-N900 trackerd[6489]: GLIB MESSAGE Tracker - Setting up stemmer for language code:'en'
Nov 12 14:00:30 Nokia-N900 trackerd[6489]: GLIB MESSAGE Tracker - Registering DBus service... Name:'org.freedesktop.Tracker'
Nov 12 14:00:31 Nokia-N900 pulseaudio[996]: module-bluetooth-discover.c: dead: 0, device_connected: 1, audio_state: 2, audio_source_state: -1, headset_state 2
Nov 12 14:00:31 Nokia-N900 pulseaudio[996]: module-bluetooth-discover.c: dead: 0, device_connected: 1, audio_state: 2, audio_source_state: -1, headset_state 2
Nov 12 14:00:33 Nokia-N900 tracker-indexer[6493]: GLIB DEBUG Tracker - Checking XDG_DATA_HOME is writable and exists
Nov 12 14:00:33 Nokia-N900 tracker-indexer[6493]: GLIB MESSAGE Tracker - XDG_DATA_HOME set to '/home/user/.local/share'
Nov 12 14:00:33 Nokia-N900 tracker-indexer[6493]: GLIB DEBUG Tracker - Path is OK
Nov 12 14:00:33 Nokia-N900 tracker-indexer[6493]: GLIB MESSAGE Tracker - Setting IO priority
Nov 12 14:00:33 Nokia-N900 tracker-indexer[6493]: GLIB MESSAGE Tracker - Setting process priority
Nov 12 14:00:33 Nokia-N900 tracker-indexer[6493]: GLIB MESSAGE Tracker - Setting up stopword list for language code:'en'
Nov 12 14:00:33 Nokia-N900 tracker-indexer[6493]: GLIB MESSAGE Tracker - Tracker couldn't read stopword file:'/usr/share/tracker/languages/stopwords.en', Failed to open file '/usr/share/tracker/languages/stopwords.en': open() failed: No such file or directory
Nov 12 14:00:33 Nokia-N900 tracker-indexer[6493]: GLIB MESSAGE Tracker - Setting up stemmer for language code:'en'
Nov 12 14:00:33 Nokia-N900 tracker-indexer[6493]: GLIB MESSAGE Tracker - Registering DBus service... Name:'org.freedesktop.Tracker.Indexer'
Nov 12 14:00:42 Nokia-N900 trackerd[6489]: GLIB WARNING ** Tracker - Could not add monitor for path:'/home/user/MyDocs/.camera'
Nov 12 14:00:43 Nokia-N900 trackerd[6489]: GLIB CRITICAL ** Tracker - Could not open directory 'file:///home/user/MyDocs/.camera': No such file or directory
Nov 12 14:00:46 Nokia-N900 trackerd[6489]: GLIB CRITICAL ** Tracker - Could not open directory 'file:///media/mmc1p2/lost+found': Permission denied
Nov 12 14:00:46 Nokia-N900 trackerd[6489]: GLIB CRITICAL ** Tracker - Could not open directory 'file:///media/mmc1p4/lost+found': Permission denied


I see no problem here, my tracker database got rebuild after some time.
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following User Says Thank You to freemangordon For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#1787
@freemangordon

upgraded again glib and:
[root@N900 ~]# tracker-processes -r
Found 171 pids...
Found process ID 2589 for 'trackerd'
Killed process 2589
Found process ID 3389 for 'tracker-indexer'
Killed process 3389
Setting database locations
Checking database directories exist
Checking database version
Checking database files exist
Could not find database file:'/root/.local/share/tracker/data/common.db'
One or more database files are missing, a reindex will be forced
Removing all database files
Removing database:'/root/.local/share/tracker/data/common.db'
Removing database:'/var/tmp/tracker-root/cache.db'
Removing database:'/root/.cache/tracker/file-meta.db'
Removing database:'/root/.cache/tracker/file-contents.db'
Removing database:'/root/.cache/tracker/email-meta.db'
Removing database:'/root/.cache/tracker/email-contents.db'
Setting index database locations
Checking index directories exist
Checking index files exist
Could not find index file:'/root/.cache/tracker/file-index.db'
Could not find index file:'/root/.cache/tracker/email-index.db'
Removing all database index files
Removing database index:'/root/.cache/tracker/file-index.db'
Removing database index:'/root/.cache/tracker/email-index.db'

# after 10 seconds:
[root@N900 ~]# ps aux|grep -i track
user 1834 0.0 0.6 15492 1520 ? Ss 11:31 0:00 /usr/bin/mafw-dbus-wrapper mafw-tracker-source
root 3868 0.0 0.2 2608 556 pts/1 S+ 14:08 0:00 grep -i track



[root@N900 ~]# tracker-processes -r
Found 169 pids...
Setting database locations
Checking database directories exist
Checking database version
Checking database files exist
Could not find database file:'/root/.local/share/tracker/data/common.db'
One or more database files are missing, a reindex will be forced
Removing all database files
Removing database:'/root/.local/share/tracker/data/common.db'
Removing database:'/var/tmp/tracker-root/cache.db'
Removing database:'/root/.cache/tracker/file-meta.db'
Removing database:'/root/.cache/tracker/file-contents.db'
Removing database:'/root/.cache/tracker/email-meta.db'
Removing database:'/root/.cache/tracker/email-contents.db'
Setting index database locations
Checking index directories exist
Checking index files exist
Could not find index file:'/root/.cache/tracker/file-index.db'
Could not find index file:'/root/.cache/tracker/email-index.db'
Removing all database index files
Removing database index:'/root/.cache/tracker/file-index.db'
Removing database index:'/root/.cache/tracker/email-index.db'

# syslog - NO TRACKER MSG
# /home/user/.local/share/tracker/trackerd.log - NO UPDATE since the glib upgrade

EDIT:
I think i have found the problem.
It happens with new glib when tracker-indexer finds the file:
/usr/share/tracker/languages/stopwords.en
empty, 0 byte.


[root@N900 ~]# /usr/lib/tracker/tracker-indexer
Initializing tracker-indexer...
Writing default configuration to file:'/root/.config/tracker/tracker.cfg'
Segmentation fault

[root@N900 ~]# strace /usr/lib/tracker/tracker-indexer
.....
.....
open("/usr/share/tracker/languages/stopwords.en", O_RDONLY|O_LARGEFILE) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(8) = 0
gettimeofday({1384262189, 42878}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=951, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=951, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=951, ...}) = 0
send(3, "<10>Nov 12 14:16:29 tracker-inde"..., 116, MSG_NOSIGNAL) = 116
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault


Removing stopwords.en or adding a few spaces inside seems to solve the problem but does not explain the different behavior with new glib..

Last edited by xes; 2013-11-12 at 13:38.
 

The Following 7 Users Say Thank You to xes For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1788
Maybe a bug in tracker, will try to reproduce it.
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 2 Users Say Thank You to freemangordon For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1789
@xes: wait, why do you stop/rebuild tracker db as root? You should do that as user.
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following User Says Thank You to freemangordon For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#1790
@freemangordon

yep. i know. It was a lapsus.
All tests were mere in a proper way.
(for example also restarting from tracker-cfg)

user@N900 ~$ /usr/lib/tracker/tracker-indexer
Initializing tracker-indexer...
Segmentation fault
 

The Following 4 Users Say Thank You to xes For This Useful Post:
Reply

Tags
code size, dinosaurs, fmg ftw!, fmg.da.king, performance, thumb, thumb life


 
Forum Jump


All times are GMT. The time now is 05:25.