Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL 7 segfault on launching #120

Closed
voanhcuoc opened this issue Dec 6, 2019 · 2 comments
Closed

RHEL 7 segfault on launching #120

voanhcuoc opened this issue Dec 6, 2019 · 2 comments

Comments

@voanhcuoc
Copy link

Friture suddenly cannot be launched any more.

uname -a
Linux rhl 3.10.0-1062.7.1.el7.x86_64 #1 SMP Wed Nov 13 08:44:42 EST 2019 x86_64 x86_64 x86_64 GNU/Linux
2019-12-06 10:28:28,017 INFO friture.analyzer: Friture 0.40 starting on Linux (linux)
2019-12-06 10:28:28,619 INFO friture.audiobackend: Initializing audio backend
2019-12-06 10:28:28,619 INFO friture.audiobackend: Opening the stream for device 'default'
2019-12-06 10:28:28,626 INFO friture.audiobackend: Device claims 64 ms latency
2019-12-06 10:28:28,628 INFO friture.audiobackend: Success
2019-12-06 10:28:28,677 ERROR friture.audiobackend: Failed to read stream time
Traceback (most recent call last):
  File "friture/audiobackend.py", line 416, in get_stream_time
  File "site-packages/sounddevice.py", line 938, in time
sounddevice.PortAudioError: Error getting stream time
2019-12-06 10:28:28,848 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 10:28:28,848 INFO friture.audioproc: audioproc: updating window
2019-12-06 10:28:28,849 INFO friture.audioproc: audioproc: will decimate 1 times
2019-12-06 10:28:28,849 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 10:28:28,852 INFO friture.audioproc: audioproc: updating window
2019-12-06 10:28:28,859 INFO friture.spectrum_settings: freq_scale slot 0
2019-12-06 10:28:28,859 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 10:28:28,860 INFO friture.audioproc: audioproc: updating window
2019-12-06 10:28:28,860 INFO friture.audioproc: audioproc: will decimate 4 times
2019-12-06 10:28:28,868 INFO friture.audiobackend: Trying to open input device #3
2019-12-06 10:28:28,868 INFO friture.audiobackend: Opening the stream for device 'pulse'
2019-12-06 10:28:28,872 INFO friture.audiobackend: Device claims 64 ms latency
2019-12-06 10:28:28,874 INFO friture.audiobackend: Success
2019-12-06 10:28:28,892 ERROR friture.audiobackend: Failed to read stream time
Traceback (most recent call last):
  File "friture/audiobackend.py", line 416, in get_stream_time
  File "site-packages/sounddevice.py", line 938, in time
sounddevice.PortAudioError: Error getting stream time
2019-12-06 10:28:28,894 INFO friture.analyzer: Timer start
2019-12-06 10:28:28,895 INFO friture.analyzer: Init finished, entering the main loop
2019-12-06 10:28:28,947 INFO friture.plotting.glCanvasWidget: OpenGL format: version 3.0, No profile, Desktop OpenGL rendering
2019-12-06 10:28:28,954 INFO friture.plotting.glCanvasWidget: Intel Open Source Technology Center, Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) , Version: 3.0 Mesa 18.3.4, Shaders: 1.30, Extensions: 256
2019-12-06 10:28:28,972 CRITICAL friture.exceptionhandler: Unhandled exception: Traceback (most recent call last):
  File "friture/plotting/glCanvasWidget.py", line 393, in paintGL
  File "friture/plotting/glCanvasWidget.py", line 109, in drawGlData
  File "friture/plotting/quadsItem.py", line 158, in glDraw
ValueError: cannot reshape array of size 0 into shape (1,3)

2019-12-06 10:28:28,999 INFO friture.timeplot: timeplot : changed canvas width
2019-12-06 10:28:28,999 INFO friture.timeplot: timeplot : changing x max
2019-12-06 10:28:29,000 INFO friture.timeplot: timeplot : changing x min
2019-12-06 10:28:29,003 INFO friture.ringbuffer: Ringbuffer: growing buffer for length 15360
2019-12-06 10:50:48,857 INFO friture.analyzer: Friture 0.40 starting on Linux (linux)
2019-12-06 10:50:49,228 INFO friture.audiobackend: Initializing audio backend
2019-12-06 10:50:49,228 INFO friture.audiobackend: Opening the stream for device 'default'
2019-12-06 10:50:49,235 INFO friture.audiobackend: Device claims 64 ms latency
2019-12-06 10:50:49,237 INFO friture.audiobackend: Success
2019-12-06 10:50:49,269 ERROR friture.audiobackend: Failed to read stream time
Traceback (most recent call last):
  File "friture/audiobackend.py", line 416, in get_stream_time
  File "site-packages/sounddevice.py", line 938, in time
