! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
segfault on exit after opening a file
Status:
RESOLVED: FIXED
Priority:
Very High
Severity:
blocker
Product:
Squeeze
Component:
squeeze

Comments

Description Mike Massonnet editbugs 2007-04-03 10:11:22 CEST
I run squezze in gdb and open libsqueeze.tar.bz2.

Then I go to a directory, double click a file, and "View" it.  It loads the default application and shows me the file.  Now when I close squeeze, it segfaults.

==================================================

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218857280 (LWP 24435)]
lsq_archive_iter_is_real (iter=0x82ceae8) at archive-iter.c:501
501                     parent = parent->parent;
(gdb) bt
#0  lsq_archive_iter_is_real (iter=0x82ceae8) at archive-iter.c:501
#1  0xb7fa3a5b in lsq_archive_free_iter (archive=0x82ea418)
    at archive-iter.c:159
#2  0xb7fa22ad in lsq_archive_finalize (object=0x82ea418) at archive.c:169
#3  0xb7904cf3 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#4  0x08059f31 in sq_archive_store_dispose (object=0x8333018)
    at archive_store.c:1576
(...)

==================================================

It tried this successfully with tar, tar.bz2, and zip.
Comment 1 Stephan Arts editbugs 2007-04-05 14:42:58 CEST
Created attachment 1082 
Profiler output (it is probably a ref-count bug)
Comment 2 Stephan Arts editbugs 2007-04-05 14:43:30 CEST
Really serious bug.
Comment 3 Stephan Arts editbugs 2007-04-09 22:20:04 CEST
Fixed in revision 25505.

Bug #3095

Reported by:
Mike Massonnet
Reported on: 2007-04-03
Last modified on: 2007-04-09

People

Assignee:
Stephan Arts
CC List:
0 users

Version

Version:
unspecified

Attachments

Profiler output (it is probably a ref-count bug) (26.27 KB, text/plain)
2007-04-05 14:42 CEST , Stephan Arts
no flags
this archive seems to be a special case ( deleted )
2007-04-07 07:04 CEST , Mike Massonnet
no flags

Additional information