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 589920 - file-roller crashed with SIGSEGV in memmove()
file-roller crashed with SIGSEGV in memmove()
Status: RESOLVED OBSOLETE
Product: file-roller
Classification: Applications
Component: general
2.27.x
Other Linux
: Normal critical
: ---
Assigned To: file-roller-maint
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2009-07-27 18:46 UTC by Pedro Villavicencio
Modified: 2020-11-11 19:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
gdb log file (11.80 KB, text/plain)
2010-04-13 18:58 UTC, Jacob
Details

Description Pedro Villavicencio 2009-07-27 18:46:35 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/file-roller/+bug/399172

"it happens when using right click, create archive from nautilus when a filename has a space"

"#0  0x00007f8a52c51ef0 in *__GI_memmove (dest=0x7f8a548acab2, 
    src=0x7f8a548acab2, len=1) at memmove.c:105
	__nbytes = 0
	dstp = 140232100596402
	srcp = 140232100596402
  • #1 IA__g_strchug
    at /usr/include/bits/string3.h line 59
  • #2 add_clicked_cb
    at dlg-batch-add.c line 111
  • #3 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.21.4/gobject/gclosure.c line 767
  • #4 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.21.4/gobject/gsignal.c line 3247
  • #5 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.21.4/gobject/gsignal.c line 2980
  • #6 IA__g_signal_emit
    at /build/buildd/glib2.0-2.21.4/gobject/gsignal.c line 3037
  • #7 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #8 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #9 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.21.4/gobject/gclosure.c line 767
  • #10 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.21.4/gobject/gsignal.c line 3285
  • #11 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.21.4/gobject/gsignal.c line 2990
  • #12 IA__g_signal_emit
    at /build/buildd/glib2.0-2.21.4/gobject/gsignal.c line 3037
  • #13 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #17 ??
  • #18 ??
  • #19 g_main_context_iterate
    at /build/buildd/glib2.0-2.21.4/glib/gmain.c line 2591
  • #20 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.21.4/glib/gmain.c line 2799
  • #21 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 main
    at main.c line 319

valgrind log:

http://launchpadlibrarian.net/29043188/valgrind.log

Thanks,
Comment 1 Sense Hofstede 2009-08-17 10:01:40 UTC
This seems to happen as well when you create a ZIP archive. 
An interesting line in the error log is this one:
ProcCmdline: file-roller --default-dir=file:///home/username --add
file:///home/username/Canzoniere%202009.doc

The directory /home/username is used, even though the username is different.
Comment 2 Paolo Bacchilega 2009-08-17 18:21:20 UTC
This is now fixed in the current development version.  Thanks for the bug report.
Comment 3 Pedro Villavicencio 2009-09-09 13:33:57 UTC
Hello Paolo, we got an update in Ubuntu of file-roller (2.27.92 now there-yes the code is there) and the bug is not fixed, just tested the same and the crash still occurs, is there anything else we could provide to help the bug to be fixed? Thanks a lot.
Comment 4 Paolo Bacchilega 2009-09-09 15:05:59 UTC
I've just applied a patch to master that should fix the problem.
Comment 5 Dominique Leuenberger 2009-09-13 22:58:25 UTC
Do you happen to have a commit-ID? I seem not to find the commit mentioned in comment #4. (I'm running 2.27.91 and see this error. All commits since 2.27.91 seem solely related to translations.
Comment 6 Paolo Bacchilega 2009-09-14 07:14:09 UTC
you are right! I forgot to push the changes to master.  This is fixed now, thanks.
Comment 7 Jacob 2010-04-13 18:50:15 UTC
Which commit ID fixed this?
Comment 8 Jacob 2010-04-13 18:58:22 UTC
Created attachment 158635 [details]
gdb log file

I have tried the patch at <http://git.gnome.org/browse/file-roller/patch/?id=1e38c5df005ec2d54ac05b3028ab7c56a09ad082> on file-roller 2.26.3 and file-roller still crashes. Back-trace attached for more information.

I understand this bug is fixed, but I am trying to find out where.
Comment 10 Jacob 2010-04-15 04:02:43 UTC
Excellent, thanks!
Comment 11 André Klapper 2020-11-11 19:13:58 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use file-roller and if you still see this bug / want this feature in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/file-roller/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (volunteer workforce and time is limited).