POV-Ray : Newsgroups : povray.beta-test : Linux Beta 28 segfaults on Slackware and Kubuntu : Linux Beta 28 segfaults on Slackware and Kubuntu Server Time
25 Apr 2024 08:35:35 EDT (-0400)
  Linux Beta 28 segfaults on Slackware and Kubuntu  
From: geep999
Date: 24 Aug 2008 11:55:17
Message: <web.48b1839e38b6f50ec03ef3130@news.povray.org>
Hi,

0/ After my previous report that rendering biscuit.pov was OK using own-compiled
Linux Beta 28 on Slackware 12.0, I attempted to render all the examples.
Ran into several segfaults whilst rendering. Similar problems on Kubuntu 8.04.1
Compiling on Kubuntu was quite straightforward. (Iteratively getting missing
libraries!).

1/ I'm getting an inconsistent segmentation fault from Beta 28 on both
Slackware 12.0 and Kubuntu 8.04.1 running
povray-3.7/scenes/portfolio/m_textures.ini
(Kubuntu is running as a VMWare Player guest application)

m_textures.ini is supposed to render 14 frames. Sometimes it segfaults
immediately. Sometimes it renders 2, 3 or 4 frames and segfaults.

Cpu: Intel Core2Duo E6550.
Slackware 12.0: gcc 4.1.2. boost 1.34.1 + 19.12.2007 Critical bug patch.
2.6.21.5-smp #4 SM
Kubuntu 8.04.1: gcc 4.2.3. boost 1.34.1 + 19.12.2007 Critical bug patch.
2.6.24-19-generic #1 SMP

I have tried running it with 1 or 2 threads but get the same segfaults. i.e.
povray m_textures.ini +wt1
povray m_textures.ini +wt2

m_textures.ini is OK with Beta 25b on Linux Slackware 12.0
Also OK with Beta 28 on Win2k and WinXP running as guests in VMWare Player.

I have been able to render most of the examples on Slackware 12.0:
/usr/local/share/povray-3.7/scripts/allscene.sh
/usr/local/share/povray-3.7/scripts/allanim.sh
    But a few of the examples also segfault.
    e.g. povray-3.7/scenes/advanced/wineglass.pov
/usr/local/share/povray-3.7/scripts/portfolio.sh aborts at
povray-3.7/scenes/portfolio/m_textures.ini

On Kubuntu 8.04.1:
   wineglass.pov sometimes segfaults at Width = 320 Height = 240, and sometimes
renders OK!
   biscuit.pov is OK at Width = 640 Height = 480, but segfaults at Width 960
Height = 720

2/ I have tried compiling on Slackware 12.0 with both --enable-debug and
--enable-profile
../configure \
--with-boost-thread=boost_thread-mt \
--enable-profile \
COMPILED_BY="geep"

I am not sure that the --enable-debug and --enable-profile options are working
because:
i) gdb reports: (no debugging symbols found)
ii) config.status contains this line: debug=false

Anyway, attached down the bottom are stacktraces from rendering m_textures.ini.
After the segfault there remains a .pov-state file

3/ After untarring povray-src-3.7.0.beta.25b.tar.bz2 I noticed that there are a
number of directories and their files duplicated inside themselves:
povray-3.7.0.beta.25b/include/include
povray-3.7.0.beta.25b/ini/ini
povray-3.7.0.beta.25b/scenes/scenes
povray-3.7.0.beta.25b/scripts/scripts

4/ On Slackware 12.0 "make check" renders biscuit.pov and displays the image in
a full screen mode. i.e. the image is surrounded by black screen.
This freezes the mouse cursor and keyboard too, and so locks the machine.
Hardware reset is needed to reboot.

Cheers,
Peter

