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 468685 - crash in GNOME Commander: update gnome & reboot
crash in GNOME Commander: update gnome & reboot
Status: RESOLVED FIXED
Product: gnome-commander
Classification: Other
Component: application
1.2.x
Other All
: High critical
: 1.2.5
Assigned To: epiotr
epiotr
: 468686 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-08-20 22:30 UTC by rehsack
Modified: 2007-12-23 15:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description rehsack 2007-08-20 22:30:29 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

Thread 1 (LWP 100103)

  • #0 wait4
    from /lib/libc.so.6
  • #1 waitpid
    from /lib/libpthread.so.2
  • #2 libgnomeui_module_info_get
    from /usr/local/lib/libgnomeui-2.so.0
  • #3 sigaction
    from /lib/libpthread.so.2
  • #4 <signal handler called>
  • #5 kill
    from /lib/libc.so.6
  • #6 raise
    from /lib/libpthread.so.2
  • #7 abort
    from /lib/libc.so.6
  • #8 g_logv
    from /usr/local/lib/libglib-2.0.so.0
  • #9 g_log
    from /usr/local/lib/libglib-2.0.so.0
  • #10 g_malloc
    from /usr/local/lib/libglib-2.0.so.0
  • #11 gnome_cmd_help_display
  • #12 python_plugin_manager_init
  • #13 main


----------- .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
--------------------------------------------------
Comment 1 André Klapper 2007-09-04 16:37:24 UTC
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
Comment 2 André Klapper 2007-09-04 16:37:29 UTC
*** Bug 468686 has been marked as a duplicate of this bug. ***
Comment 3 rehsack 2007-09-08 09:44:30 UTC
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

Thread 1 (LWP 100208)

  • #0 wait4
    from /lib/libc.so.6
  • #1 waitpid
    from /lib/libpthread.so.2
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 872
  • #3 sigaction
    from /lib/libpthread.so.2
  • #4 <signal handler called>
  • #5 kill
    from /lib/libc.so.6
  • #6 raise
    from /lib/libpthread.so.2
  • #7 abort
    from /lib/libc.so.6
  • #8 IA__g_logv
    at gmessages.c line 497
  • #9 IA__g_log
    at gmessages.c line 517
  • #10 IA__g_malloc
    at gmem.c line 135
  • #11 gnome_cmd_help_display
  • #12 python_plugin_manager_init
  • #13 main


----------- .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...
--------------------------------------------------
Comment 4 rehsack 2007-09-08 10:41:40 UTC
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

Thread 1 (LWP 100229)

  • #0 wait4
    from /lib/libc.so.6
  • #1 waitpid
    from /lib/libpthread.so.2
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 872
  • #3 sigaction
    from /lib/libpthread.so.2
  • #4 <signal handler called>
  • #5 kill
    from /lib/libc.so.6
  • #6 raise
    from /lib/libpthread.so.2
  • #7 abort
    from /lib/libc.so.6
  • #8 IA__g_logv
    at gmessages.c line 497
  • #9 IA__g_log
    at gmessages.c line 517
  • #10 IA__g_malloc
    at gmem.c line 135
  • #11 scan_plugins_in_dir
    at gnome-cmd-python-plugin.cc line 57
  • #12 python_plugin_manager_init
    at gnome-cmd-python-plugin.cc line 130
  • #13 main
    at main.cc line 137


----------- .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...
--------------------------------------------------
Comment 5 rehsack 2007-09-11 20:38:19 UTC
# 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)
Comment 6 André Klapper 2007-12-21 02:54:42 UTC
epiotr: ping, patch attached!
Comment 7 epiotr 2007-12-23 15:17:48 UTC
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.