Bug 1220078 - libsndfile github issue 101 : SIGSEGV
Summary: libsndfile github issue 101 : SIGSEGV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libsndfile
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4e6393ea0ae47e49f0ce29cf88b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-09 21:11 UTC by Gareth Davies
Modified: 2016-11-25 07:22 UTC (History)
5 users (show)

Fixed In Version: libsndfile-1.0.27-1.fc24 libsndfile-1.0.27-1.fc25 libsndfile-1.0.27-1.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-19 21:17:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (288.97 KB, text/plain)
2015-05-09 21:12 UTC, Gareth Davies
no flags Details
File: cgroup (190 bytes, text/plain)
2015-05-09 21:12 UTC, Gareth Davies
no flags Details
File: core_backtrace (98.46 KB, text/plain)
2015-05-09 21:12 UTC, Gareth Davies
no flags Details
File: dso_list (13.91 KB, text/plain)
2015-05-09 21:12 UTC, Gareth Davies
no flags Details
File: environ (1.21 KB, text/plain)
2015-05-09 21:12 UTC, Gareth Davies
no flags Details
File: exploitable (82 bytes, text/plain)
2015-05-09 21:12 UTC, Gareth Davies
no flags Details
File: limits (1.29 KB, text/plain)
2015-05-09 21:12 UTC, Gareth Davies
no flags Details
File: maps (67.61 KB, text/plain)
2015-05-09 21:12 UTC, Gareth Davies
no flags Details
File: open_fds (1.62 KB, text/plain)
2015-05-09 21:12 UTC, Gareth Davies
no flags Details
File: proc_pid_status (941 bytes, text/plain)
2015-05-09 21:12 UTC, Gareth Davies
no flags Details
File: var_log_messages (191 bytes, text/plain)
2015-05-09 21:12 UTC, Gareth Davies
no flags Details

Description Gareth Davies 2015-05-09 21:11:54 UTC
Description of problem:
new install, have not installed mp3 codec and double clicked on the same tune that was playing, then it crashed.

Version-Release number of selected component:
audacious-3.5.2-1.fc21

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        audacious
crash_function: probe_buffer_fread
executable:     /usr/bin/audacious
kernel:         3.17.4-301.fc21.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (5 frames)
 #0 probe_buffer_fread at probe-buffer.c:60
 #1 psf_fread at file_io.c:321
 #2 header_read at common.c:809
 #3 psf_binheader_readf at common.c:1039
 #4 guess_file_type at sndfile.c:2324

Comment 1 Gareth Davies 2015-05-09 21:12:01 UTC
Created attachment 1023859 [details]
File: backtrace

Comment 2 Gareth Davies 2015-05-09 21:12:02 UTC
Created attachment 1023860 [details]
File: cgroup

Comment 3 Gareth Davies 2015-05-09 21:12:05 UTC
Created attachment 1023861 [details]
File: core_backtrace

Comment 4 Gareth Davies 2015-05-09 21:12:07 UTC
Created attachment 1023862 [details]
File: dso_list

Comment 5 Gareth Davies 2015-05-09 21:12:08 UTC
Created attachment 1023863 [details]
File: environ

Comment 6 Gareth Davies 2015-05-09 21:12:09 UTC
Created attachment 1023864 [details]
File: exploitable

Comment 7 Gareth Davies 2015-05-09 21:12:10 UTC
Created attachment 1023865 [details]
File: limits

Comment 8 Gareth Davies 2015-05-09 21:12:12 UTC
Created attachment 1023866 [details]
File: maps

Comment 9 Gareth Davies 2015-05-09 21:12:13 UTC
Created attachment 1023867 [details]
File: open_fds

Comment 10 Gareth Davies 2015-05-09 21:12:14 UTC
Created attachment 1023868 [details]
File: proc_pid_status

Comment 11 Gareth Davies 2015-05-09 21:12:16 UTC
Created attachment 1023869 [details]
File: var_log_messages

Comment 12 Michael Schwendt 2015-05-10 07:22:36 UTC
Which file was it? The attached open_fds list mentions two mp3s and one flac.

Is it reproducible? Could you come up with a test-case?

There's some suspicious activity of libsndfile in the backtrace, and in bug 1047767 it's libsndfile that choked on an mp3 file. It could be that specific file contents can break libsndfile.

Comment 13 Michael Schwendt 2015-05-10 08:21:18 UTC
> #2047 0x00007f49aa0eaa87 in guess_file_type (psf=psf@entry=0x7f49980aa8f0)
> at sndfile.c:2423
>        buffer = {53691465, 0, 0}

  2320  static int
  2321  guess_file_type (SF_PRIVATE *psf)
  2322  {       int buffer [3], format ;
  2323  
...
  2419  
  2420          if (buffer [0] == MAKE_MARKER ('I', 'D', '3', 3))
  2421          {       psf_log_printf (psf, "Found 'ID3' marker.\n") ;
  2422                  if (id3_skip (psf))
  2423                          return guess_file_type (psf) ;
  2424                  return 0 ;
  2425                  } ;
  2426  

Reassigning to libsndfile co-maintainer, since POC is non-responsive.

I've opened https://github.com/erikd/libsndfile/issues/101 about these two crashes.

Comment 14 Michael Schwendt 2015-05-29 10:23:01 UTC
Kindly notice upstream's response:
https://github.com/erikd/libsndfile/issues/101#issuecomment-100708997

Comment 15 Fedora End Of Life 2015-11-04 11:44:34 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 16 Michael Schwendt 2015-11-04 11:49:33 UTC
Reassigning to Rawhide, since libsndfile in Fedora is unchanged.

[...]

Without a test-case as requested in comment 12, upstream only told:

| Pretty sure this has been been fixed in git. If not, plreas re-open
| and provide and example file that re-produces the error.

Comment 17 Jan Kurik 2016-02-24 13:23:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 18 Michal Hlavinka 2016-11-11 21:27:52 UTC
libsndfile updated to 1.0.27 which should fix this issue

Comment 19 Fedora Update System 2016-11-11 21:45:44 UTC
libsndfile-1.0.27-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4122513640

Comment 20 Fedora Update System 2016-11-11 21:45:55 UTC
libsndfile-1.0.27-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-75e01af615

Comment 21 Fedora Update System 2016-11-11 21:46:05 UTC
libsndfile-1.0.27-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ae1d38c3b1

Comment 22 Fedora Update System 2016-11-12 18:23:47 UTC
libsndfile-1.0.27-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-75e01af615

Comment 23 Fedora Update System 2016-11-13 03:20:59 UTC
libsndfile-1.0.27-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ae1d38c3b1

Comment 24 Fedora Update System 2016-11-13 03:57:36 UTC
libsndfile-1.0.27-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4122513640

Comment 25 Fedora Update System 2016-11-19 21:17:16 UTC
libsndfile-1.0.27-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 26 Fedora Update System 2016-11-21 02:22:41 UTC
libsndfile-1.0.27-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 27 Fedora Update System 2016-11-25 07:22:03 UTC
libsndfile-1.0.27-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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