sounddevice.PortAudioError: Error getting stream time
2019-12-06 10:50:49,446 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 10:50:49,447 INFO friture.audioproc: audioproc: updating window
2019-12-06 10:50:49,447 INFO friture.audioproc: audioproc: will decimate 1 times
2019-12-06 10:50:49,447 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 10:50:49,449 INFO friture.audioproc: audioproc: updating window
2019-12-06 10:50:49,454 INFO friture.spectrum_settings: freq_scale slot 0
2019-12-06 10:50:49,454 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 10:50:49,455 INFO friture.audioproc: audioproc: updating window
2019-12-06 10:50:49,455 INFO friture.audioproc: audioproc: will decimate 4 times
2019-12-06 10:50:49,463 INFO friture.audiobackend: Trying to open input device #3
2019-12-06 10:50:49,463 INFO friture.audiobackend: Opening the stream for device 'pulse'
2019-12-06 10:50:49,467 INFO friture.audiobackend: Device claims 64 ms latency
2019-12-06 10:50:49,469 INFO friture.audiobackend: Success
2019-12-06 10:50:49,490 ERROR friture.audiobackend: Failed to read stream time
Traceback (most recent call last):
  File "friture/audiobackend.py", line 416, in get_stream_time
  File "site-packages/sounddevice.py", line 938, in time
sounddevice.PortAudioError: Error getting stream time
2019-12-06 10:50:49,491 INFO friture.analyzer: Timer start
2019-12-06 10:50:49,492 INFO friture.analyzer: Init finished, entering the main loop
2019-12-06 10:50:49,546 INFO friture.plotting.glCanvasWidget: OpenGL format: version 3.0, No profile, Desktop OpenGL rendering
2019-12-06 10:50:49,552 INFO friture.plotting.glCanvasWidget: Intel Open Source Technology Center, Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) , Version: 3.0 Mesa 18.3.4, Shaders: 1.30, Extensions: 256
2019-12-06 10:50:49,569 CRITICAL friture.exceptionhandler: Unhandled exception: Traceback (most recent call last):
  File "friture/plotting/glCanvasWidget.py", line 393, in paintGL
  File "friture/plotting/glCanvasWidget.py", line 109, in drawGlData
  File "friture/plotting/quadsItem.py", line 158, in glDraw
ValueError: cannot reshape array of size 0 into shape (1,3)

2019-12-06 10:50:49,595 INFO friture.timeplot: timeplot : changed canvas width
2019-12-06 10:50:49,595 INFO friture.timeplot: timeplot : changing x max
2019-12-06 10:50:49,596 INFO friture.timeplot: timeplot : changing x min
2019-12-06 10:50:49,598 INFO friture.ringbuffer: Ringbuffer: growing buffer for length 15360
2019-12-06 11:25:06,315 INFO friture.analyzer: Friture 0.40 starting on Linux (linux)
2019-12-06 11:25:06,730 INFO friture.audiobackend: Initializing audio backend
2019-12-06 11:25:06,731 INFO friture.audiobackend: Opening the stream for device 'default'
2019-12-06 11:25:06,738 INFO friture.audiobackend: Device claims 64 ms latency
2019-12-06 11:25:06,740 INFO friture.audiobackend: Success
2019-12-06 11:25:06,773 ERROR friture.audiobackend: Failed to read stream time
Traceback (most recent call last):
  File "friture/audiobackend.py", line 416, in get_stream_time
  File "site-packages/sounddevice.py", line 938, in time