Some Stacktraces:
SLACKWARE 12.0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1274303600 (LWP 7799)]
0xb780fd85 in malloc_consolidate () from /lib/libc.so.6
(gdb) bt
#0  0xb780fd85 in malloc_consolidate () from /lib/libc.so.6
#1  0xb78122c7 in _int_malloc () from /lib/libc.so.6
#2  0xb7813b7e in malloc () from /lib/libc.so.6
#3  0xb79cf7e8 in operator new () from /usr/lib/libstdc++.so.6
#4  0x08105dbf in ?? ()
#5  0x0810f028 in ?? ()
#6  0x0816f9f7 in ?? ()
#7  0x080c0663 in ?? ()
#8  0x08155d3c in ?? ()
#9  0x0815af89 in ?? ()
#10 0x0815818b in ?? ()
#11 0x081583cb in ?? ()
#12 0x08158965 in ?? ()
#13 0x0815ff4b in ?? ()
#14 0x0815a1e7 in ?? ()
#15 0x0815ad1e in ?? ()
#16 0x0815b07f in ?? ()
#17 0x08158355 in ?? ()
#18 0x08158965 in ?? ()
#19 0x0815ff4b in ?? ()
#20 0x0815a1e7 in ?? ()
#21 0x0815ad1e in ?? ()
#22 0x0815b07f in ?? ()
#23 0x0816d0b7 in ?? ()
#24 0x08167b67 in ?? ()
#25 0x081685ef in ?? ()
#26 0x08168dda in ?? ()
#27 0x0817309a in ?? ()
#28 0x08173e26 in ?? ()
#29 0x081744ef in boost::function0<void, std::allocator<boost::function_base>
>::operator() ()
#30 0xb7a0a9a3 in ?? () from /usr/lib/libboost_thread-mt.so
#31 0xb7e1d1b3 in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#32 0xb787a03e in clone () from /lib/libc.so.6
(gdb)

KUBUNTU 8.04.1
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6e78b90 (LWP 11804)]
0xb78d0e10 in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0xb78d0e10 in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0xb78d2edd in ?? () from /lib/tls/i686/cmov/libc.so.6
#2  0xb78d49ff in calloc () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7ef7eeb in ?? () from /lib/ld-linux.so.2
#4  0xb7ef3c6a in ?? () from /lib/ld-linux.so.2
#5  0xb7ef5a98 in ?? () from /lib/ld-linux.so.2
#6  0xb7eff544 in ?? () from /lib/ld-linux.so.2
#7  0xb7efb5d6 in ?? () from /lib/ld-linux.so.2
#8  0xb7efef5e in ?? () from /lib/ld-linux.so.2
#9  0xb77a0c19 in ?? () from /lib/tls/i686/cmov/libdl.so.2
#10 0xb7efb5d6 in ?? () from /lib/ld-linux.so.2
#11 0xb77a12bc in ?? () from /lib/tls/i686/cmov/libdl.so.2
#12 0xb77a0b51 in dlopen () from /lib/tls/i686/cmov/libdl.so.2
#13 0xb7e8328d in SDL_LoadObject () from /usr/lib/libSDL-1.2.so.0
#14 0xb7e873f1 in ?? () from /usr/lib/libSDL-1.2.so.0
#15 0xb7e8e6c1 in ?? () from /usr/lib/libSDL-1.2.so.0
#16 0xb7e7ec94 in SDL_VideoInit () from /usr/lib/libSDL-1.2.so.0
#17 0xb7e52933 in SDL_InitSubSystem () from /usr/lib/libSDL-1.2.so.0
#18 0xb7e52997 in SDL_Init () from /usr/lib/libSDL-1.2.so.0
#19 0x080524cd in ?? ()
#20 0x08089e8b in ?? ()
#21 0x08079e2d in ?? ()
#22 0x0807b883 in ?? ()
#23 0x0817206b in boost::function0<void, std::allocator<boost::function_base>
>::operator() ()
#24 0xb7af9be7 in ?? () from /usr/lib/libboost_thread-mt.so
#25 0xb79bc4fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#26 0xb793de5e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.