You are not logged in.

#1 2015-12-21 22:35:59

damo
....moderator....
Registered: 2015-08-20
Posts: 6,701

nitrogen segfault [SOLVED]

I don't usually use nitrogen to set the background, but on trying it just now, from the menu and terminal I get a segfault

[damo@debian]$ nitrogen

(nitrogen:2858): GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion 'dest_width > 0' failed
Segmentation fault

(I'm assuming the GdkPixbuf error is one of the usual gtk theme errors: trying different themes is the same, anyway.)

The command works with all the switches I've tried (`--restore, --set-` etc, except for `--set-color=`), but not the command on its own, which implies to me that it is a gui/graphics issue. Re-installing nitrogen hasn't helped, and searches haven't found any clues either.

I don't recall installing anything which might mess with libs, especially as this is pretty much a default BL Stable install. Suggestions for trouble-shooting are most welcome

[See last post for "solution". Solved by purge and reinstall]

Last edited by damo (2015-12-22 15:18:05)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

#2 2015-12-21 22:39:03

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: nitrogen segfault [SOLVED]

damo wrote:

Suggestions for trouble-shooting are most welcome

https://wiki.debian.org/HowToGetABacktrace
wink


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2015-12-21 23:16:40

damo
....moderator....
Registered: 2015-08-20
Posts: 6,701

Re: nitrogen segfault [SOLVED]

^ big_smile

Well, the HowTo was relatively easy to follow, but the backtrace output was largely meaningless to me!

#0  0x00007ffff4e96104 in Gdk::Pixbuf::get_option(Glib::ustring const&) const () from /usr/lib/x86_64-linux-gnu/libgdkmm-2.4.so.1
#1  0x000000000041cd61 in get_fdo_thumbnail_mtime (pixbuf=...) at Thumbview.cc:51
#2  0x0000000000421dd6 in Thumbview::load_cache_images (this=0x717b40) at Thumbview.cc:490
#3  0x000000000041583e in sigc::bound_mem_functor0<void, Thumbview>::operator() (this=0x9aafa8) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#4  0x00000000004154ea in sigc::adaptor_functor<sigc::bound_mem_functor0<void, Thumbview> >::operator() (this=0x9aafa0) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
#5  0x0000000000414ebe in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, Thumbview>, void>::call_it (rep=0x9aaf70) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007ffff466b36d in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7  0x00007ffff7b3d935 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffff30780a4 in start_thread (arg=0x7fffe7fff700) at pthread_create.c:309
#9  0x00007ffff2dad04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

If it is something I have caused I'm not going to spend much time on it, unless I find something else is broken  monkey


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

#4 2015-12-21 23:20:33

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: nitrogen segfault [SOLVED]

damo wrote:

the backtrace output was largely meaningless to me!

Me too big_smile

Hopefully Unia or twoion or another programmer can glean something from the output.

I'm sure the package maintainer will know what it means, try using reportbug:
https://www.debian.org/Bugs/Reporting


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#5 2015-12-21 23:46:34

pingu
Member
Registered: 2015-09-29
Posts: 128

Re: nitrogen segfault [SOLVED]

This will sound weird, but have you tried changing to one of those default ugly themes, like adwita?
I've had gimp crashing a while back because it didn't like a gtk theme I was using...


"Chuck Norris can compile syntax errors."

Offline

#6 2015-12-22 00:01:24

damo
....moderator....
Registered: 2015-08-20
Posts: 6,701

Re: nitrogen segfault [SOLVED]

pingu wrote:

This will sound weird, but have you tried changing to one of those default ugly themes, like adwita?
I've had gimp crashing a while back because it didn't like a gtk theme I was using...

Yes I tried Adwaita, and several others as well sad

If no-one else finds a problem, then it must be something I have done, so a bug-report wouldn't help  monkey


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

#7 2015-12-22 04:12:39

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: nitrogen segfault [SOLVED]

It looks to me like nitrogen is having trouble with cached files somewhere. As to where it stores that stuff, I don't really know. I am pretty certain that it caches stuff, however, because if you set wallpapers from a remote host via sshfs and reboot without the remote host mounted, Nitrogen is still able to restore the wallpaper. Finding where it is cacheing images and/or thumbnails and cleaning it out might help.

Offline

#8 2015-12-22 04:49:31

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 8,282
Website

Re: nitrogen segfault [SOLVED]

FWIW 'nitrogen' runs without error on this i386 VM install.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#9 2015-12-22 11:40:47

damo
....moderator....
Registered: 2015-08-20
Posts: 6,701

Re: nitrogen segfault [SOLVED]

Also FWIW it runs fine on my laptop install, and in a VM, so it is probably something I've caused.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

#10 2015-12-22 15:04:20

pingu
Member
Registered: 2015-09-29
Posts: 128

Re: nitrogen segfault [SOLVED]

uhm... So I've just found this about GdkPixbuf overflows https://security.gentoo.org/glsa/201512-05
I don't know if whatever version present in debian is affected, but if it's easily upgradable (without causing much dependency conflicts and possible brakage) maybe you should try upgrading it and see if nitrogen still crashes with the same message.

edit:
and if it also fails, maybe  strace will show more stuff.

Last edited by pingu (2015-12-22 15:11:33)


"Chuck Norris can compile syntax errors."

Offline

#11 2015-12-22 15:11:32

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: nitrogen segfault [SOLVED]

pingu wrote:

uhm... So I've just found this about GdkPixbuf overflows https://security.gentoo.org/glsa/201512-05

It's OK, Debian is on it:
https://security-tracker.debian.org/tra … -2015-4491
https://security-tracker.debian.org/tra … -2015-7673
https://security-tracker.debian.org/tra … -2015-7674

Marked as "fixed" in jessie (security) cool

EDIT: Update your systems everyone!

Last edited by Head_on_a_Stick (2015-12-22 15:12:39)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#12 2015-12-22 15:14:40

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: nitrogen segfault [SOLVED]

pingu wrote:

and if it also fails, maybe  strace will show more stuff.

Yes, I should have suggested that first  ops


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#13 2015-12-22 15:16:59

damo
....moderator....
Registered: 2015-08-20
Posts: 6,701

Re: nitrogen segfault [SOLVED]

I purged ALL nitrogen from my system, removed `~/.config/nitrogen`, and reinstalled. Now it runs again, with no error messages smile

Maybe it was a cache/pixbuf issue? Anyway, it is [SOLVED] somehow wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

#14 2015-12-22 15:27:56

twoion
一期一会
Registered: 2015-08-10
Posts: 3,318

Re: nitrogen segfault [SOLVED]

damo wrote:

I purged ALL nitrogen from my system, removed `~/.config/nitrogen`, and reinstalled. Now it runs again, with no error messages smile

Maybe it was a cache/pixbuf issue? Anyway, it is [SOLVED] somehow wink

I had a quick look earlier; it segfaulted in a function of gdkmm which is part of gtkmm on a NULL pointer, probably due to corrupt on-disk data (partial write, or whatever). This should probably be filed as a bug report against libgtkmm, who would should check for NULL at that point or delegate to the gtk2 people to ensure it never happens to begin with. It would be sufficient to provide the backtrace as a hint I think.

Offline

Board footer

Powered by FluxBB