Bug 3162 - squeeze 0.2.x received sigbus on gentoo/linux/sparc and hppa.
: squeeze 0.2.x received sigbus on gentoo/linux/sparc and hppa.
Status: NEW
Product: Squeeze
squeeze
: unspecified
: Sun Linux
: Medium normal
: ---
Assigned To: Stephan Arts
:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-04-19 12:24 UTC by Samuli Suominen
Modified: 2007-04-27 12:01 UTC (History)
0 users (show)

See Also:


Attachments
segfault when extracting tar archive (1.66 KB, text/plain)
2007-04-19 12:50 UTC, Stephan Arts
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description Samuli Suominen editbugs 2007-04-19 12:24:38 UTC
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-unknown-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/squeeze 
[Thread debugging using libthread_db enabled]
[New Thread -136302208 (LWP 11222)]
[New Thread -198067296 (LWP 11230)]

Program received signal SIGBUS, Bus error.
[Switching to Thread -136302208 (LWP 11222)]
0xf7f1a6d4 in lsq_archive_iter_set_propsv (iter=<value optimized out>, 
    props=0x2) at archive-iter.c:1599
warning: Source file is more recent than executable.
1599                                    (*((guint64 *)props_iter)) = *((const
guint64*)props[i]);
(gdb) bt full
#0  0xf7f1a6d4 in lsq_archive_iter_set_propsv (iter=<value optimized out>, 
    props=0x2) at archive-iter.c:1599
No locals.
#1  0xf7f1ec74 in lsq_command_builder_zip_refresh_parse_output (
    spawn_command=<value optimized out>, user_data=0xff352be0)
    at command-builder-zip.c:328
        line = 
regcache.c:175: internal-error: register_size: Assertion `regnum >= 0 && regnum
< (NUM_REGS + NUM_PSEUDO_REGS)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

regcache.c:175: internal-error: register_size: Assertion `regnum >= 0 && regnum
< (NUM_REGS + NUM_PSEUDO_REGS)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
Comment 1 Samuli Suominen editbugs 2007-04-19 12:35:14 UTC
Happens when opening a .zip file.
Comment 2 Stephan Arts editbugs 2007-04-19 12:50:08 UTC
Created an attachment (id=1096) [details]
segfault when extracting tar archive

a segfault on linux/sparc when extracting an archive.
Comment 3 Samuli Suominen editbugs 2007-04-27 12:01:11 UTC
Same segfault on PA-RISC (HPPA) arch.