GNOME Bugzilla – Bug 468685
crash in GNOME Commander: update gnome & reboot
Last modified: 2007-12-23 15:17:48 UTC
Version: 1.2.4 What were you doing when the application crashed? update gnome & reboot Distribution: Unknown Gnome Release: 2.18.3 2007-08-02 (FreeBSD GNOME Project) BugBuddy Version: 2.18.1 System: FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Jul 29 06:26:31 UTC 2007 root@waldorf.muppets.liwing.de:/usr/obj/usr/src/sys/WALDORF amd64 X Vendor: The X.Org Foundation X Vendor Release: 70200000 Selinux: No Accessibility: Disabled GTK+ Theme: Glider Icon Theme: Crux Memory status: size: 117356 vsize: 117356 resident: 32240 share: 57723142 rss: 32240 rss_rlim: 8060 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 133 Backtrace was generated from '/usr/local/bin/gnome-commander' (no debugging symbols found)...(no debugging symbols found)...[New LWP 100103] [Switching to LWP 100103] 0x0000000805eb196a in wait4 () from /lib/libc.so.6
+ Trace 156696
Thread 1 (LWP 100103)
----------- .xsession-errors --------------------- When parsing the users and groups on this system it was found that the user wwwdevel is part of the group wwwdevel. This user can however not be found. end from FAM server connection GLib-ERROR **: gmem.c:135: failed to allocate 18446744073709551615 bytes aborting... warning: Unable to get location for thread creation breakpoint: generic error LibGTop-Server: pid 2983 received eof. When parsing the users and groups on this system it was found that the user wwwdevel is part of the group wwwdevel. This user can however not be found. end from FAM server connection GLib-ERROR **: gmem.c:135: failed to allocate 18446744073709551615 bytes aborting... warning: Unable to get location for thread creation breakpoint: generic error --------------------------------------------------
Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Could you please install some debugging packages [1], start the application as normal, 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 in advance! [1] debugging packages for gnome-commander, gtk, glib, gnome-vfs, libgnome, libgnomeui and pango (as far as those packages are provided by your distribution). More details can be found here: http://live.gnome.org/GettingTraces
*** Bug 468686 has been marked as a duplicate of this bug. ***
Hi Andre, thanks for your time watching over this report. Here is the stack trace with the requested components recompiled using CFLAGS="-O -g" Distribution: Unknown Gnome Release: 2.18.3 2007-08-31 (FreeBSD GNOME Project) BugBuddy Version: 2.18.1 System: FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Aug 31 07:35:38 UTC 2007 trevor@waldorf.muppets.liwing.de:/usr/obj/usr/src/sys/WALDORF amd64 X Vendor: The X.Org Foundation X Vendor Release: 70200000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: gnome Memory status: size: 120212 vsize: 120212 resident: 33456 share: 77447958 rss: 33456 rss_rlim: 8364 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 133 Backtrace was generated from '/usr/local/bin/gnome-commander' (no debugging symbols found)...(no debugging symbols found)...[New LWP 100208] [Switching to LWP 100208] 0x0000000805ef096a in wait4 () from /lib/libc.so.6
+ Trace 161289
Thread 1 (LWP 100208)
----------- .xsession-errors (637862 sec old) --------------------- Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, s16le, 96.0 kbit/6.25% (ratio: 12000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... VDec: vo config request - 512 x 384 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [xv] 512x384 => 512x384 Planar YV12 A: 0.1 V: 0.0 A-V: 0.105 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0 New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. A: 0.1 V: 0.0 A-V: 0.115 ct: 0.000 2/ 2 ??% ??% ??,?% 0 0 A: 0.1 V: 0.1 A-V: 0.081 ct: 0.000 3/ 3 ??% ??% ??,?% 0 0 A: 0.1 V: 0.1 A-V: 0.048 ct: 0.0 ...Too much output, ignoring rest... --------------------------------------------------
WITH_DEBUG=-g3 CFLAGS="-O -g": Distribution: Unknown Gnome Release: 2.18.3 2007-08-31 (FreeBSD GNOME Project) BugBuddy Version: 2.18.1 System: FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Aug 31 07:35:38 UTC 2007 trevor@waldorf.muppets.liwing.de:/usr/obj/usr/src/sys/WALDORF amd64 X Vendor: The X.Org Foundation X Vendor Release: 70200000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: gnome Memory status: size: 121824 vsize: 121824 resident: 34620 share: 84506602 rss: 34620 rss_rlim: 8655 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 133 Backtrace was generated from '/usr/local/bin/gnome-commander' [New LWP 100229] [Switching to LWP 100229] 0x000000080606c96a in wait4 () from /lib/libc.so.6
+ Trace 161301
Thread 1 (LWP 100229)
----------- .xsession-errors (641600 sec old) --------------------- Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, s16le, 96.0 kbit/6.25% (ratio: 12000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... VDec: vo config request - 512 x 384 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [xv] 512x384 => 512x384 Planar YV12 A: 0.1 V: 0.0 A-V: 0.105 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0 New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. A: 0.1 V: 0.0 A-V: 0.115 ct: 0.000 2/ 2 ??% ??% ??,?% 0 0 A: 0.1 V: 0.1 A-V: 0.081 ct: 0.000 3/ 3 ??% ??% ??,?% 0 0 A: 0.1 V: 0.1 A-V: 0.048 ct: 0.0 ...Too much output, ignoring rest... --------------------------------------------------
# cat files/patch-src-gnome-cmd-python-plugin.cc --- ./src/gnome-cmd-python-plugin.cc.orig 2007-09-10 07:38:08.000000000 +0000 +++ ./src/gnome-cmd-python-plugin.cc 2007-09-11 00:29:03.000000000 +0000 @@ -54,6 +54,11 @@ } long dir_size = pathconf(".", _PC_PATH_MAX); + if( -1 == dir_size ) + { + g_warning ( "pathconf(.): %s", strerror(errno) ); + return; + } gchar *prev_dir = (gchar *) g_malloc (dir_size); if (!prev_dir)
epiotr: ping, patch attached!
Sorry for the lond delay - I've overlooked the patch. The problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.