bugzilla-daemon at freedesktop.org
2016-Feb-20 03:03 UTC
[Nouveau] [Bug 94225] New: Mesa crash with "nouveau" driver and Minetest
https://bugs.freedesktop.org/show_bug.cgi?id=94225 Bug ID: 94225 Summary: Mesa crash with "nouveau" driver and Minetest Product: Mesa Version: 10.2 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/nouveau Assignee: nouveau at lists.freedesktop.org Reporter: yugiohjcj at 1s.fr QA Contact: nouveau at lists.freedesktop.org Hello, I remark that Minetest 0.4.13 is crashing often (about 1 time by hour) when I am using the "nouveau" driver. I have already reported this bug to Minetest [1]. As Minetest is using Irrlicht as its engine, I suspect Irrlicht to be a possible cause of my problem. For this reason, I have also reported this bug to Irrlicht [2]. But regarding the log, I also see that Mesa itself could be suspected as it is present at the top of the backtrace. Here is the crash log: $ gdb minetest GNU gdb (GDB) 7.6.1 Copyright (C) 2013 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 "i486-slackware-linux". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/minetest...done. (gdb) run Starting program: /usr/bin/minetest [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Automatically selecting world at [/home/yugiohjcj/.minetest/worlds/toto] AL lib: alcOpenDevice: Option 'format' is deprecated, please use 'channels' and 'sample-type' [New Thread 0xb1517b40 (LWP 7062)] [New Thread 0xacbfeb40 (LWP 7063)] [New Thread 0xac3feb40 (LWP 7064)] [New Thread 0xab7ffb40 (LWP 7065)] [New Thread 0xaafffb40 (LWP 7066)] [New Thread 0xaa7ffb40 (LWP 7067)] [Thread 0xacbfeb40 (LWP 7063) exited] [Thread 0xb1517b40 (LWP 7062) exited] [Thread 0xac3feb40 (LWP 7064) exited] [Thread 0xaafffb40 (LWP 7066) exited] [Thread 0xaa7ffb40 (LWP 7067) exited] [Thread 0xab7ffb40 (LWP 7065) exited] AL lib: alcOpenDevice: Option 'format' is deprecated, please use 'channels' and 'sample-type' [New Thread 0xaa7ffb40 (LWP 7068)] [New Thread 0xaafffb40 (LWP 7069)] [New Thread 0xab7ffb40 (LWP 7070)] [New Thread 0xac3feb40 (LWP 7071)] [New Thread 0xb1517b40 (LWP 7072)] [New Thread 0xa7bf0b40 (LWP 7073)] 2016-02-19 17:48:30: ACTION[main]: Irrlicht: Could not open file of texture: character.png 2016-02-19 17:48:30: ACTION[main]: Irrlicht: Could not open file of texture: character.png 2016-02-19 17:49:41: ACTION[main]: Irrlicht: Could not open file of texture: character.png 2016-02-19 17:49:41: ACTION[main]: Irrlicht: Could not open file of texture: character.png 2016-02-19 17:53:45: ACTION[main]: Irrlicht: Could not open file of texture: character.png 2016-02-19 17:53:45: ACTION[main]: Irrlicht: Could not open file of texture: character.png Program received signal SIGSEGV, Segmentation fault. 0xb5cebcf8 in PUSH_DATA (push=0x8614038, data=268496912) at ./nouveau_winsys.h:35 35 ./nouveau_winsys.h: No such file or directory. (gdb) bt #0 0xb5cebcf8 in PUSH_DATA (push=0x8614038, data=268496912) at ./nouveau_winsys.h:35 #1 nvc0_screen_fence_emit (pscreen=0x8613cf8, sequence=0xe0faa30) at nvc0/nvc0_screen.c:491 #2 0xb5c16747 in nouveau_fence_emit (fence=0xe0faa20) at nouveau_fence.c:102 #3 0xb5c16a08 in nouveau_fence_next (screen=screen at entry=0x8613cf8) at nouveau_fence.c:227 #4 0xb5ce9a83 in nvc0_default_kick_notify (push=0x8614038) at nvc0/nvc0_context.c:170 #5 0xb5b8a04e in pushbuf_submit (push=push at entry=0x8614038, chan=<optimized out>, chan=<optimized out>) at pushbuf.c:325 #6 0xb5b8a39a in pushbuf_flush (push=push at entry=0x8614038) at pushbuf.c:402 #7 0xb5b8ad27 in nouveau_pushbuf_space (push=push at entry=0x8614038, dwords=0, relocs=0, pushes=<optimized out>, pushes at entry=0) at pushbuf.c:676 #8 0xb5b8ade3 in pushbuf_validate (push=0x8614038, retry=<optimized out>) at pushbuf.c:492 #9 0xb5b8b13e in nouveau_pushbuf_validate (push=0x8614038) at pushbuf.c:749 #10 0xb5cf3906 in nvc0_state_validate (nvc0=nvc0 at entry=0x8625880, mask=mask at entry=4294967295, words=words at entry=8) at nvc0/nvc0_state_validate.c:619 #11 0xb5cfdc1c in nvc0_draw_vbo (pipe=0x8625880, info=0xbfffdca0) at nvc0/nvc0_vbo.c:829 #12 0xb5f1d5c0 in cso_draw_vbo (cso=0x8692948, info=info at entry=0xbfffdca0) ---Type <return> to continue, or q <return> to quit--- at cso_cache/cso_context.c:1428 #13 0xb5e468ba in st_draw_vbo (ctx=0x8650160, prims=0xbfffdd74, nr_prims=1, ib=0xbfffdd64, index_bounds_valid=0 '\000', min_index=0, max_index=2431, tfb_vertcount=0x0, indirect=0x0) at state_tracker/st_draw.c:276 #14 0xb5e1a7a0 in vbo_handle_primitive_restart (ctx=ctx at entry=0x8650160, prim=prim at entry=0xbfffdd74, nr_prims=nr_prims at entry=1, ib=ib at entry=0xbfffdd64, index_bounds_valid=0 '\000', min_index=min_index at entry=4294967295, max_index=max_index at entry=4294967295) at vbo/vbo_exec_array.c:591 #15 0xb5e1be7c in vbo_validated_drawrangeelements (ctx=ctx at entry=0x8650160, mode=mode at entry=4, index_bounds_valid=index_bounds_valid at entry=0 '\000', start=start at entry=4294967295, end=end at entry=4294967295, count=count at entry=3648, type=type at entry=5123, indices=indices at entry=0x1717d500, basevertex=basevertex at entry=0, numInstances=numInstances at entry=1, baseInstance=baseInstance at entry=0) at vbo/vbo_exec_array.c:1014 #16 0xb5e1c509 in vbo_exec_DrawElements (mode=4, count=3648, type=5123, indices=0x1717d500) at vbo/vbo_exec_array.c:1164 #17 0xb7cb1820 in irr::video::COpenGLDriver::renderArray (this=0x868b8d0, indexList=0x1717d500, primitiveCount=1216, pType=irr::scene::EPT_TRIANGLES, iType=irr::video::EIT_16BIT) at COpenGLDriver.cpp:1743 #18 0xb7cb1372 in irr::video::COpenGLDriver::drawVertexPrimitiveList ( ---Type <return> to continue, or q <return> to quit--- this=0x868b8d0, vertices=0x1b312db0, vertexCount=2432, indexList=0x1717d500, primitiveCount=1216, vType=irr::video::EVT_TANGENTS, pType=irr::scene::EPT_TRIANGLES, iType=irr::video::EIT_16BIT) at COpenGLDriver.cpp:1586 #19 0xb7ca5ab2 in irr::video::CNullDriver::drawMeshBuffer (this=0x868b8d0, mb 0xc3ac3c0) at CNullDriver.cpp:1521 #20 0x08222581 in ClientMap::renderMap(irr::video::IVideoDriver*, int) () #21 0x08228ef4 in ClientMap::render() () #22 0xb7c638a9 in irr::scene::CSceneManager::drawAll (this=0x86e3880) at CSceneManager.cpp:1501 #23 0x082914e2 in draw_scene(irr::video::IVideoDriver*, irr::scene::ISceneManager*, Camera&, Client&, LocalPlayer*, Hud&, Mapper&, irr::gui::IGUIEnvironment*, std::vector<irr::core::aabbox3d<float>, std::allocator<irr::core::aabbox3d<float> > >, irr::core::vector2d<unsigned int> const&, irr::video::SColor, bool, bool) () #24 0x082ca1c9 in Game::updateFrame(std::vector<irr::core::aabbox3d<float>, std::allocator<irr::core::aabbox3d<float> > >&, ProfilerGraph*, RunStats*, GameRunData*, float, VolatileRunFlags const&, CameraOrientation const&) () #25 0x082ce688 in Game::run() () #26 0x082cee6a in the_game(bool*, bool, InputHandler*, irr::IrrlichtDevice*, std::string const&, std::string const&, std::string const&, std::string const&, unsigned short, std::string&, ChatBackend&, bool*, SubgameSpec const&, bool) () #27 0x080e8e3c in ClientLauncher::run(GameParams&, Settings const&) () ---Type <return> to continue, or q <return> to quit--- #28 0x080e1c39 in main () (gdb) quit A debugging session is active. Inferior 1 [process 7058] will be killed. Quit anyway? (y or n) y Here is my configuration: minetest-0.4.13 mesa-10.2.5 libdrm-2.4.56 xf86-video-nouveau-1.0.11 irrlicht-1.8.1 I let you verify through this log that Mesa is or not the cause of the crash. If you have a better/smaller example than Minetest/Irrlicht to reproduce the bug please tell me. Thank you. Best regards. [1] https://github.com/minetest/minetest/issues/3744 [2] https://sourceforge.net/p/irrlicht/bugs/438 -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160220/afe6ecb5/attachment.html>
bugzilla-daemon at freedesktop.org
2016-Feb-20 03:06 UTC
[Nouveau] [Bug 94225] Mesa crash with "nouveau" driver and Minetest
https://bugs.freedesktop.org/show_bug.cgi?id=94225 --- Comment #1 from Ilia Mirkin <imirkin at alum.mit.edu> --- Mesa 10.2 was released in mid-2014. A ton of fixes have gone in over the past 2 years. I would highly recommend testing with Mesa 11.1.2, which is the most recent release. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160220/6e67a1a0/attachment.html>
bugzilla-daemon at freedesktop.org
2016-Feb-25 15:35 UTC
[Nouveau] [Bug 94225] Mesa crash with "nouveau" driver and Minetest
https://bugs.freedesktop.org/show_bug.cgi?id=94225 YuGiOhJCJ <yugiohjcj at 1s.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from YuGiOhJCJ <yugiohjcj at 1s.fr> --- (In reply to Ilia Mirkin from comment #1)> Mesa 10.2 was released in mid-2014. A ton of fixes have gone in over the > past 2 years. I would highly recommend testing with Mesa 11.1.2, which is > the most recent release.Indeed, after upgrading my configuration to: - minetest-0.4.13 - mesa-11.1.2 - libdrm-2.4.67 - xf86-video-nouveau-1.0.11 the problem seems to be solved because I can't reproduce anymore this bug. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160225/fa3e9402/attachment.html>
Reasonably Related Threads
- [Bug 109186] New: Nouveau is freeze display. Only mouse working
- [Bug 109185] New: Nouveau is freeze display. Only mouse working
- [LLVMdev] Thinking about "whacky" backends
- [LLVMdev] Thinking about "whacky" backends
- (/usr/lib64/cups/backend/smb) stopped with status 1