[Scipy-tickets] [SciPy] #1174: segmentation fault scipy.wavfile

SciPy Trac scipy-tickets@scipy....
Wed May 12 06:27:17 CDT 2010


#1174: segmentation fault scipy.wavfile
------------------------+---------------------------------------------------
 Reporter:  pimperator  |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  Other       |     Version:  0.7.0   
 Keywords:              |  
------------------------+---------------------------------------------------
 Hi there,

 somehow "from scipy.io import wavfile" fails on a system
 I dont know why so I give you all information I have:
 --------------------------------------------------------
 --------------------------------------------------------
 it fails on this machine:
 erikl@linux19:~> python --version
 Python 2.5.2
 erikl@linux19:~> uname -a
 Linux linux19 2.6.25.20-0.7-default #1 SMP 2010-02-26 20:32:57 +0100 i686
 i686 i386 GNU/Linux
 erikl@linux19:~> cat /proc/cpuinfo
 processor       : 0
 vendor_id       : GenuineIntel
 cpu family      : 15
 model           : 4
 model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
 stepping        : 1
 cpu MHz         : 3042.820
 cache size      : 1024 KB
 physical id     : 0
 siblings        : 2
 core id         : 0
 cpu cores       : 1
 fdiv_bug        : no
 hlt_bug         : no
 f00f_bug        : no
 coma_bug        : no
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 5
 wp              : yes
 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
 cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
 constant_tsc pebs bts pni monitor ds_cpl cid xtpr
 bogomips        : 6090.57
 clflush size    : 64

 processor       : 1
 vendor_id       : GenuineIntel
 cpu family      : 15
 model           : 4
 model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
 stepping        : 1
 cpu MHz         : 3042.820
 cache size      : 1024 KB
 physical id     : 0
 siblings        : 2
 core id         : 0
 cpu cores       : 1
 fdiv_bug        : no
 hlt_bug         : no
 f00f_bug        : no
 coma_bug        : no
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 5
 wp              : yes
 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
 cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
 constant_tsc pebs bts pni monitor ds_cpl cid xtpr
 bogomips        : 6085.72
 clflush size    : 64

 erikl@linux19:~>
 erikl@linux19:~> gdb python
 GNU gdb 6.8
 Copyright (C) 2008 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 "i586-suse-linux"...
 (no debugging symbols found)
 (gdb) run -c "from scipy.io import wavfile"
 Starting program: /usr/bin/python -c "from scipy.io import wavfile"
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 [Thread debugging using libthread_db enabled]
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 [New Thread 0xb7cb46c0 (LWP 2154)]
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0xb7cb46c0 (LWP 2154)]
 0x00000000 in ?? ()
 (gdb)
 (gdb) quit
 The program is running.  Exit anyway? (y or n) y
 --------------------------------------------------------
 --------------------------------------------------------
 it works on this machine:
 erikl@linux72:~> python --version
 Python 2.5.2
 erikl@linux72:~> uname -a
 Linux linux72 2.6.25.20-0.7-default #1 SMP 2010-02-26 20:32:57 +0100 i686
 i686 i386 GNU/Linux
 erikl@linux72:~> cat /proc/cpuinfo
 processor       : 0
 vendor_id       : GenuineIntel
 cpu family      : 6
 model           : 23
 model name      : Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
 stepping        : 10
 cpu MHz         : 1998.000
 cache size      : 6144 KB
 physical id     : 0
 siblings        : 2
 core id         : 0
 cpu cores       : 2
 fdiv_bug        : no
 hlt_bug         : no
 f00f_bug        : no
 coma_bug        : no
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 13
 wp              : yes
 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
 cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
 constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2
 ssse3 cx16 xtpr sse4_1 lahf_lm
 bogomips        : 5989.59
 clflush size    : 64

 processor       : 1
 vendor_id       : GenuineIntel
 cpu family      : 6
 model           : 23
 model name      : Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
 stepping        : 10
 cpu MHz         : 1998.000
 cache size      : 6144 KB
 physical id     : 0
 siblings        : 2
 core id         : 1
 cpu cores       : 2
 fdiv_bug        : no
 hlt_bug         : no
 f00f_bug        : no
 coma_bug        : no
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 13
 wp              : yes
 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
 cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
 constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2
 ssse3 cx16 xtpr sse4_1 lahf_lm
 bogomips        : 5985.33
 clflush size    : 64

 erikl@linux72:~>
 erikl@linux72:~> gdb python
 GNU gdb 6.8
 Copyright (C) 2008 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 "i586-suse-linux"...
 (no debugging symbols found)
 (gdb) run -c "from scipy.io import wavfile"
 Starting program: /usr/bin/python -c "from scipy.io import wavfile"
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 [Thread debugging using libthread_db enabled]
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 [New Thread 0xb7c5d6c0 (LWP 8607)]
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)
 (no debugging symbols found)

 Program exited normally.
 (gdb)
 (gdb) quit

 --------------------------------------------------------
 --------------------------------------------------------
 to be honest I dont know exactly why it fails. maybe some other
 dependencies. scipy version is 0.7.1-7.10.i586

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1174>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list