Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490168 - net-analyzer/iftop - .../work/iftop-*/config/pthread.c: segmentation fault in pa32_fallback_frame_state
Summary: net-analyzer/iftop - .../work/iftop-*/config/pthread.c: segmentation fault in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 490078
  Show dependency tree
 
Reported: 2013-11-02 18:48 UTC by Jeroen Roovers (RETIRED)
Modified: 2013-12-12 17:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2013-11-02 18:48:08 UTC
# gdb ./conftest
GNU gdb (Gentoo 7.6.1 p1) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "hppa2.0-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Really redefine built-in command "frame"? (y or n) [answered Y; input not from terminal]
Really redefine built-in command "thread"? (y or n) [answered Y; input not from terminal]
Really redefine built-in command "start"? (y or n) [answered Y; input not from terminal]
Reading symbols from /var/tmp/portage/net-analyzer/iftop-1.0_pre2/work/iftop-1.0pre2/conftest...done.
gdb> run
Starting program: /var/tmp/portage/net-analyzer/iftop-1.0_pre2/work/iftop-1.0pre2/./conftest
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0x41496480 (LWP 22553)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x41496480 (LWP 22553)]
_______________________________________________________________________________
     eax:Error while running hook_stop:
Value can't be converted to integer.
pa32_fallback_frame_state (context=0x40c978c8, context=0x40c978c8, fs=0x40c97d88) at ./md-unwind-support.h:76
76      ./md-unwind-support.h: No such file or directory.
gdb> bt full
#0  pa32_fallback_frame_state (context=0x40c978c8, context=0x40c978c8, fs=0x40c97d88) at ./md-unwind-support.h:76
        off = <optimized out>
        new_cfa = <optimized out>
        i = <optimized out>
        sc = <optimized out>
        frame = <optimized out>
        sp = 0xffffffc0
        pc = <optimized out>
#1  uw_frame_state_for (context=0x40c978c8, fs=0x40c97d88) at /var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/gcc-4.8.1/libgcc/unwind-dw2.c:1188
        fde = 0x0
        cie = <optimized out>
        aug = <optimized out>
        insn = <optimized out>
        end = <optimized out>
#2  0x41543c18 in uw_frame_state_for (context=context@entry=0x40c978c8, fs=fs@entry=0x40c97d88) at /var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/gcc-4.8.1/libgcc/unwind-dw2.c:1180
        fde = <optimized out>
        cie = <optimized out>
        aug = <optimized out>
        insn = <optimized out>
        end = <optimized out>
#3  0x41544a80 in _Unwind_ForcedUnwind_Phase2 (exc=0x0, exc@entry=0x414966c8, context=context@entry=0x40c978c8) at /var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/gcc-4.8.1/libgcc/unwind.inc:155
        fs = <error reading variable fs (can't compute CFA for this frame)>
        action = 0xa
        stop = @0x409de2be: 0x409d4fa8 <unwind_stop>
        stop_argument = 0x40c978c8
        code = _URC_NO_REASON
        stop_code = <optimized out>
#4  0x41544f64 in _Unwind_ForcedUnwind (exc=0x414966c8, stop=@0x409de2be: 0x409d4fa8 <unwind_stop>, stop_argument=0x40c97048) at /var/tmp/portage/sys-devel/gcc-4.8.1-r1/work/gcc-4.8.1/libgcc/unwind.inc:207
        this_context = <error reading variable this_context (can't compute CFA for this frame)>
        cur_context = <error reading variable cur_context (can't compute CFA for this frame)>
        code = <optimized out>
#5  0x409d8a88 in _Unwind_ForcedUnwind () from /lib/libpthread.so.0
No symbol table info available.
#6  0x409d5128 in __pthread_unwind () from /lib/libpthread.so.0
No symbol table info available.
#7  0x409c7c5c in sigcancel_handler () from /lib/libpthread.so.0
No symbol table info available.
#8  <signal handler called>
No symbol table info available.
#9  0x40be309c in nanosleep () from /lib/libc.so.6
No symbol table info available.
#10 0x40be2d3c in sleep () from /lib/libc.so.6
No symbol table info available.
#11 0x00010a78 in worker_thread (v=<optimized out>) at config/pthread.c:28
No locals.
#12 0x409c9ebc in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#13 0x40c1af04 in clone () from /lib/libc.so.6
No symbol table info available.
#14 0x00000000 in ?? ()
No symbol table info available.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-12 17:02:57 UTC
Fixed without a revision bump.

# ChangeLog for net-analyzer/iftop
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iftop/ChangeLog,v 1.51 2013/12/12 17:02:26 jer Exp $

  12 Dec 2013; Jeroen Roovers <jer@gentoo.org> iftop-1.0_pre2.ebuild,
  +files/iftop-1.0_pre2-pthread.patch, +files/ax_pthread.m4:
  Fix POSIX threads checking (bug #490168).