ctl-N or new in the menu causes seg fault. #19685

Closed
opened 2009-10-19 13:55:17 +02:00 by Douglas E Knapp · 6 comments

%%%ctl-N or new in the menu causes seg fault.

KUbuntu 8.04 64 bit. SVN build 2.5 oct 19 2009
Updated to revision 23940.

  1.  douglas@frog:~/1119_bf2.5-rev23229-amd64$ gdb ./install/linux2/blender
    
  2.  GNU gdb 6.8-debian
    
  3.  Copyright (C) 2008 Free Software Foundation, Inc.
    
  4.  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    
  5.  This is free software: you are free to change and redistribute it.
    
  6.  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    
  7.  and "show warranty" for details.
    
  8.  This GDB was configured as "x86_64-linux-gnu"...
    
  9.  (gdb) ./install/linux2/blender
    
  10.  Undefined command: "".  Try "help".
    
  11.  (gdb) run ./install/linux2/blender
    
  12.  Starting program: /home/douglas/1119_bf2.5-rev23229-amd64/install/linux2/blender ./install/linux2/blender
    
  13.  [Thread debugging using libthread_db enabled]
    
  14.  found bundled python: /home/douglas/1119_bf2.5-rev23229-amd64/install/linux2/.blender/python
    
  15.  [New Thread 0x7f1869337730 (LWP 18522)]
    
  16.  [New Thread 0x424c9950 (LWP 18525)]
    
  17.  [Thread 0x424c9950 (LWP 18525) exited]
    
  18.  [New Thread 0x424c9950 (LWP 18532)]
    
  19.  Program received signal SIGSEGV, Segmentation fault.
    
  20.  [Switching to Thread 0x7f1869337730 (LWP 18522)]
    
  21.  0x00007f1868228360 in ?? () from /usr/lib/libopenal.so.0
    
  22.  (gdb) bt
    
  23.  #0  0x00007f1868228360 in ?? () from /usr/lib/libopenal.so.0
    
  24.  #1  0x00007f186822750f in alcMakeContextCurrent () from /usr/lib/libopenal.so.0
    
  25.  #2  0x0000000000cbf021 in AUD_OpenALDevice::AUD_OpenALDevice ()
    
  26.  #3  0x0000000000cb9953 in AUD_init ()
    
  27.  #4  0x00000000009e6a46 in sound_init ()
    
  28.  #5  0x000000000067bf8f in WM_read_homefile ()
    
  29.  #6  0x000000000067e4fb in wm_operator_invoke ()
    
  30.  #7  0x000000000067f395 in wm_operator_call_internal ()
    
  31.  #8  0x00000000008096c4 in ui_apply_but_funcs_after ()
    
  32.  #9  0x00000000008117b3 in ui_handler_region_menu ()
    
  33.  #10 0x000000000067eacf in wm_handlers_do ()
    
  34.  #11 0x000000000067ee67 in wm_event_do_handlers ()
    
  35.  #12 0x0000000000673254 in WM_main ()
    
  36.  #13 0x0000000000672694 in main ()%%%
%%%ctl-N or new in the menu causes seg fault. KUbuntu 8.04 64 bit. SVN build 2.5 oct 19 2009 Updated to revision 23940. 1. douglas@frog:~/1119_bf2.5-rev23229-amd64$ gdb ./install/linux2/blender 2. GNU gdb 6.8-debian 3. Copyright (C) 2008 Free Software Foundation, Inc. 4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 5. This is free software: you are free to change and redistribute it. 6. There is NO WARRANTY, to the extent permitted by law. Type "show copying" 7. and "show warranty" for details. 8. This GDB was configured as "x86_64-linux-gnu"... 9. (gdb) ./install/linux2/blender 10. Undefined command: "". Try "help". 11. (gdb) run ./install/linux2/blender 12. Starting program: /home/douglas/1119_bf2.5-rev23229-amd64/install/linux2/blender ./install/linux2/blender 13. [Thread debugging using libthread_db enabled] 14. found bundled python: /home/douglas/1119_bf2.5-rev23229-amd64/install/linux2/.blender/python 15. [New Thread 0x7f1869337730 (LWP 18522)] 16. [New Thread 0x424c9950 (LWP 18525)] 17. [Thread 0x424c9950 (LWP 18525) exited] 18. [New Thread 0x424c9950 (LWP 18532)] 19. 20. Program received signal SIGSEGV, Segmentation fault. 21. [Switching to Thread 0x7f1869337730 (LWP 18522)] 22. 0x00007f1868228360 in ?? () from /usr/lib/libopenal.so.0 23. (gdb) bt 24. #0 0x00007f1868228360 in ?? () from /usr/lib/libopenal.so.0 25. #1 0x00007f186822750f in alcMakeContextCurrent () from /usr/lib/libopenal.so.0 26. #2 0x0000000000cbf021 in AUD_OpenALDevice::AUD_OpenALDevice () 27. #3 0x0000000000cb9953 in AUD_init () 28. #4 0x00000000009e6a46 in sound_init () 29. #5 0x000000000067bf8f in WM_read_homefile () 30. #6 0x000000000067e4fb in wm_operator_invoke () 31. #7 0x000000000067f395 in wm_operator_call_internal () 32. #8 0x00000000008096c4 in ui_apply_but_funcs_after () 33. #9 0x00000000008117b3 in ui_handler_region_menu () 34. #10 0x000000000067eacf in wm_handlers_do () 35. #11 0x000000000067ee67 in wm_event_do_handlers () 36. #12 0x0000000000673254 in WM_main () 37. #13 0x0000000000672694 in main ()%%%

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%Something fishy happening with sound init. Assigning to nexYon.%%%

