After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 375234 - ipod sync: don't crash if fsusage is NULL
ipod sync: don't crash if fsusage is NULL
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.8.x (obsolete)
Other All
: High critical
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-11-14 18:48 UTC by Vitaliy Ischenko
Modified: 2007-05-14 04:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
ipod-sync plugin: don't crash when fsusage variable is NULL (418 bytes, patch)
2006-11-15 16:12 UTC, Vitaliy Ischenko
accepted-commit_now Details | Review

Description Vitaliy Ischenko 2006-11-14 18:48:27 UTC
What were you doing when the application crashed?
I've been trying to sync contacts with iPod
iPod have been ejected with `eject /dev/sda2`
But still connected with cable to PC


Distribution: Debian 4.0
Gnome Release: 2.15.91 2006-08-13 (Debian)
BugBuddy Version: 2.16.0

Memory status: size: 164925440 vsize: 0 resident: 164925440 share: 0 rss: 42856448 rss_rlim: 0
CPU usage: start_time: 1163525274 rtime: 0 utime: 2447 stime: 0 cutime:2342 cstime: 0 timeout: 105 it_real_value: 0 frequency: 2

Backtrace was generated from '/usr/bin/evolution-2.8'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1231869728 (LWP 17554)]
[New Thread -1287730256 (LWP 17998)]
[New Thread -1279337552 (LWP 17662)]
[New Thread -1312908368 (LWP 17652)]
[New Thread -1304515664 (LWP 17650)]
[New Thread -1321301072 (LWP 17624)]
[New Thread -1270678608 (LWP 17610)]
[New Thread -1251284048 (LWP 17605)]
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Comment 1 André Klapper 2006-11-15 02:51:29 UTC
Thanks for the bug report. Unfortunately, that stack trace is not very useful
in determining the cause of the crash. Could you please install some debugging
packages [1] and reproduce the crash, if possible?

Once bug-buddy pops up, you can find the stacktrace in the "details", now
containing way more information. Please copy that stacktrace and paste it as a
comment here.  Thanks!


[1] debugging packages for evolution, evolution-data-server and gtkhtml,
    plus debugging packages for some basic GNOME libs. More details can
    be found here:
    http://live.gnome.org/GettingTraces/DistroSpecificInstructions

Comment 2 Vitaliy Ischenko 2006-11-15 16:12:33 UTC
Created attachment 76646 [details] [review]
ipod-sync plugin: don't crash when fsusage variable is NULL

This bug appears when iPod is plugged in, but not all info available
i.e volume.fsusage

P.S. Do we really need this piece of code:
			if (!libhal_device_property_exists (ctx, udi2,
								"volume.is_filesystem", NULL) ||
				  !libhal_device_get_property_bool (ctx, udi2,
				  				"volume.is_filesystem", NULL))
			{
				has_fs = 1;
			}
As i understand volume.fsusage replaced volume.is_filesystem
Whith this patch old HAL will not work, because libhal_device_get_property_string will return NULL for volume.fsusage
Comment 3 André Klapper 2006-11-22 00:08:14 UTC
reopening as per last comment; confirming so a developer hopefully looks on this
Comment 4 Srinivasa Ragavan 2007-05-08 04:44:10 UTC
Looks harmless and simple.
Comment 5 André Klapper 2007-05-10 01:16:51 UTC
which is probably a codeword for "Vitaliy, if you have a SVN account, please commit to trunk"...
Comment 6 Vitaliy Ischenko 2007-05-12 08:27:14 UTC
No, I don't have svn account :)
Comment 7 Srinivasa Ragavan 2007-05-14 04:06:13 UTC
Committed to head. Needs to go to stable as well.