Mike Monkowski <[email protected]>さん: > I'm surprised that the debug build does not give source file names and > line numbers in the stack trace. I understand that you can't build a > debug version of the driver, but the debug version of the viewer should > give more information in the trace. Are you sure you're running the > debug version?
Yes,sure I'm running the debug version. I'm surprised too and I checked the source. I found that LL_ELFBIN is null in llappviewerlinux.cpp. The path of ELFIO.h is /usr/local/include,not /usr/local/include/ELFIO. It is not possible to find the file in FindELFIO.cmake,the value of LL_ELFBIN is empty. Therefore the debug version of the viewer could not give detail information in the trace. I corrected llappviewerlinux.cpp and FindELFIO.cmake. I re-compiled.The viewer could give detail information int the trace. stack_trace.log is shown as follows: 0: ELF(do_elfio_glibc_backtrace()+0x3ec) [0x11b03e9c] 1: ELF(LLAppViewerLinux::handleSyncCrashTrace()+0x1c) [0x11b058a8] 2: ELF(LLAppViewer::handleSyncViewerCrash()+0x44) [0x10434764] 3: ELF(LLApp::runSyncErrorHandler()+0x3c) [0x12190370] 4: ELF(LLApp::setError()+0x30) [0x12190440] 5: ELF(default_unix_signal_handler(int, siginfo*, void*)+0xc94) [0x12191bf0] 6: [0x100350] 7: ./secondlife-bin [0x100f4e08] 8: /home/takeshich/mesacell/mesa/lib/libGL.so.1 [0xf62e07c] 9: /home/takeshich/mesacell/mesa/lib/libGL.so.1 [0xf62e2bc] 10: /home/takeshich/mesacell/mesa/lib/libGL.so.1 [0xf62e31c] 11: /home/takeshich/mesacell/mesa/lib/libGL.so.1(util_draw_vertex_buffer+0x1b8) [0xf94a334] 12: /home/takeshich/mesacell/mesa/lib/libGL.so.1(util_gen_mipmap+0x4f0) [0xf954f54] 13: /home/takeshich/mesacell/mesa/lib/libGL.so.1 [0xf799a1c] 14: /home/takeshich/mesacell/mesa/lib/libGL.so.1(st_generate_mipmap+0xa4) [0xf799e78] 15: /home/takeshich/mesacell/mesa/lib/libGL.so.1 [0xf8b7770] 16: /home/takeshich/mesacell/mesa/lib/libGL.so.1 [0xf8b7904] 17: /home/takeshich/mesacell/mesa/lib/libGL.so.1(_mesa_TexImage2D+0x440) [0xf760860] 18: /home/takeshich/mesacell/mesa/lib/libGL.so.1(glTexImage2D+0x8c) [0xf681860] 19: ELF(LLImageGL::setImage(unsigned char const*, int)+0x550) [0x11db46d8] 20: ELF(LLImageGL::createGLTexture(int, unsigned char const*, int, int)+0x730) [0x11db7564] 21: ELF(LLImageGL::createGLTexture(int, LLImageRaw const*, int)+0x77c) [0x11db6e08] 22: ELF(LLViewerImage::initClass()+0x350) [0x115d16bc] 23: ELF(LLViewerWindow::LLViewerWindow(std::string const&, std::string const&, int, int, int, int, int, int)+0x1db4) [0x11848998] 24: ELF(LLAppViewer::initWindow()+0x444) [0x104319d0] 25: ELF(LLAppViewer::init()+0x15d0) [0x10424b20] 26: ELF(LLAppViewerLinux::init()+0x24) [0x11b04a40] 27: ELF(main+0x10c) [0x11b0328c] 28: /lib/libc.so.6 [0xe3d2380] 29: /lib/libc.so.6 [0xe3d25c4] ----------- Takeshich Nakamura [email protected] _______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/SLDev Please read the policies before posting to keep unmoderated posting privileges
