You are not logged in.

#1 2015-02-16 19:42:59

axfelix
Member
Registered: 2015-02-08
Posts: 54

Gnome Music segfaults

Hi folks,

Not sure why this isn't working for me, as I can't find a single issue report anywhere; the recent update to the package in Arch sources didn't change anything.

[axfelix@nixon ~]$ gnome-music
/usr/lib/python3.4/site-packages/gi/module.py:178: Warning: g_array_append_vals: assertion 'array' failed
  g_type = info.get_g_type()
/usr/lib/python3.4/site-packages/gi/module.py:178: Warning: g_hash_table_lookup: assertion 'hash_table != NULL' failed
  g_type = info.get_g_type()
/usr/lib/python3.4/site-packages/gi/module.py:178: Warning: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed
  g_type = info.get_g_type()
Segmentation fault (core dumped)

Looks like it's some kind of PyGTK issue but Pitivi works fine ...

Offline

#2 2015-02-16 19:57:20

axfelix
Member
Registered: 2015-02-08
Posts: 54

Re: Gnome Music segfaults

Scratch that, there appears to be one PasteBin with an identical traceback, but no context ...

http://pastebin.com/hWXKbxWa

Offline

#3 2015-02-17 15:07:53

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: Gnome Music segfaults

I had similar issues, and found out it is a tracker problem.

tracker-control -rc 
tracker-control -s

Now just wait. Don't do anything until tracker has finished the first mining.

-r, --hard-reset
              This kills all processes in the same way that --kill does but it
              also  removes all databases. Restarting tracker-store re-creates
              the databases.
-c, --remove-config
              This removes all  config  files  in  $HOME/.config/tracker.  All
              files  listed  are  files  which  were  found  and  successfully
              removed.  Restarting the  respective  processes  re-creates  the
              default configuration files.
-s, --start
              Starts  all  miners.  This  indirectly  starts tracker-store too
              because it is needed for miners to operate properly.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#4 2015-02-17 15:37:23

axfelix
Member
Registered: 2015-02-08
Posts: 54

Re: Gnome Music segfaults

didn't seem to work, unless there was supposed to be some indication of the tracker having finished the first mining (the terminal process finished, I waited a few seconds, and idle CPU usage had returned to the 1-2% that's normal). nice to know about, though, as I wasn't previously familiar with tracker-control.

Offline

#5 2015-02-18 21:22:46

axfelix
Member
Registered: 2015-02-08
Posts: 54

Re: Gnome Music segfaults

Hm. There's definitely something fishy here -- you got me thinking that Gnome Music might rely on Gnome's indexes, so I added my Music directory to the list of directories that are being indexed (it wasn't there before), and now I'm experiencing some really weird behaviour; it's been successfully indexed, but anytime I do a search (from the regular super menu) that returns results from my music directory, any process that returns PIDs system-wide (like ps -aux or lxtask) won't actually complete properly until after I restart, and when I shut down the machine, I get a message that it's unable to finalize the filesystem.

So something is definitely going funny with my filesystem in the music directory (at least as far as Gnome is concerned), and it's causing trouble for Gnome Music. Any ideas?

Offline

#6 2015-02-19 09:33:16

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: Gnome Music segfaults

Besides, the same thing happens with Gnome Photo. Gnome Photo refers to tracker indices, too.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#7 2015-02-20 04:22:46

axfelix
Member
Registered: 2015-02-08
Posts: 54

Re: Gnome Music segfaults

I was able to get some actual output suggesting that entries are being added to the tracker datastore by doing

for x in $(find . -name '*.mp3'); do /usr/lib/tracker/tracker-extract -v 3 -f $x; done, so that I at least knew the process wasn't constantly hanging, but Gnome Music is still dying on me.

Offline

#8 2015-03-03 17:38:41

axfelix
Member
Registered: 2015-02-08
Posts: 54

Re: Gnome Music segfaults

Update to the saga: Gnome Music now starts up properly, but doesn't see any music (despite the fact that my music directory -- which isn't the default ~/Music -- has been added to the tracker indices), and I'm still having the very strange issue where occasionally doing a super search that returns music results will screw up ps aux and prevent finalizing the filesystem until after a reboot. Totally confused, but at least it's not segfaulting smile

Offline

#9 2015-04-25 22:48:10

axfelix
Member
Registered: 2015-02-08
Posts: 54

Re: Gnome Music segfaults

Finally solved this -- turns out I also had to change XDG_MUSIC_DIR in .config/user-dirs.dir to make Gnome Music actually looks elsewhere!

Now that it's working, I've noticed that CPU usage seems to be way too high when Gnome music is running and not doing anything; it must be generating those thumbnails in the least efficient way imaginable, as Python, the compositor, and Xorg together use up minimum 15% of my CPU on the Album view menu.

Offline

#10 2015-04-26 05:14:47

kenwong
Member
Registered: 2015-04-06
Posts: 21

Re: Gnome Music segfaults

Hello,

After I click the Music icon, the cursor becomes a cirle and spins for a few seconds before going away.  Nothing happens.  I have this on the command line:

[kenneth@T60 ~]$ gnome-music
/usr/lib/python3.4/site-packages/gnomemusic/grilo.py:94: Warning: The property SoupSession:ssl-ca-file is deprecated and shouldn't be used anymore. It will be removed in a future version.
  self.registry.load_all_plugins()
Segmentation fault (core dumped)

Do I have the same issue as axfelix's?

axfelix wrote:

Finally solved this -- turns out I also had to change XDG_MUSIC_DIR in .config/user-dirs.dir to make Gnome Music actually looks elsewhere!

I have this in my .config/user-dirs.dir file:

# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

Exactly how should I change the relevant line?  Thanks in advance.

Offline

#11 2015-04-26 16:01:28

kenwong
Member
Registered: 2015-04-06
Posts: 21

Re: Gnome Music segfaults

I removed gecko-mediaplayer and its dependencies.  Gnome Music works now.

The issue is, the embed audio files on some websites cannot be played.

Offline

#12 2015-04-27 01:59:39

count0
Member
Registered: 2011-09-28
Posts: 20

Re: Gnome Music segfaults

I still have this same problem, yet I don;t have gecko-mediaplayer installed.

Offline

#13 2015-04-27 06:16:11

kenwong
Member
Registered: 2015-04-06
Posts: 21

Re: Gnome Music segfaults

count0, I'm not sure but do you have gnome-mplayer or mplayer?

Offline

Board footer

Powered by FluxBB