sounddevice.PortAudioError: Error getting stream time
2019-12-06 11:25:07,024 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 11:25:07,025 INFO friture.audioproc: audioproc: updating window
2019-12-06 11:25:07,025 INFO friture.audioproc: audioproc: will decimate 1 times
2019-12-06 11:25:07,025 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 11:25:07,027 INFO friture.audioproc: audioproc: updating window
2019-12-06 11:25:07,032 INFO friture.spectrum_settings: freq_scale slot 0
2019-12-06 11:25:07,032 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 11:25:07,033 INFO friture.audioproc: audioproc: updating window
2019-12-06 11:25:07,033 INFO friture.audioproc: audioproc: will decimate 4 times
2019-12-06 11:25:07,042 INFO friture.audiobackend: Trying to open input device #3
2019-12-06 11:25:07,042 INFO friture.audiobackend: Opening the stream for device 'pulse'
2019-12-06 11:25:07,045 INFO friture.audiobackend: Device claims 64 ms latency
2019-12-06 11:25:07,046 INFO friture.audiobackend: Success
2019-12-06 11:25:07,057 ERROR friture.audiobackend: Failed to read stream time
Traceback (most recent call last):
  File "friture/audiobackend.py", line 416, in get_stream_time
  File "site-packages/sounddevice.py", line 938, in time
sounddevice.PortAudioError: Error getting stream time
2019-12-06 11:25:07,059 INFO friture.analyzer: Timer start
2019-12-06 11:25:07,060 INFO friture.analyzer: Init finished, entering the main loop
2019-12-06 11:25:07,109 INFO friture.plotting.glCanvasWidget: OpenGL format: version 3.0, No profile, Desktop OpenGL rendering
2019-12-06 11:25:07,115 INFO friture.plotting.glCanvasWidget: Intel Open Source Technology Center, Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) , Version: 3.0 Mesa 18.3.4, Shaders: 1.30, Extensions: 256
2019-12-06 11:25:07,222 CRITICAL friture.exceptionhandler: Unhandled exception: Traceback (most recent call last):
  File "friture/plotting/glCanvasWidget.py", line 393, in paintGL
  File "friture/plotting/glCanvasWidget.py", line 109, in drawGlData
  File "friture/plotting/quadsItem.py", line 158, in glDraw
ValueError: cannot reshape array of size 0 into shape (1,3)

2019-12-06 11:25:07,280 INFO friture.ringbuffer: Ringbuffer: growing buffer for length 15360
2019-12-06 11:25:08,764 INFO friture.timeplot: timeplot : changed canvas width
2019-12-06 11:25:08,764 INFO friture.timeplot: timeplot : changing x max
2019-12-06 11:25:08,764 INFO friture.timeplot: timeplot : changing x min
2019-12-06 11:26:47,721 INFO friture.analyzer: Friture 0.40 starting on Linux (linux)
2019-12-06 11:26:48,086 INFO friture.audiobackend: Initializing audio backend
2019-12-06 11:26:48,086 INFO friture.audiobackend: Opening the stream for device 'default'
2019-12-06 11:26:48,093 INFO friture.audiobackend: Device claims 64 ms latency
2019-12-06 11:26:48,096 INFO friture.audiobackend: Success
2019-12-06 11:26:48,137 ERROR friture.audiobackend: Failed to read stream time
Traceback (most recent call last):
  File "friture/audiobackend.py", line 416, in get_stream_time
  File "site-packages/sounddevice.py", line 938, in time
sounddevice.PortAudioError: Error getting stream time
2019-12-06 11:26:50,923 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 11:26:50,924 INFO friture.audioproc: audioproc: updating window
2019-12-06 11:26:50,924 INFO friture.audioproc: audioproc: will decimate 1 times
2019-12-06 11:26:50,925 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 11:26:50,927 INFO friture.audioproc: audioproc: updating window
2019-12-06 11:26:50,933 INFO friture.spectrum_settings: freq_scale slot 0
2019-12-06 11:26:50,933 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 11:26:50,934 INFO friture.audioproc: audioproc: updating window
2019-12-06 11:26:50,935 INFO friture.audioproc: audioproc: will decimate 4 times
2019-12-06 11:26:50,942 INFO friture.audiobackend: Trying to open input device #3
2019-12-06 11:26:50,942 INFO friture.audiobackend: Opening the stream for device 'pulse'
2019-12-06 11:26:50,946 INFO friture.audiobackend: Device claims 64 ms latency
2019-12-06 11:26:50,947 ERROR friture.audiobackend: Failed to read stream time
Traceback (most recent call last):
  File "friture/audiobackend.py", line 416, in get_stream_time
  File "site-packages/sounddevice.py", line 938, in time