%%%Something fishy happening with sound init. Assigning to nexYon.%%%
Member

%%%According to - [x] you have a very outdated openal package being used by your distro, namely creative's openal 0.0.8, please switch to openal soft which is currently at version 1.9.563 that should fix the crash caused by creative's openal.

  • http://packages.ubuntu.com/hardy/libopenal0a%%%
%%%According to - [x] you have a very outdated openal package being used by your distro, namely creative's openal 0.0.8, please switch to openal soft which is currently at version 1.9.563 that should fix the crash caused by creative's openal. - [x] http://packages.ubuntu.com/hardy/libopenal0a%%%
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

%%%Just adding my programs output with the new libopenal. It would seem that there is still a problem but at least no seg fault.

douglas@frog:~/1119_bf2.5-rev23229-amd64$ gdb ./install/linux2/blender
GNU gdb 6.8-debian
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 "x86_64-linux-gnu"...
(gdb) run
Starting program: /home/douglas/1119_bf2.5-rev23229-amd64/install/linux2/blender
[Thread debugging using libthread_db enabled]
[New Thread 0x7f7eaaed8730 (LWP 21280)]
found bundled python: /home/douglas/1119_bf2.5-rev23229-amd64/install/linux2/.blender/python
AL lib: oss.c:168: Could not open /dev/dsp: Device or resource busy
AL lib: portaudio.c:119: Pa_OpenStream() returned an error: Invalid device
AL lib: oss.c:168: Could not open /dev/dsp: Device or resource busy
AL lib: portaudio.c:119: Pa_OpenStream() returned an error: Invalid device
bt

bpy stats - tot exec: 794, tot run: 0.0694sec, average run: 0.000087sec, tot usage 0.2029%
Error Totblock: 1
uiAfterFunc len: 720 0x24c1cd0

Blender quit

Program exited normally.
(gdb) bt
No stack.
(gdb)
No stack.
(gdb) q
douglas@frog:~/1119_bf2.5-rev23229-amd64$ ./install/linux2/blender
found bundled python: /home/douglas/1119_bf2.5-rev23229-amd64/install/linux2/.blender/python
AL lib: oss.c:168: Could not open /dev/dsp: Device or resource busy
AL lib: portaudio.c:119: Pa_OpenStream() returned an error: Invalid device
%%%

%%%Just adding my programs output with the new libopenal. It would seem that there is still a problem but at least no seg fault. douglas@frog:~/1119_bf2.5-rev23229-amd64$ gdb ./install/linux2/blender GNU gdb 6.8-debian 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 "x86_64-linux-gnu"... (gdb) run Starting program: /home/douglas/1119_bf2.5-rev23229-amd64/install/linux2/blender [Thread debugging using libthread_db enabled] [New Thread 0x7f7eaaed8730 (LWP 21280)] found bundled python: /home/douglas/1119_bf2.5-rev23229-amd64/install/linux2/.blender/python AL lib: oss.c:168: Could not open /dev/dsp: Device or resource busy AL lib: portaudio.c:119: Pa_OpenStream() returned an error: Invalid device AL lib: oss.c:168: Could not open /dev/dsp: Device or resource busy AL lib: portaudio.c:119: Pa_OpenStream() returned an error: Invalid device bt *bpy stats* - tot exec: 794, tot run: 0.0694sec, average run: 0.000087sec, tot usage 0.2029% Error Totblock: 1 uiAfterFunc len: 720 0x24c1cd0 Blender quit Program exited normally. (gdb) bt No stack. (gdb) No stack. (gdb) q douglas@frog:~/1119_bf2.5-rev23229-amd64$ ./install/linux2/blender found bundled python: /home/douglas/1119_bf2.5-rev23229-amd64/install/linux2/.blender/python AL lib: oss.c:168: Could not open /dev/dsp: Device or resource busy AL lib: portaudio.c:119: Pa_OpenStream() returned an error: Invalid device %%%
Member

%%%Looks like your newly installed OpenAL tries to use pulseaudio and OSS for output instead of alsa (what should be best). See the alsoftrc.sample of your openal soft installation for how to configure it to use alsa. Or check the file online [1].

I also suggest to remove pulse audio from your system, a quick google search should reveal, why it sucks and is by far not necessary and you should also find quite quick, how to uninstall it.

%%%Looks like your newly installed OpenAL tries to use pulseaudio and OSS for output instead of alsa (what should be best). See the alsoftrc.sample of your openal soft installation for how to configure it to use alsa. Or check the file online [1]. I also suggest to remove pulse audio from your system, a quick google search should reveal, why it sucks and is by far not necessary and you should also find quite quick, how to uninstall it. - [x] http://repo.or.cz/w/openal-soft.git?a=blob;f=alsoftrc.sample;h=83795f346f558d1057a5419be43a0e69211c69ff;hb=HEAD%%%
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#19685
No description provided.