Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Vorbis Vorbis
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • VorbisVorbis
  • Issues
  • #220
Closed
Open
Created Jul 29, 2002 by ti@ti

encoder_example segfaults on SunOS 4.x

Running the encoder example causes a segfault in libvorbis-1.0 on SunOS 4.1.3.
The gdb back trace is as follows:

$ ./encoder_example < ~/audio.wav > ~/audio.ogg
Memory fault(coredump)
$ gdb encoder_example core
GDB is free software and you are welcome to 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.
GDB 4.15.1 (sparc-sun-sunos4.1.3_U1),
Copyright 1995 Free Software Foundation, Inc...
Core was generated by `encoder_example'.
Program terminated with signal 11, Segmentation fault.
#0  0x16ea8 in inspect_error (x0=16, x1=46, y0=653, y1=-1, mask=0x1a4808,
    mdct=0x1a4a08, info=0x11e790) at floor1.c:543
543       int base=dy/adx;
(gdb) bt
#0  0x16ea8 in inspect_error (x0=16, x1=46, y0=653, y1=-1, mask=0x1a4808,
    mdct=0x1a4a08, info=0x11e790) at floor1.c:543
#1  0x1740c in floor1_fit (vb=0xf7fff708, look=0x1a7a38, logmdct=0x1a4a08,
    logmask=0x1a4808) at floor1.c:667
#2  0x1af2c in mapping0_forward (vb=0xf7fff708) at mapping0.c:423
#3  0x7fd0 in vorbis_analysis (vb=0xf7fff708, op=0x0) at analysis.c:47
#4  0x2598 in main () at encoder_example.c:216
(gdb)

libogg and libvorbis are both compiled with gcc 2.95.2.  The compiler flags
are the default settings after running configure.
Assignee
Assign to
Time tracking