sounddevice.PortAudioError: Error getting stream time
2019-12-06 11:26:50,948 INFO friture.audiobackend: Success
2019-12-06 11:26:50,950 INFO friture.analyzer: Timer start
2019-12-06 11:26:50,951 INFO friture.analyzer: Init finished, entering the main loop
2019-12-06 11:26:51,003 INFO friture.plotting.glCanvasWidget: OpenGL format: version 3.0, No profile, Desktop OpenGL rendering
2019-12-06 11:26:51,009 INFO friture.plotting.glCanvasWidget: Intel Open Source Technology Center, Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) , Version: 3.0 Mesa 18.3.4, Shaders: 1.30, Extensions: 256
2019-12-06 11:26:51,025 CRITICAL friture.exceptionhandler: Unhandled exception: Traceback (most recent call last):
  File "friture/plotting/glCanvasWidget.py", line 393, in paintGL
  File "friture/plotting/glCanvasWidget.py", line 109, in drawGlData
  File "friture/plotting/quadsItem.py", line 158, in glDraw
ValueError: cannot reshape array of size 0 into shape (1,3)

2019-12-06 11:26:51,052 INFO friture.ringbuffer: Ringbuffer: growing buffer for length 15360
2019-12-06 11:26:56,539 INFO friture.timeplot: timeplot : changed canvas width
2019-12-06 11:26:56,540 INFO friture.timeplot: timeplot : changing x max
2019-12-06 11:26:56,540 INFO friture.timeplot: timeplot : changing x min
2019-12-06 11:28:34,835 INFO friture.analyzer: Friture 0.40 starting on Linux (linux)
2019-12-06 11:28:35,195 INFO friture.audiobackend: Initializing audio backend
2019-12-06 11:28:35,195 INFO friture.audiobackend: Opening the stream for device 'default'
2019-12-06 11:28:35,203 INFO friture.audiobackend: Device claims 64 ms latency
2019-12-06 11:28:35,207 INFO friture.audiobackend: Success
2019-12-06 11:28:35,258 ERROR friture.audiobackend: Failed to read stream time
Traceback (most recent call last):
  File "friture/audiobackend.py", line 416, in get_stream_time
  File "site-packages/sounddevice.py", line 938, in time
sounddevice.PortAudioError: Error getting stream time
2019-12-06 11:28:35,390 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 11:28:35,390 INFO friture.audioproc: audioproc: updating window
2019-12-06 11:28:35,390 INFO friture.audioproc: audioproc: will decimate 1 times
2019-12-06 11:28:35,391 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 11:28:35,392 INFO friture.audioproc: audioproc: updating window
2019-12-06 11:28:35,397 INFO friture.spectrum_settings: freq_scale slot 0
2019-12-06 11:28:35,398 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-06 11:28:35,398 INFO friture.audioproc: audioproc: updating window
2019-12-06 11:28:35,399 INFO friture.audioproc: audioproc: will decimate 4 times
2019-12-06 11:28:35,406 INFO friture.audiobackend: Trying to open input device #3
2019-12-06 11:28:35,406 INFO friture.audiobackend: Opening the stream for device 'pulse'
2019-12-06 11:28:35,409 INFO friture.audiobackend: Device claims 64 ms latency
2019-12-06 11:28:35,409 ERROR friture.audiobackend: Failed to read stream time
Traceback (most recent call last):
  File "friture/audiobackend.py", line 416, in get_stream_time
  File "site-packages/sounddevice.py", line 938, in time
sounddevice.PortAudioError: Error getting stream time
2019-12-06 11:28:35,411 INFO friture.audiobackend: Success
2019-12-06 11:28:35,440 INFO friture.analyzer: Timer start
2019-12-06 11:28:35,440 INFO friture.analyzer: Init finished, entering the main loop
2019-12-06 11:28:35,491 INFO friture.plotting.glCanvasWidget: OpenGL format: version 3.0, No profile, Desktop OpenGL rendering
2019-12-06 11:28:35,497 INFO friture.plotting.glCanvasWidget: Intel Open Source Technology Center, Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) , Version: 3.0 Mesa 18.3.4, Shaders: 1.30, Extensions: 256
2019-12-06 11:28:35,515 CRITICAL friture.exceptionhandler: Unhandled exception: Traceback (most recent call last):
  File "friture/plotting/glCanvasWidget.py", line 393, in paintGL
  File "friture/plotting/glCanvasWidget.py", line 109, in drawGlData
  File "friture/plotting/quadsItem.py", line 158, in glDraw
ValueError: cannot reshape array of size 0 into shape (1,3)

2019-12-06 11:28:35,541 INFO friture.ringbuffer: Ringbuffer: growing buffer for length 15360
2019-12-06 11:28:36,588 INFO friture.timeplot: timeplot : changed canvas width
2019-12-06 11:28:36,589 INFO friture.timeplot: timeplot : changing x max
2019-12-06 11:28:36,589 INFO friture.timeplot: timeplot : changing x min
@tlecomte
Copy link
Owner

@voanhcuoc thanks for your report. The logs helped me narrow down the problem. I have made some adjustements included in the latest release: Friture 0.41. Let me know if it works! Thanks!

(I'm closing this issue, we can always reopen if the problem is still there)

@voanhcuoc
Copy link
Author

2019-12-11 12:12:23,042 INFO friture.analyzer: Friture 0.41 starting on Linux (linux)
2019-12-11 12:12:23,387 INFO friture.audiobackend: Initializing audio backend
2019-12-11 12:12:23,387 INFO friture.audiobackend: Opening the stream for device 'default'
2019-12-11 12:12:23,395 INFO friture.audiobackend: Device claims 64 ms latency
2019-12-11 12:12:23,398 INFO friture.audiobackend: Success
2019-12-11 12:12:23,580 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-11 12:12:23,580 INFO friture.audioproc: audioproc: updating window
2019-12-11 12:12:23,580 INFO friture.audioproc: audioproc: will decimate 1 times
2019-12-11 12:12:23,580 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-11 12:12:23,582 INFO friture.audioproc: audioproc: updating window
2019-12-11 12:12:23,587 INFO friture.spectrum_settings: freq_scale slot 0
2019-12-11 12:12:23,588 INFO friture.audioproc: audioproc: updating self.freq cache
2019-12-11 12:12:23,589 INFO friture.audioproc: audioproc: updating window
2019-12-11 12:12:23,589 INFO friture.audioproc: audioproc: will decimate 4 times
2019-12-11 12:12:23,596 INFO friture.audiobackend: Trying to open input device #3
2019-12-11 12:12:23,597 INFO friture.audiobackend: Opening the stream for device 'pulse'
2019-12-11 12:12:23,600 INFO friture.audiobackend: Device claims 64 ms latency
2019-12-11 12:12:23,601 INFO friture.audiobackend: Success
2019-12-11 12:12:23,621 INFO friture.analyzer: Timer start
2019-12-11 12:12:23,622 INFO friture.analyzer: Init finished, entering the main loop
2019-12-11 12:12:23,673 INFO friture.plotting.glCanvasWidget: OpenGL format: version 3.0, No profile, Desktop OpenGL rendering
2019-12-11 12:12:23,678 INFO friture.plotting.glCanvasWidget: Intel Open Source Technology Center, Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) , Version: 3.0 Mesa 18.3.4, Shaders: 1.30, Extensions: 256
2019-12-11 12:12:23,696 CRITICAL friture.exceptionhandler: Unhandled exception: Traceback (most recent call last):
  File "friture/plotting/glCanvasWidget.py", line 404, in paintGL
  File "friture/plotting/glCanvasWidget.py", line 122, in drawGlData
  File "friture/plotting/quadsItem.py", line 199, in glDraw
  File "friture/plotting/quadsItem.py", line 91, in prepareQuadData
ValueError: could not broadcast input array from shape (0,1) into shape (1,1)

2019-12-11 12:12:23,721 ERROR friture.audiobackend: Failed to read stream time
Traceback (most recent call last):
  File "friture/audiobackend.py", line 451, in get_stream_time
  File "site-packages/sounddevice.py", line 938, in time
sounddevice.PortAudioError: Error getting stream time
2019-12-11 12:12:23,723 INFO friture.ringbuffer: Ringbuffer: growing buffer for length 15360
2019-12-11 12:12:23,724 INFO friture.timeplot: timeplot : changed canvas width
2019-12-11 12:12:23,724 INFO friture.timeplot: timeplot : changing x max
2019-12-11 12:12:23,725 INFO friture.timeplot: timeplot : changing x min

Excuse me, new version crashed with a different error message.

@tlecomte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants