Segmentation fault with mod_wl_22.so and Apache 2.2.3
Hi,
Every few requests, the proxy plugin seg faults.
The following backtrace is logged:
[Sun Sep 26 06:26:16 2010] [notice] child pid 28254 exit signal Segmentation fault (11)
*** glibc detected *** /usr/sbin/httpd: free(): invalid pointer: 0x00002b285a9882f0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2b2853f3230f]
/lib64/libc.so.6(cfree+0x4b)[0x2b2853f3276b]
/etc/httpd/modules/mod_wl_22.so(_tmf90043+0x2f)[0x2b285d4f9954]
/etc/httpd/modules/mod_wl_22.so(_tmf90047+0x51)[0x2b285d4e0c2c]
/etc/httpd/modules/mod_wl_22.so(_tmf90487+0xa3)[0x2b285d4e062d]
/etc/httpd/modules/mod_wl_22.so(_ZN3URL5closeEv+0x69)[0x2b285d49d353]
/etc/httpd/modules/mod_wl_22.so(_Z19getPooledConnectionP8ListNodePKctiiP10LogContext+0x1c2)[0x2b285d498ff2]
/etc/httpd/modules/mod_wl_22.so[0x2b285d490ee4]
/etc/httpd/modules/mod_wl_22.so(request_handler+0x10b0)[0x2b285d493018]
/usr/sbin/httpd(ap_run_handler+0x7a)[0x2b2851fc5a4a]
/usr/sbin/httpd(ap_invoke_handler+0x78)[0x2b2851fc8ed8]
/usr/sbin/httpd(ap_process_request+0x1a8)[0x2b2851fd3978]
/usr/sbin/httpd[0x2b2851fd0bb0]
/usr/sbin/httpd(ap_run_process_connection+0x72)[0x2b2851fcccd2]
/usr/sbin/httpd[0x2b2851fd77c9]
/usr/sbin/httpd[0x2b2851fd7a5a]
/usr/sbin/httpd[0x2b2851fd7b10]
/usr/sbin/httpd(ap_mpm_run+0xccb)[0x2b2851fd87fb]
/usr/sbin/httpd(main+0x7e8)[0x2b2851fb2e48]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x2b2853edd994]
/usr/sbin/httpd[0x2b2851fb2199]
I am using the following plugin version:
Oracle WebLogic plugin build date/time: Apr 20 2009 15:29:36. Change Number: 1211636
The OS is a stock RHEL 5.4 (64 bit)
Any ideas?
I've tried to upgrade to plugin version 1.1, but now it refuses to use SSL between the proxy and the weblogic server.
All I get from the logs is the following:
Sun Sep 26 12:03:32 2010 <2450512854954051> mod_weblogic(ssl): Connection mod_wl SSL handshake failed (29024)
Sun Sep 26 12:03:32 2010 <2450512854954051> mod_weblogic(ssl): SSL Handshake failed
I've created a wallet, and imported my certificate to it as a trusted certificate.
It should be noted that I have a wildcard certificate, and the previous plugin version did not support it - I had to use
RequireSSLHostMatch false
EnforceBasicConstraints false
for it to work. These options are no longer supported in 1.1 - Why?
Similar Messages
-
Segmentation fault with apache plug-in
The debug flag is on with apache.Getting the following message and core dump.wl 6.0, jdk 1.3, Solaris 2.6 105181-21, apache 1.3.12, gcc 2.8(FSF), make(3.7.6)os patch 10559-09 installed.[Fri Dec 29 14:57:11 2000] [notice] child pid 27661 exit signal Segmentation Fault (11), possible coredump in /usr/local/apache
The debug flag is on with apache.Getting the following message and core dump.wl 6.0, jdk 1.3, Solaris 2.6 105181-21, apache 1.3.12, gcc 2.8(FSF), make(3.7.6)os patch 10559-09 installed.[Fri Dec 29 14:57:11 2000] [notice] child pid 27661 exit signal Segmentation Fault (11), possible coredump in /usr/local/apache
-
Python segmentation fault with matplotlib and opencv2
Once again fellow archers, I am in need of your help.
I have a file, Test1.py, which uses cv2, pylab, and numpy.
Excluding either pylab or cv2 functions, I can make the rest of the script work, but when pylab is imported, calling cv2's imshow() function causes a "segmentation fault (core dumped)".
By the sound of it, I thought it might come from the underlying C stuff, rather than python.
So I ran it through gdb.
This is where I need help. I'm not sure how to interprete the backtrace, and I probably wouldn't know what to to if I were.
Perhaps a problem with glib or GObject?
Below are the python script in question (it a template for a school assignment), and the gdb trace.
Test1.py
import sys
sys.settrace
import numpy as np
import cv2
import math
import pylab
#----------------------------Functions
def show1_OpenCV(image):
# ##This function define a window by namedWindow() and then show the image in that window
image=np.array(image)
# cv2.namedWindow('ByOpenCV', cv2.WINDOW_AUTOSIZE)## create a window called
# #+'By OpenCV'Using the \nw{cv2.WINDOW_AUTOSIZE} parameter when defining a window display the image with its actual size in the window.
cv2.imshow('ByOpenCV', image) ## show the image in 'By OpenCV' window
# cv2.waitKey(0) ## the window will be closed with a (any)key press
def show2_OpenCV(*image):
## Showing the image using OpenCV
im=[]
for i in image:
im.append(array(i))
cv2.namedWindow('1', cv2.WINDOW_AUTOSIZE)## create a window called 'By OpenCV' Using the \nw{cv2.WINDOW_AUTOSIZE} parameter when defining a window display the image with its actual size in the window.
cv2.imshow('1', im[0]) ## show the image in 'By OpenCV' window
cv2.namedWindow('2', cv2.WINDOW_AUTOSIZE)
cv2.imshow('2', im[1])
cv2.waitKey(0) ## the window will be closed with a (any)key press
def showAll_OpenCV(**image):
im = []
for (k,v) in image.items():
cv2.namedWindow(str(k), cv2.WINDOW_AUTOSIZE)
cv2.imshow(k, np.array(v))
cv2.waitKey()
def show1_pylab(image):
## Showing the image using pylab
figure("By pylab")## Create a figure
gray()
title("1"); imshow(image)
show()
def show2_pylab(*images):
## Showing the image using pylab
figure("By pylab")## Create a figure
gray()
subplot(1,2,1);title("1"); imshow(images[0])## more about 'subplot()' : <http://www.scipy.org/Cookbook/Matplotlib/Multiple_Subplots_with_One_Axis_Label>
subplot(1,2,2);title("2"); imshow(images[1])
show()
def grayLevelMap2(I,vector):
I = np.copy(I)
(x,y) = np.shape(I)
for i in range(x):
for j in range(y):
I[i,j] = vector[I[i,j]]
return I
def grayLevelMap(I,a,b):
I = np.copy(I)
(x,y) = np.shape(I)
for i in range(x):
for j in range(y):
I[i,j] = max(0,min(255, a* I[i,j] +b))
return I
def grayLevelMapF(I,f):
I = np.copy(I)
(x,y) = np.shape(I)
for i in range(x):
I[i] = map(f, I[i])
return I
def f(x):
func=(255-x)*math.sqrt(100/+1)
return func
def displayVect(v):
points=[]
for i in range(len(v)):
points.append((i,v[i]))
bins = range(256)
n = v
grid(None, 'major', 'both')
plot(bins, n, 'k-', linewidth=5)
axis([-2, 256, -2, 256])
show()
##------------------------------Main body
# Loading an image using openCV
I1=cv2.imread("children.tif")
I2=cv2.imread("Eye1.jpg")
I3=cv2.imread("Marker1.jpg")
I4=cv2.imread("GreenTest.jpg")
I1=cv2.cvtColor(I1, cv2.COLOR_RGB2GRAY)
I2=cv2.cvtColor(I2, cv2.COLOR_RGB2GRAY)
I3=cv2.cvtColor(I3, cv2.COLOR_RGB2GRAY)
I4=cv2.cvtColor(I4, cv2.COLOR_RGB2GRAY)
show1_OpenCV(grayLevelMapF(I4, lambda x: 2*x))
show1_OpenCV(I4)
gdb output:
Reading symbols from /usr/bin/python2...(no debugging symbols found)...done.
(gdb) run Test1.py
Starting program: /usr/bin/python2 Test1.py
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.3-gdb.py", line 9, in <module>
from gobject import register
File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
import gdb.backtrace
ImportError: No module named backtrace
[New Thread 0x7fffdf259700 (LWP 3981)]
Program received signal SIGSEGV, Segmentation fault.
0x00000036cb6bc785 in do_warn () from /usr/lib/libpython2.7.so.1.0
(gdb) backtrace
#0 0x00000036cb6bc785 in do_warn () from /usr/lib/libpython2.7.so.1.0
#1 0x00000036cb6bcc4c in PyErr_WarnEx () from /usr/lib/libpython2.7.so.1.0
#2 0x00007fffe10153b5 in ?? ()
from /usr/lib/python2.7/site-packages/gobject/_gobject.so
#3 0x00000036cde4ea00 in g_logv () from /usr/lib/libglib-2.0.so.0
#4 0x00000036cde4ebf2 in g_log () from /usr/lib/libglib-2.0.so.0
#5 0x00007fffef8e009e in gtk_disable_setlocale ()
from /usr/lib/libgtk-x11-2.0.so.0
#6 0x00007ffff21ca8a8 in cvInitSystem ()
from /usr/lib/libopencv_highgui.so.2.4
#7 0x00007ffff21cafb3 in cvNamedWindow ()
from /usr/lib/libopencv_highgui.so.2.4
#8 0x00007ffff352dfe4 in ?? () from /usr/lib/python2.7/site-packages/cv2.so
#9 0x00000036cb6dc05a in PyEval_EvalFrameEx ()
from /usr/lib/libpython2.7.so.1.0
#10 0x00000036cb6dba83 in PyEval_EvalFrameEx ()
from /usr/lib/libpython2.7.so.1.0
#11 0x00000036cb6dcedd in PyEval_EvalCodeEx ()
---Type <return> to continue, or q <return> to quit---j
from /usr/lib/libpython2.7.so.1.0
#12 0x00000036cb6dcfb2 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#13 0x00000036cb6f5eea in run_mod () from /usr/lib/libpython2.7.so.1.0
#14 0x00000036cb6f6ce2 in PyRun_FileExFlags ()
from /usr/lib/libpython2.7.so.1.0
#15 0x00000036cb6f76fb in PyRun_SimpleFileExFlags ()
from /usr/lib/libpython2.7.so.1.0
#16 0x00000036cb7089f2 in Py_Main () from /usr/lib/libpython2.7.so.1.0
#17 0x00007ffff7833a15 in __libc_start_main () from /usr/lib/libc.so.6
#18 0x0000000000400741 in _start ()
(gdb) run Test1.py
Last edited by Bladtman242 (2013-02-12 19:30:55)Thank you so much!
This (ugly) workaround might have saved me from a lot of trouble with this semester's exercises.
Just to be clear, the solution is:
Import opencv
Call namedWindow
Do the rest of the imports
Do the rest of the script
Corect?
I'm hesitant to mark the thread as solved, as the problem is still very much there, this workaround just allows us to ignore it. -
Help needed, segmentation fault with java 1.6
Hey, I would very much appreciate help with this problem.
It began a while ago, while I was using Netbeans 6.5 to do some Java Server testing stuff, I was running Adobe Flash on top (working on some WSDL stuff), and the computer was understandable running a bit slowly. However, it got to the point where the computer stopped responding, even with me killing apps as often as possible to conserve memory (1 GB on this machine) and I was forced to kill the machine by holding down the power button (using a white MacBook). When I started up once more, java 1.6 was dead, no amount of re-installs seemed to be helping when I tried downloading the Java Updates from Apple, though java 1.5 seemed to be working at that time. However, poking around in the console and looking at the logs, I noticed that launchd[1] was failing every 10 seconds to start something up, it looked like it was the apache http server, therefore I went to System Preferences to turn of Web Sharing, and that particular problem disappeared. However, whenever I would attempt to run java, even using the Terminal, I would get this Console log, or at least one very similar (this one was generated with java 1.5 I believe)
Process: java [7217]
Path: /usr/bin/java
Identifier: java
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [7208]
Date/Time: 2008-12-13 10:41:23.197 -0500
OS Version: Mac OS X 10.5.5 (9F33)
Report Version: 6
Exception Type: EXCBADACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0x00007fff80e57164 strcmp + 84
1 libobjc.A.dylib 0x00007fff8000b23f _selregisterName + 49
2 libobjc.A.dylib 0x00007fff8000ab46 map_images + 3757
3 dyld 0x00007fff5fc04130 dyld::notifyBatchPartial(dyldimagestates, bool, char const* (*)(dyldimagestates, unsigned int, dyldimageinfo const*)) + 416
4 dyld 0x00007fff5fc048fd dyld::registerImageStateBatchChangeHandler(dyldimagestates, char const* (*)(dyldimagestates, unsigned int, dyldimageinfo const*)) + 525
5 libSystem.B.dylib 0x00007fff80e56472 dyldregister_image_state_changehandler + 88
6 libobjc.A.dylib 0x00007fff8000954f objcinit + 38
7 dyld 0x00007fff5fc11257 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 279
8 dyld 0x00007fff5fc0d16c ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 268
9 dyld 0x00007fff5fc0d110 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 176
10 dyld 0x00007fff5fc0d110 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 176
11 dyld 0x00007fff5fc0d110 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 176
12 dyld 0x00007fff5fc0d254 ImageLoader::runInitializers(ImageLoader::LinkContext const&) + 52
13 dyld 0x00007fff5fc038b4 dyld::initializeMainExecutable() + 132
14 dyld 0x00007fff5fc06eb1 dyld::main(machheader const*, unsigned long, int, char const**, char const**, char const**) + 2209
15 dyld 0x00007fff5fc01695 dyldbootstrap::start(mach_header const*, int, char const**, long) + 693
16 dyld 0x00007fff5fc0103a dyldstart + 42
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00000000000008a0 rbx: 0x00007fff80018760 rcx: 0x0000000000005722 rdx: 0x000000000000008a
rdi: 0x00007fff80018760 rsi: 0x0c00004806000038 rbp: 0x00007fff5fbfdbc0 rsp: 0x00007fff5fbfdba8
r8: 0x00000000c5a8037d r9: 0x0000000068e33de7 r10: 0x00000000bcafe771 r11: 0x0000000000000001
r12: 0x0c00004806000038 r13: 0x0000000000000001 r14: 0x0000000000000001 r15: 0x000000000000001d
rip: 0x00007fff80e57164 rfl: 0x0000000000010202 cr2: 0x00007fff7002f9f0
Binary Images:
0x100000000 - 0x10000afe0 +java ??? (???) <53c91321e79d660f62c011f5d8625a7f> /usr/bin/java
0x100010000 - 0x100018ffd com.apple.JavaVM 12.2.0 (12.2.0) <2b178e8d4bbcc0aa427c2f3f71bb2fcb> /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
0x7fff5fc00000 - 0x7fff5fc2e593 dyld 96.2 (???) <b0570939de4a19f478c8eabab95aaaee> /usr/lib/dyld
0x7fff80003000 - 0x7fff800f7fff libobjc.A.dylib ??? (???) <118dc1ae05e685ad64290352fc94f1f0> /usr/lib/libobjc.A.dylib
0x7fff80199000 - 0x7fff801aaffd libz.1.dylib ??? (???) <f260db32dd97a14108a5e04184785ded> /usr/lib/libz.1.dylib
0x7fff801ab000 - 0x7fff801e8ff7 com.apple.SystemConfiguration 1.9.2 (1.9.2) <3e058b95c78dc2f54ec3f9781bd86e1c> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x7fff801e9000 - 0x7fff80239fe7 com.apple.Metadata 10.5.2 (398.22) <1fc60b4568a7ffbec4273f656d61ab58> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x7fff808c2000 - 0x7fff80957ffb com.apple.LaunchServices 290 (290) <b5b494e44b291a782bee370a046d5727> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x7fff80a31000 - 0x7fff80a39ffa libbsm.dylib ??? (???) <4d838c0d8a74fe61c781a53a8723303d> /usr/lib/libbsm.dylib
0x7fff80a3a000 - 0x7fff80a6cff7 libauto.dylib ??? (???) <cc8eece8c0097b254c758bd4e8df9537> /usr/lib/libauto.dylib
0x7fff80e4d000 - 0x7fff80fd1ffb libSystem.B.dylib ??? (???) <8e3de87ccdf6c4606b9bcb9da3a33eda> /usr/lib/libSystem.B.dylib
0x7fff80fd2000 - 0x7fff81046fe7 libstdc++.6.dylib ??? (???) <565ee6f798f7fef6f804c60682787280> /usr/lib/libstdc++.6.dylib
0x7fff81075000 - 0x7fff81106fff com.apple.SearchKit 1.2.1 (1.2.1) <e2a25e04f281fe8ff7088a08a549020f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x7fff81107000 - 0x7fff8119bfe3 com.apple.CFNetwork 339.5 (339.5) <6e912954955e0af0e0defb59cc2c348a> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x7fff814b5000 - 0x7fff814dcfff libxslt.1.dylib ??? (???) <22a74e7859cfbf63ae7fc310b0a669a4> /usr/lib/libxslt.1.dylib
0x7fff82112000 - 0x7fff82249fff com.apple.CoreFoundation 6.5.4 (476.15) <4b970007410b71eca926819f3959548f> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8224a000 - 0x7fff8224affa com.apple.CoreServices 32 (32) <c12e589173b697ce88050a6f736549eb> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff830ae000 - 0x7fff830edfef com.apple.framework.IOKit 1.5.1 (???) <56d5528f3623ad4d9c68751018e658c3> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff832b0000 - 0x7fff83360fef com.apple.CoreServices.OSServices 226.5 (226.5) <4461ef69cec249de2315c88e83d4c904> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x7fff83465000 - 0x7fff835d3fff libicucore.A.dylib ??? (???) <25557e76cafa3f8a97ca7bffe42e2d97> /usr/lib/libicucore.A.dylib
0x7fff835d8000 - 0x7fff835dcfff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x7fff835f5000 - 0x7fff8360dfff com.apple.DictionaryServices 1.0.0 (1.0.0) <78ea11e9a92120f76d69efa24b8d1f95> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x7fff836a5000 - 0x7fff8379afff libxml2.2.dylib ??? (???) <8226d1180354f493954c5fa1fc0e1154> /usr/lib/libxml2.2.dylib
0x7fff8379b000 - 0x7fff837a1fff com.apple.DiskArbitration 2.2.1 (2.2.1) <e75fe224700767869227cc903bef8ed9> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff8387a000 - 0x7fff83a80ffb com.apple.security 5.0.4 (34102) <e0b73ab106139601404f2666ce1b9d65> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff83ecb000 - 0x7fff84165fe3 com.apple.Foundation 6.5.6 (677.21) <8995b3185ca91d3508c7580794d40813> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff84166000 - 0x7fff841a1fff com.apple.AE 402.2 (402.2) <b03583e0747f82199e0d9604014faa34> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x7fff842ed000 - 0x7fff842f9ff1 libgcc_s.1.dylib ??? (???) <23fa31a628c1ea8a62ac529fa333b6e1> /usr/lib/libgcc_s.1.dylib
0x7fff842fa000 - 0x7fff84382fe7 libsqlite3.0.dylib ??? (???) <3c7ab3523b816dbd3e039ee7e6e2c580> /usr/lib/libsqlite3.0.dylib
0x7fff84383000 - 0x7fff8467efe3 com.apple.CoreServices.CarbonCore 786.6 (786.6) <7048aee00133f19029108600e9ede844> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x7fffffe00000 - 0x7fffffe01780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
0xfffffffffffec000 - 0xfffffffffffeffff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
As I said, java 1.5 worked for a while, however recently it too has stopped working and spits out Segmentation Faults like these. Any clues as to why, and how to fix?
Much thanks.I have no answers, but strongly suggest posting to an appropriate forum under OS X Technologies, where Unix and developer gurus hang out.
-
Memory violation / segmentation fault at k3b, kdenlive and wine
Hello, i cant run k3b, kdenlive and wine.
When i try to run some of listed apliactions i got segmentation fault.
Here are some logs:
strace k3b
http://wklej.org/id/350797/
valgrind k3b
http://wklej.org/id/350806/
strace kdenlive
http://wklej.org/id/350801/
valgrind k3b
http://wklej.org/id/350807/
I launched Wine separated version installed by PlayOnLinux, and just made a bash script in /usr/bin/wine:
#!/bin/bash
/home/webnull/.PlayOnLinux/WineVersions/1.1.44/usr/bin/wine $@
And wine runs from /home/webnull/.PlayOnLinux/WineVersions/1.1.44/usr/bin/win using /usr/bin/wine but this is not a solution, its just a shortcut to other installed wine.
@edit
SOLVED: BUG IN GLIBC 2.12-2 OR BINUTILS 2.20.1-3 JUST DOWNGRADED THESE PACKAGES USING http://schlunix.org/archlinux/core/os/
-- WebNuLL
Last edited by webnull (2010-06-15 14:31:49)Here is some additional information that may or may not be of any relevance. I do not know.
On the old server, I compiled the code with the compilation commands: f95 program.for
I was able to compile and execute code with small, medium size or large arrays (with or without the additional -openmp flag).
If I repeat the same command: f95 program.for
on the new server, I get the following compilation error message for programs with medium size and large arrays:
In function `newmaxmalecor':
/mnt/ide0/home/gustaf/education/programming/cesprod100//chicago.for:4340: relocation truncated to fit: R_X86_64_32 against symbol
If I compile with the additional flags: f95 -xmodel=medium -m64 program.for
on the new server, there are no compilation errors and I can run the code in sequence.
However, when I compile with
f95 -xmodel=medim -m64 -openmp program.for
on the new server, compilation works, but I cannot execute the code with medium size and large arrays.
The programs for which I have to add the "-xmodel=medium" flag on the new server to be able to compile the code and run it in sequence, are exactly the ones for which I get segmentation faults when I introduce the openmp flag and try to execute the code in parallel fashion.
Is this just a coincidence?
Lage -
[SOLVED]Easytag Segmentation fault with kde3 (kdemod)
(easytag:4811): Gtk-WARNING **: libbonoboui-2.so.0: cannot open shared object file: No such file or directory
(easytag:4811): Gtk-WARNING **: libbonoboui-2.so.0: cannot open shared object file: No such file or directory
EasyTAG 2.1.5: Abnormal exit! (PId: 4811).
Received signal SIGSEGV (11)
You have probably found a bug in EasyTAG. Please, send a bug report with a gdb backtrace ('gdb easytag core' then 'bt' and 'l') and informations to reproduce it to [email protected]
Segmentation fault
If I start up easytag while running KDE3 (kdemod), I get this problem every time. I have tried running it with openbox and it runs without a problem. I have deleted .easytag and reinstalled, but the problem continues.
EDIT: Installing libbonoboui resolves the problem. It looks like the there is a dependency issue here, I'll file a bug.
Last edited by alleyoopster (2008-08-02 17:18:06)Allan wrote:Do a "pacman -S libbonoboui" an all should be good. I don't understand why this only occurs in KDEmod though. Is that on two different computers. File a bug report about the missing dependancy.
Yeah thanks Allan, I figured it out. Bug report at http://bugs.archlinux.org/task/11094
No it is on the same machine
Last edited by alleyoopster (2008-08-02 17:18:28) -
[SOLVED] Segmentation Fault with Clementine
When I open the preferences (Ctrl+P) of Clementine it crashes with a segmentation fault.
This is the backtrace:
18:53:58.858 WARN unknown libpng warning: iCCP: known incorrect sRGB profile
18:53:58.900 WARN unknown libpng warning: iCCP: known incorrect sRGB profile
[Thread 0x7fff9ffff700 (LWP 1566) exited]
Program received signal SIGSEGV, Segmentation fault.
0x00007fffec8b9ba1 in ?? () from /usr/lib/libfontconfig.so.1
(gdb) bt
#0 0x00007fffec8b9ba1 in ?? () from /usr/lib/libfontconfig.so.1
#1 0x00007fffec8ba03f in ?? () from /usr/lib/libfontconfig.so.1
#2 0x00007fffec8b9cd8 in ?? () from /usr/lib/libfontconfig.so.1
#3 0x00007fffec8ba554 in ?? () from /usr/lib/libfontconfig.so.1
#4 0x00007fffec8ba77d in FcConfigSubstituteWithPat ()
from /usr/lib/libfontconfig.so.1
#5 0x00007fffec8c85cc in FcFontRenderPrepare ()
from /usr/lib/libfontconfig.so.1
#6 0x00007ffff32d695e in QFontDatabase::load(QFontPrivate const*, int) ()
from /usr/lib/libQtGui.so.4
#7 0x00007ffff32b35e9 in QFontPrivate::engineForScript(int) const ()
from /usr/lib/libQtGui.so.4
#8 0x00007ffff32e9252 in QTextEngine::fontEngine(QScriptItem const&, QFixed*, QFixed*, QFixed*) const () from /usr/lib/libQtGui.so.4
#9 0x00007ffff32e9a03 in QTextEngine::shapeTextWithHarfbuzz(int) const ()
from /usr/lib/libQtGui.so.4
#10 0x00007ffff32eab02 in QTextEngine::shapeText(int) const ()
from /usr/lib/libQtGui.so.4
#11 0x00007ffff32eae25 in QTextEngine::shape(int) const ()
from /usr/lib/libQtGui.so.4
#12 0x00007ffff32f0a30 in QTextEngine::boundingBox(int, int) const ()
from /usr/lib/libQtGui.so.4
#13 0x00007ffff32c79f4 in QFontMetrics::boundingRect(QString const&) const ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/libQtGui.so.4
#14 0x00007ffff34673dd in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007ffff3467534 in QComboBox::sizeHint() const ()
from /usr/lib/libQtGui.so.4
#16 0x00007ffff30ce65c in QWidgetItemV2::updateCacheIfNecessary() const ()
from /usr/lib/libQtGui.so.4
#17 0x00007ffff30ce96d in QWidgetItemV2::maximumSize() const ()
from /usr/lib/libQtGui.so.4
#18 0x00007ffff30b0b55 in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007ffff30b11d6 in QBoxLayout::sizeHint() const ()
from /usr/lib/libQtGui.so.4
#20 0x00007ffff30caca4 in QLayout::totalSizeHint() const ()
from /usr/lib/libQtGui.so.4
#21 0x00007ffff30dec30 in QWidget::sizeHint() const ()
from /usr/lib/libQtGui.so.4
#22 0x00007ffff30ce65c in QWidgetItemV2::updateCacheIfNecessary() const ()
from /usr/lib/libQtGui.so.4
#23 0x00007ffff30ce96d in QWidgetItemV2::maximumSize() const ()
from /usr/lib/libQtGui.so.4
#24 0x00007ffff30b0b55 in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007ffff30b1206 in QBoxLayout::minimumSize() const ()
from /usr/lib/libQtGui.so.4
#26 0x00007ffff30cac34 in QLayout::totalMinimumSize() const ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/libQtGui.so.4
#27 0x00007ffff30dec60 in QWidget::minimumSizeHint() const ()
from /usr/lib/libQtGui.so.4
#28 0x00007ffff30cc8c3 in qSmartMinSize(QWidget const*) ()
from /usr/lib/libQtGui.so.4
#29 0x00007ffff350e4b9 in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007ffff350e897 in QScrollArea::setWidget(QWidget*) ()
from /usr/lib/libQtGui.so.4
#31 0x0000000000765b18 in SettingsDialog::AddPage(SettingsDialog::Page, SettingsPage*, QTreeWidgetItem*) ()
#32 0x0000000000765e67 in SettingsDialog::SettingsDialog(Application*, BackgroundStreams*, QWidget*) ()
#33 0x0000000000745360 in MainWindow::OpenSettingsDialog() ()
#34 0x000000000080c1ea in ?? ()
#35 0x00007ffff6cd7b48 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#36 0x00007ffff309cf82 in QAction::triggered(bool) ()
from /usr/lib/libQtGui.so.4
#37 0x00007ffff309e953 in QAction::activate(QAction::ActionEvent) ()
from /usr/lib/libQtGui.so.4
#38 0x00007ffff34c7d79 in ?? () from /usr/lib/libQtGui.so.4
#39 0x00007ffff34cc2a9 in ?? () from /usr/lib/libQtGui.so.4
#40 0x00007ffff30f262e in QWidget::event(QEvent*) ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/libQtGui.so.4
#41 0x00007ffff34d007b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#42 0x00007ffff30a30dc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQtGui.so.4
#43 0x00007ffff30a97dd in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libQtGui.so.4
#44 0x00007ffff6cc3ebd in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/libQtCore.so.4
#45 0x00007ffff30a8f93 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
from /usr/lib/libQtGui.so.4
#46 0x00007ffff311aedc in ?? () from /usr/lib/libQtGui.so.4
#47 0x00007ffff311961c in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib/libQtGui.so.4
#48 0x00007ffff3140162 in ?? () from /usr/lib/libQtGui.so.4
#49 0x00007ffff41b3296 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#50 0x00007ffff41b35e8 in ?? () from /usr/lib/libglib-2.0.so.0
#51 0x00007ffff41b368c in g_main_context_iteration ()
from /usr/lib/libglib-2.0.so.0
#52 0x00007ffff6cf0b25 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#53 0x00007ffff3140216 in ?? () from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#54 0x00007ffff6cc2b1f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#55 0x00007ffff6cc2e15 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#56 0x00007ffff6cc7f4b in QCoreApplication::exec() ()
from /usr/lib/libQtCore.so.4
#57 0x00000000005db094 in main ()
This happen every time. I searched on internet but I can't find similar issue.
Thanks.
Last edited by ryuzy (2014-02-06 11:30:13)I tried installing Infinality-bundle+fonts and it fixed the problem.
So there was a problem with my fonts, I don't know why this happened but I'm happy to have solved.
Last edited by ryuzy (2014-02-06 11:30:59) -
X Segmentation fault with new sapphire HD7850
Hi,
randomly my X server crash and reboot (like 1 time at day, while surfing the net. No problem while playing under wine/steam)
i attach the xorg log, but it doesn't say very much to me.
can you find out what is going on or what i have to do to get a better stack trace/error log?
interesting part:
[ 6057.946] (EE)
[ 6057.946] (EE) Backtrace:
[ 6057.981] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x58a416]
[ 6057.981] (EE) 1: /usr/bin/X (0x400000+0x18e269) [0x58e269]
[ 6057.981] (EE) 2: /usr/lib/libpthread.so.0 (0x7fd7ffa22000+0xf1e0) [0x7fd7ffa311e0]
[ 6057.981] (EE) 3: /usr/lib/libpixman-1.so.0 (0x7fd7ff57e000+0x82a7d) [0x7fd7ff600a7d]
[ 6057.981] (EE) 4: /usr/lib/libpixman-1.so.0 (0x7fd7ff57e000+0x50c7b) [0x7fd7ff5cec7b]
[ 6057.981] (EE) 5: /usr/lib/libpixman-1.so.0 (pixman_blt+0x52) [0x7fd7ff5894b2]
[ 6057.981] (EE) 6: /usr/lib/xorg/modules/libfb.so (fbCopyNtoN+0x343) [0x7fd7fbf0c453]
[ 6057.981] (EE) 7: /usr/lib/xorg/modules/glesx.so (0x7fd7f9f8d000+0x8d491) [0x7fd7fa01a491]
[ 6057.981] (EE) 8: /usr/lib/xorg/modules/glesx.so (0x7fd7f9f8d000+0x8f62b) [0x7fd7fa01c62b]
[ 6057.981] (EE) 9: /usr/bin/X (0x400000+0x1141f9) [0x5141f9]
[ 6057.981] (EE) 10: /usr/bin/X (0x400000+0xc7315) [0x4c7315]
[ 6057.981] (EE) 11: /usr/bin/X (0x400000+0xc8136) [0x4c8136]
[ 6057.981] (EE) 12: /usr/bin/X (0x400000+0xc6b9c) [0x4c6b9c]
[ 6057.981] (EE) 13: /usr/bin/X (0x400000+0x60d86) [0x460d86]
[ 6057.981] (EE) 14: /usr/bin/X (MapWindow+0x1a2) [0x463b22]
[ 6057.981] (EE) 15: /usr/bin/X (0x400000+0x32690) [0x432690]
[ 6057.981] (EE) 16: /usr/bin/X (0x400000+0x37e51) [0x437e51]
[ 6057.981] (EE) 17: /usr/bin/X (0x400000+0x2695a) [0x42695a]
[ 6057.981] (EE) 18: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7fd7fe8aea15]
[ 6057.982] (EE) 19: /usr/bin/X (0x400000+0x26c9d) [0x426c9d]
[ 6057.982] (EE)
[ 6057.982] (EE) Segmentation fault at address 0x7fd7eac0b000
[ 6057.982]
Fatal server error:
[ 6057.982] Caught signal 11 (Segmentation fault). Server aborting
[ 6057.982]
[ 6057.982] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 6057.982] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 6057.982] (EE)
full xorg log: http://snipt.org/zJhd9Here is some additional information that may or may not be of any relevance. I do not know.
On the old server, I compiled the code with the compilation commands: f95 program.for
I was able to compile and execute code with small, medium size or large arrays (with or without the additional -openmp flag).
If I repeat the same command: f95 program.for
on the new server, I get the following compilation error message for programs with medium size and large arrays:
In function `newmaxmalecor':
/mnt/ide0/home/gustaf/education/programming/cesprod100//chicago.for:4340: relocation truncated to fit: R_X86_64_32 against symbol
If I compile with the additional flags: f95 -xmodel=medium -m64 program.for
on the new server, there are no compilation errors and I can run the code in sequence.
However, when I compile with
f95 -xmodel=medim -m64 -openmp program.for
on the new server, compilation works, but I cannot execute the code with medium size and large arrays.
The programs for which I have to add the "-xmodel=medium" flag on the new server to be able to compile the code and run it in sequence, are exactly the ones for which I get segmentation faults when I introduce the openmp flag and try to execute the code in parallel fashion.
Is this just a coincidence?
Lage -
Segmentation fault with xqillia when using purifyplus
Hi friends,
I am using BDB , xqilla /xerces interface to perform an xquery.The program works fine,but after building the program along with purifyplus,if i try to run the program a segmentation fault is raised.
attached are the code,command used to build the program and the stack trace.
here is some specifications-
Rational Purifyplus 7.0
gcc version 3.4.6
OS-Linux(redhat);Linux 3 2.6.9-89.ELsmp
dbxml-2.4.16
CODE:
#include "DbXml.hpp"
#include <iostream>
using namespace DbXml;
using namespace std;
int putxml(string filename,string docname2)
XmlManager myManager;
XmlContainer myContainer;
try
if (!myManager.existsContainer("Container.bdbxml"))
myContainer =myManager.createContainer("Container.bdbxml");
myContainer = myManager.openContainer("Container.bdbxml");
XmlUpdateContext theContext = myManager.createUpdateContext();
XmlInputStream *theStream =myManager.createLocalFileInputStream(filename);
myContainer.putDocument(docname2,theStream,theContext,0);
catch(XmlException &e)
cout<<e.what()<<endl;
/* function to get the xml file and display output */
void getxml(string docname3)
string query_result;
try
XmlManager myManager;
XmlContainer myContainer = myManager.openContainer("Container.bdbxml");
XmlQueryContext myContext = myManager.createQueryContext();
myContext.setDefaultCollection("./Container.bdbxml");
cout<<"docname3 is "<<docname3<<endl;
std::string myQuery="for $i in doc('dbxml:/Container.bdbxml/docname') return ($i)";
XmlQueryExpression qe = myManager.prepare(myQuery, myContext);
XmlResults results = qe.execute(myContext);
XmlValue my_value;
while (results.next(my_value))
query_result += my_value.asString(); //xml file data come in query_result
}catch(XmlException &e){
cout<<e.what()<<endl;
cout<<query_result<<endl;
/* main function */
int main()
string filename("XYZ.xml"),docname1("docname");
putxml(filename,docname1);
getxml(docname1);
Command used:
purify -always-use-cache-dir=yes -cache-dir=/tmp/3rdPArty/RT -chain-length=10 -static-checking=no -thread_stack_change=0x4000 -fds=57 -thread-stack-change=0x4000 -best-effort g++ -g final.cpp -I /tmp/3rdPArty/dbxml-2.4.16/dbxml/include/dbxml -L /tmp/3rdPArty/dbxml-2.4.16/install/lib/ -ldbxml -ldbxml-2.4 -lxqilla -lxerces-c -ldb -ldb_cxx
Stack Trace:
#0 0x01205131 in m_apm_is_integer ()
at /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_construct.h:134
#1 0x009d9794 in std::vector<ASTNode*, XQillaAllocator<ASTNode*> >::_M_insert_aux (this=dwarf2_read_address: Corrupted DWARF expression.
at /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc:229
#2 0x00d94dea in std::vector<ASTNode*, XQillaAllocator<ASTNode*> >::push_back (this=Could not find the frame base for "std::vector<ASTNode*, XQillaAllocator<ASTNode*> >::push_back(ASTNode* const&)".
at /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_vector.h:564
*#3 0x01195bca in XQParser::yyparse (qp=Could not find the frame base for "*XQParser::yyparse(void*)"*.*
*) at /tmp/3rdPArty/dbxml-2.4.16/xqilla/build/../src/parser/XQParser.y:2266*
#4 0x00eb1c4a in XQilla::parse () at /tmp/3rdPArty/dbxml-2.4.16/xqilla/build/../include/xqilla/ast/LocationInfo.hpp:63
#5 0x006a266a in QueryExpression (this=Not enough elements for DW_OP_rot. Need 3, have 0
) at QueryExpression.hpp:42
#6 0x007d819c in DbXml::XmlManager::prepare (this=Could not find the frame base for "DbXml::XmlManager::prepare(std::string const&, DbXml::XmlQueryContext&)".
) at XmlManager.cpp:551
#7 0x08086a0d in getxml (docname3=
{static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, Mp = 0x80be6e4 "docname"}}) at final.cpp:56
#8 0x08087dae in main () at final.cpp:81
As per my understanding my program is crashing in XQParser::yyparse(void*) which is in YACC. is there any known issue regarding compatibility between YACC and Purifyplus ?
Kindly help me out
Thanks.
Edited by: user8114111 on Jul 22, 2009 11:10 PM
Edited by: user8114111 on Jul 22, 2009 11:15 PMHi. This question is better suited for the BDB XML forum, which is here:
Berkeley DB XML
Ben Schmeckpeper -
Segmentation fault with just one user
Hi,
When I try to close a toolwindow in an application (it's iViewMediaPro), the app crashes. Console says, there's a segmentation fault. This happens only with one useraccount (adminrights). I deleted .pref-files, reinstalled the software, emptied the preferencesfolder in the users library and started the app then, nothing helps.
Any ideas to solve the problem?
Thanks for help
WolfgangAre you implying that you can run that app in other accounts without any problems? If so, then there's corruption or a conflict within the original account, usually associated with preference files. See my response in http://discussions.apple.com/message.jspa?messageID=8664734 on how to resolve those.
-
[solved] Segmentation fault with bash script
I have a bash script that checks if it has to do something, if not it sleeps 15 secs and checks again. It works great except that after ~6hrs of just checking and sleeping it seg faults. I upped the stack limit with ulimit -s and it goes ~12hrs before it seg faults. I have a similar script that I have been using for ages that works for 24hrs no problem and I can't pinpoint where the problem is.
The check it does is to see if a file exists, if it's empty and if not, read the first line of a file and do some date comparisons. It doesn't matter if the file is empty or not the seg fault always happens.
Here's the seg fault causing script - it starts at the bottom
#!/bin/bash
# User defines
declare -i DVB_DEVICE_NUM="0"
declare CHANNELS_CONF="${HOME}/Mychannels.conf"
declare SAVE_FOLDER="${HOME}/TV/tele"
declare SCHED_FILE="$HOME/.sched-tv"
declare ZAP_COMMAND="tzap"
declare -i SLEEP=15
# Program defines
declare -i DAY="0"
declare -i START="0"
declare -i FINISH="0"
declare CHAN="0"
declare NAME="0"
declare -i MINUTES="0"
declare -i REC_START="0"
declare -i REC_HOURS="0"
declare -i REC_MINS="0"
declare -i howlong="0"
declare -i PIDOF_AZAP=0
declare -i PIDOF_CAT=0
red='\033[1;31m'
green='\033[1;32m'
yell='\033[1;33m'
cyan='\033[1;36m'
white='\033[1;37m'
reset='\033[0m'
function remove_entry {
if [ "$NAME" == "" ]; then
sed "/$DAY $START $FINISH $CHAN/d" $SCHED_FILE > /tmp/dummy
else
sed "/$DAY $START $FINISH $CHAN $NAME/d" $SCHED_FILE > /tmp/dummy
fi
mv /tmp/dummy $SCHED_FILE
function record_entry {
${ZAP_COMMAND} -a ${DVB_DEVICE_NUM} -f ${DVB_DEVICE_NUM} -d ${DVB_DEVICE_NUM} \
-c $CHANNELS_CONF -r ${CHAN} >/dev/null 2>&1 &
PIDOF_AZAP=$!
if [ "$PIDOF_AZAP" == "" ]; then
printf "$red\tError starting ${ZAP_COMMAND}.\n\tFAILED: $CHAN $START\n"
remove_entry
exit 1
fi
printf "$green\tSET CHANNEL$cyan ${CHAN}\n"
REC_MINS=$((${START}%100))
REC_HOURS=0
MINUTES=0
REC_START=$(($START-$REC_MINS))
while [ $((${REC_START}+${REC_HOURS}+${REC_MINS})) -lt $FINISH ]; do
((REC_MINS++))
((MINUTES++))
if [ ${REC_MINS} -ge 60 ]; then
REC_MINS=0
((REC_HOURS+=100))
fi
done
if [ "$NAME" == "" ]; then
declare FILE_NAME="${SAVE_FOLDER}/TV-`date +%Y%m%d-%H%M`-ch.${CHAN}-${MINUTES}.min.mpg"
else
declare FILE_NAME="${SAVE_FOLDER}/TV-${NAME}-${MINUTES}.min.mpg"
fi
dd if=/dev/dvb/adapter${DVB_DEVICE_NUM}/dvr${DVB_DEVICE_NUM} \
of=${FILE_NAME} conv=noerror &
PIDOF_CAT=$!
if (( ${PIDOF_CAT} == 0 )); then
printf "$red\tError Starting Recording.\n\t/dev/dvb/adapter${DVB_DEVICE_NUM}/dvr${DVB_DEVICE_NUM} Unavailable\n"
kill ${PIDOF_AZAP}
remove_entry
exit 1
fi
printf "$yell\tRECORDING TO :$cyan ${FILE_NAME}\n"
sleep ${MINUTES}m
kill ${PIDOF_CAT} && wait ${PIDOF_CAT} 2> /dev/null
# pkill $ZAP_COMMAND # && wait ${PIDOF_AZAP} 2> /dev/null
kill ${PIDOF_AZAP} && wait ${PIDOF_AZAP} 2> /dev/null
printf "$yell\tFINISHED REC :$cyan ${FILE_NAME}\n$reset"
remove_entry
waiting 1
function check_action {
[ -e "$SCHED_FILE" ] || waiting $SLEEP
[ "`cat $SCHED_FILE`" == "" ] && waiting $SLEEP
DAY="0"; START="0"; FINISH="0"; CHAN="0"; NAME="0"
TODAY=`date +%Y%m%d`
NOW=`date +%k%M`
while read -r DAY START FINISH CHAN NAME; do
#printf "$DAY $START $FINISH $CHAN $NAME\n"
break
done < $SCHED_FILE
if [ $DAY == $TODAY ] && [ $START -lt $NOW ]; then
printf "$red\tOld Entry : Removing $CHAN $START\n"
remove_entry
waiting 1
fi
if [ $DAY == $TODAY ] && [ $START == $NOW ]; then
record_entry
else
waiting $SLEEP
fi
function waiting {
howlong=$1
sleep $howlong && check_action
check_action
exit 0
And the script that has been working fine 24hrs at a time
#!/bin/bash
echo alarm uses a twelve hour clock
echo Type the time for the alarm to sound as 00-00-?m
echo e.g. 05-35-pm for 5:35pm :: 05-35-am for 5:35am
read TIME
function play {
A="$(date +%I-%M-%P)"
if [ $A = $TIME ]; then
for i in {1..10}; do
$(aplay -c 1 /home/$USER/alarm/chime.wav); done
exit
else
wait
fi
function wait {
sleep 15 && play
play
I was hoping to have this script idling away in screen with rtorrent, always ready to do something if need be but that's not going to happen unless I can get a clue on what part of the script I need to change to not hit any limits. My websearches are failing me on this...
Last edited by moetunes (2012-06-24 21:41:52)Thanks falconindy. I changed to using a while loop.
#!/bin/bash
set -o nounset
shopt -s huponexit
# User defines
declare -i DVB_DEVICE_NUM="0"
declare CHANNELS_CONF="${HOME}/Mychannels.conf"
declare SAVE_FOLDER="${HOME}/TV/tele"
declare SCHED_FILE="$HOME/.sched-tv"
declare ZAP_COMMAND="tzap"
declare -i SLEEP=15
# Program defines
declare -i DAY="0"
declare -i START="0"
declare -i FINISH="0"
declare CHAN="0"
declare NAME="0"
declare -i MINUTES="0"
declare -i REC_START="0"
declare -i REC_HOURS="0"
declare -i REC_MINS="0"
declare -i howlong=$SLEEP
declare -i PIDOF_AZAP=0
declare -i PIDOF_CAT=0
red='\033[1;31m'
green='\033[1;32m'
yell='\033[1;33m'
cyan='\033[1;36m'
white='\033[1;37m'
reset='\033[0m'
function remove_entry {
if [ "$NAME" == "" ]; then
sed "/$DAY $START $FINISH $CHAN/d" $SCHED_FILE > /tmp/dummy
else
sed "/$DAY $START $FINISH $CHAN $NAME/d" $SCHED_FILE > /tmp/dummy
fi
mv /tmp/dummy $SCHED_FILE
function record_entry {
${ZAP_COMMAND} -a ${DVB_DEVICE_NUM} -f ${DVB_DEVICE_NUM} -d ${DVB_DEVICE_NUM} \
-c $CHANNELS_CONF -r ${CHAN} >/dev/null 2>&1 &
PIDOF_AZAP=$!
if [ "$PIDOF_AZAP" == "" ]; then
printf "$red\tError starting ${ZAP_COMMAND}.\n\tFAILED: $CHAN $START\n"
remove_entry
exit 1
fi
printf "$green\tSET CHANNEL$cyan ${CHAN}\n"
REC_MINS=$((${START}%100))
REC_HOURS=0
MINUTES=0
REC_START=$(($START-$REC_MINS))
while [ $((${REC_START}+${REC_HOURS}+${REC_MINS})) -lt $FINISH ]; do
((REC_MINS++))
((MINUTES++))
if [ ${REC_MINS} -ge 60 ]; then
REC_MINS=0
((REC_HOURS+=100))
fi
done
if [ "$NAME" == "" ]; then
declare FILE_NAME="${SAVE_FOLDER}/TV-`date +%Y%m%d-%H%M`-ch.${CHAN}-${MINUTES}.min.mpg"
else
declare FILE_NAME="${SAVE_FOLDER}/TV-${NAME}-${MINUTES}.min.mpg"
fi
dd if=/dev/dvb/adapter${DVB_DEVICE_NUM}/dvr${DVB_DEVICE_NUM} \
of=${FILE_NAME} conv=noerror &
PIDOF_CAT=$!
if (( ${PIDOF_CAT} == 0 )); then
printf "$red\tError Starting Recording.\n\t/dev/dvb/adapter${DVB_DEVICE_NUM}/dvr${DVB_DEVICE_NUM} Unavailable\n"
kill ${PIDOF_AZAP}
remove_entry
exit 1
fi
printf "$yell\tRECORDING TO :$cyan ${FILE_NAME}\n"
sleep ${MINUTES}m
kill ${PIDOF_CAT} && wait ${PIDOF_CAT} 2> /dev/null
# pkill $ZAP_COMMAND # && wait ${PIDOF_AZAP} 2> /dev/null
kill ${PIDOF_AZAP} && wait ${PIDOF_AZAP} 2> /dev/null
printf "$yell\tFINISHED REC :$cyan ${FILE_NAME}\n$reset"
remove_entry
while true; do
sleep $howlong
howlong=$SLEEP
[ -e "$SCHED_FILE" ] || continue
[ "`cat $SCHED_FILE`" == "" ] && continue
TODAY=`date +%Y%m%d`
NOW=`date +%k%M`
while read -r DAY START FINISH CHAN NAME; do
#printf "$DAY $START $FINISH $CHAN $NAME\n"
break
done < $SCHED_FILE
if [ $DAY == $TODAY ] && [ $START -lt $NOW ]; then
printf "$red\tOld Entry : Removing $CHAN $START\n"
remove_entry
howlong=1
continue
fi
if [ $DAY == $TODAY ] && [ $START == $NOW ]; then
record_entry
fi
done
exit 0
I think that should be ok now. -
GP Fault with CVI5.5 and SQL 2.05
Group,
I have been reading the threads about CVI5.5, SQL2.0, and VC6 SP4 having
problems,
I am new to ODBC programing, but my code connects to the DB with no problems
and I am able to update my UIR with the data, no problems, but here is my
problem when I try to write the updated data from the UIR back to the DB:
// Connect DB Works OK!
// ActivateDB Works OK!
// Bind Col SQL Works OK!
// Fetch Works OK!
// GetCtrlVal Works OK!
// Local Variable Updated Works OK!
// DBPutRecord General Protection Fault!!!!!!!!!!!!!!!
Arg!!!!!!!!!!
OP System: NT4 Client
Softwar
e: All listed above
What am I missing?
Thanks,
GreggGregg:
Could you please tell me more about your system: what database and version are you connecting to? Also, what version of ODBC do you have on your system? What other information accompanies the GPF; there is usually a module and offset listed.
It may be easier to continue this discussion via National Instruments Email support. You can request email support from http://www.ni.com/ask
Best Regards,
Chris Wood
Applications Engineer
National Instruments -
PDF Printing with XSL-FO and Apache FOP
Can anyone show me in the right direction for this? I've been hitting a wall for the past 2 weeks or so and it's really starting to infuriate me. How am I supposed to work this out? Where do I start? Let's say I create a layout file with a WYSIWYG XSL editor, in what format do I export it? XSL, XSLT or XSL-FO? I figured it was XSL-FO, but who knows. I tried them all anyways, but nothing seems to work. I seem to be missing a step or something, 'cause something's definitely not right.
I created a report query (which actually contains two queries):
select distinct
V_Usager.NUMEROPERSONNE NoPersonne,
V_Usager.NOMUSUEL || ', ' || V_Usager.PRENOM Usager,
V_Usager.DATENAISSANCE DateNaissance,
V_Usager.DESCRIPTION Sexe,
ID_Demande,
NomNature || nvl2(PrecisionNature,', Précision: ' || PrecisionNature,'') Nature,
NomCadre,
decode(IND_Securitaire, 1, 'Oui', '0', 'Non') Securitaire,
NomRessource,
DT_Demande,
Note,
ltrim(decode(IND_DEMANDEIVAC,1,'Dossier IVAC','') || decode(IND_DEMANDEFLORES,1,', Dossier Florès','') || decode(IND_RISQUECRISE,1,', Risque de crise','') || decode(IND_MENOTTES,1,', Menottes nécessaires','') || decode(IND_ADRESSECONFIDENTIELLE,1,', Adresse confidentielle','') || decode(IND_TELEPHONECONFIDENTIEL,1,', Téléphone confidentiel','') || decode(IND_RISQUEFUGUE,1,', Risque de fugue','') || decode(IND_RISQUEVIOLENCE,1,', Risque de violence','') || decode(IND_MALDESTRANSPORTS,1,', Mal des transports','') || decode(IND_MEDICAMENT,1,', Médicament à remettre','') || decode(IND_SIEGE,1,'',2,', Siège fourni',3,', Siège d''enfant requis',4,', Siège de nouveau-né requis',5,', Siège d''appoint requis') || decode(IND_HANDICAP,1,'',2,', Handicap mental',3,', Handicap physique') || decode(IND_MEDICAMENT,1,', Médicament à remettre','') || decode(IND_JUMELER,1,'',2,', Ne pas jumeler',3,', Ne pas jumeler avec une fille',4,', Ne pas jumeler avec un garçon') || decode(IND_TRANSPORTEUR,1,'',2,', Transporteur féminin',3,', Transporteur masculin') || nvl2(REMARQUEPRECISIONS,', ' || REMARQUEPRECISIONS,''),',') Precisions,
Disp1.PRENOM || ' ' || Disp1.NOM SaisiePar,
Disp2.PRENOM || ' ' || Disp2.NOM || nvl2(Elem2.Description, ', ' || Elem2.Description,'') Requerant,
ltrim(nvl(NOMPERSONNEAVISER,'') || nvl2(TELEPHONEPERSONNEAVISER_1,' ' || substr(TELEPHONEPERSONNEAVISER_1,1,3) || '-' || substr(TELEPHONEPERSONNEAVISER_1,4,3) || '-' || substr(TELEPHONEPERSONNEAVISER_1,7,4),'') || nvl2(TELEPHONEPERSONNEAVISER_2,' ' || substr(TELEPHONEPERSONNEAVISER_2,1,3) || '-' || substr(TELEPHONEPERSONNEAVISER_2,4,3) || '-' || substr(TELEPHONEPERSONNEAVISER_2,7,4),''),',') PersonneAAviser
from
TBL_Demande_1,
TBL_Demande_TRSP_1,
V_Dispensateur Disp1,
V_Dispensateur Disp2,
V_ElemStruct Elem2,
V_Usager,
TBL_CadresLegaux,
TBL_Natures,
TBL_Ressources
where
DemandeID = :P7_IDDEMANDE
and ID_Demande = DemandeID
and ID_Usager = UsagerID
and ID_CLegal = IDCadre
and ID_Nature = IDNature
and IND_Ressource = IDRessource
and ID_Intervenant LIKE Disp1.NumeroDispensateur
and ID_SaisiePar LIKE Disp2.NumeroDispensateur
and Elem2.ElemStructID = ID_ElemStructSaisiePar
select
to_char(DT_TRANSPORT, 'dd/mm/yyyy') || ' à ' || HR_TRANSPORT || nvl2(DUREE,' durée: ' || DUREE,'') DateTRSP,
decode(IND_TYPETRANSPORT,1,'Aller',2,'Retour',3,'Aller/Retour') TypeTransport,
case IND_TYPETRANSPORT
when 1 then
DEP_NOM || ', ' || DEP_ADRESSE || ', ' || DEP_CPOSTAL
when 2 then
DEST_NOM || ', ' || DEST_ADRESSE || ', ' || DEST_CPOSTAL
when 3 then
DEP_NOM || ', ' || DEP_ADRESSE || ', ' || DEP_CPOSTAL
end AdresseDEP,
case IND_TYPETRANSPORT
when 1 then
DEP_PRECISION
when 2 then
DEST_PRECISION
when 3 then
DEP_PRECISION
end ContactDEP,
case IND_TYPETRANSPORT
when 1 then
substr(DEP_TELEPHONE,1,3) || '-' || substr(DEP_TELEPHONE,4,3) || '-' || substr(DEP_TELEPHONE,7,4) || nvl2(DEP_POSTE,' poste ' || DEP_POSTE,'')
when 2 then
substr(DEST_TELEPHONE,1,3) || '-' || substr(DEST_TELEPHONE,4,3) || '-' || substr(DEST_TELEPHONE,7,4) || nvl2(DEST_POSTE,' poste ' || DEST_POSTE,'')
when 3 then
substr(DEP_TELEPHONE,1,3) || '-' || substr(DEP_TELEPHONE,4,3) || '-' || substr(DEP_TELEPHONE,7,4) || nvl2(DEP_POSTE,' poste ' || DEP_POSTE,'')
end TelDEP,
case IND_TYPETRANSPORT
when 1 then
DEST_NOM || ', ' || DEST_ADRESSE || ', ' || DEST_CPOSTAL
when 2 then
DEP_NOM || ', ' || DEP_ADRESSE || ', ' || DEP_CPOSTAL
when 3 then
DEST_NOM || ', ' || DEST_ADRESSE || ', ' || DEST_CPOSTAL
end AdresseDEST,
case IND_TYPETRANSPORT
when 1 then
DEST_PRECISION
when 2 then
DEP_PRECISION
when 3 then
DEST_PRECISION
end ContactDEST,
case IND_TYPETRANSPORT
when 1 then
substr(DEST_TELEPHONE,1,3) || '-' || substr(DEST_TELEPHONE,4,3) || '-' || substr(DEST_TELEPHONE,7,4) || nvl2(DEST_POSTE,' poste ' || DEST_POSTE,'')
when 2 then
substr(DEP_TELEPHONE,1,3) || '-' || substr(DEP_TELEPHONE,4,3) || '-' || substr(DEP_TELEPHONE,7,4) || nvl2(DEP_POSTE,' poste ' || DEP_POSTE,'')
when 3 then
substr(DEST_TELEPHONE,1,3) || '-' || substr(DEST_TELEPHONE,4,3) || '-' || substr(DEST_TELEPHONE,7,4) || nvl2(DEST_POSTE,' poste ' || DEST_POSTE,'')
end TelDEST,
decode(RET_NOM || ', ' || RET_ADRESSE || ', ' || RET_CPOSTAL, ', , ', '', RET_NOM || ', ' || RET_ADRESSE || ', ' || RET_CPOSTAL) AdresseRET,
RET_PRECISION ContactRET,
substr(RET_TELEPHONE,1,3) || '-' || substr(RET_TELEPHONE,4,3) || '-' || substr(RET_TELEPHONE,7,4) || nvl2(RET_POSTE,' poste ' || RET_POSTE,'') TelRET
from
TBL_Demande_1,
TBL_Demande_TRSP_1
where
DemandeID = :P7_IDDEMANDE
and ID_Demande = DemandeIDI then created a report layout in XSL-FO with XSLfast, but it won't work at all. I always get the dreaded "corrupted file" when I test my PDF Report... any ideas why it doesn't work? Have I missed something obvious?
Best regards,
MathieuHello Mathieu
i assume that the default PDF printing is working, but that you want to create some better looking reports and therefore use a different non-generic XSL-FO.
You can do several things in Apex but you can use the Apache-Fop conversion also indepent from Apex.
What you need is:
1) An XML (Data) File. You can get it from your report query when you say export it to XML.
2) The XSL-FO (Layout) file. THis is the processing instruction that says how convert the XML Data into an XML-FO. You can create it manually or with some tool.
3) The next step is to render the XML-FO into any output format (pdf, rtf, html)
The creation of the XML-FO and of the PDF are done by the apache fop converter (cocoon or Batik framework if I remember correctly) in a single process but you can influence it so that both steps are done separately. See also: http://xmlgraphics.apache.org/fop/0.95/running.html
The advantage is that you usually get much better error messages from the single steps.
My recommendation would be to do all the steps with a very basic report first.
Then gradually improve the complexity of the report, the data and the layout. -
Error with Solaris 8 and Apache 2.0.39
Hello everyone.
I've been trying to install the binary version of Apache 2.0.39 on Solaris 8. With the binary files copied to /usr/local/apache2 and using the following command:
. apachectl -f /usr/local/apache2/conf/httpd.conf -k start
I get the following error:
Syntax error on line 235 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_auth_digest.so into server: ld.so.1:
/usr/local/apache2/bin/httpd: fatal: relocation error: file /usr/local/apache2/m
odules/mod_auth_digest.so: symbol __floatdidf: referenced symbol not found
Following the same steps with the binary version (for RedHat) works perfectly under Linux. Does anyone have any ideas?After searching the web, found the answer:
Need to create a symbolic link for the needed file "libgcc_s.so.1".
ie. If "libgcc_s.so.1" is located under "/usr/local/lib" then
cd /usr/lib
ln -s /usr/local/lib/libgcc_s.so.1 libgcc_s.so.1
Then reconfigure and compile Apache 2. -
Problem with Struts Validation and apache dtd definition.
Jakarta Struts
Java Version 1.5
We have one web application that is being a little problematic, on startup two errors are thrown relating to the same problem (errors below).
We get 401 returned for http://jakarta.apache.org/commons/dtds/validator_1_0.dtd
both the validation.xml and validation-rules.xml have the same doc type set as below:
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
We have the same configuration set for several other web application deployed succesfuly on the same tomcat application server without any problems. I'm not sure why this one application is causing a problem, I don't see any difference between the validation.xml and validation-rules.xml files in this application to any of the others that have been succesfully deployed, infact the validation-rules.xml is identical for all the web applications hosted on this server.
Any ideas appreciated
Error
2006-03-30 15:04:50,968 ERROR [HttpRequestHandler-169] validator.ValidatorPlugIn (ValidatorPlugIn.java:224) - Server returned HTTP response code: 401 for URL: http://jakarta.apache.org/commons/dtds/validator_1_0.dtd
java.io.IOException: Server returned HTTP response code: 401 for URL: http://jakarta.apache.org/commons/dtds/validator_1_0.dtd
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:791)
at java.net.URL.openStream(URL.java)
at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2292)
at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:265)
at oracle.xml.parser.v2.NonValidatingParser.pushExternalDTD(NonValidatingParser.java:540)
at oracle.xml.parser.v2.NonValidatingParser.parseDoctypeDecl(NonValidatingParser.java:465)
at oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:298)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:277)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:184)
at org.apache.commons.digester.Digester.parse(Digester.java:1515)
at org.apache.commons.validator.ValidatorResourcesInitializer.initialize(Unknown Source)
at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:222)
at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:161)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:259)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2141)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4582)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4676)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:820)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:542)
at com.evermind.server.Application.getHttpApplication(Application.java:889)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:690)
at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:420)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:422)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
2006-03-30 15:04:50,968 INFO [HttpRequestHandler-169] validator.ValidatorPlugIn (ValidatorPlugIn.java:209) - Loading validation rules file from '/WEB-INF/validation.xml'
2006-03-30 15:04:50,984 ERROR [HttpRequestHandler-169] validator.ValidatorPlugIn (ValidatorPlugIn.java:224) - Server returned HTTP response code: 401 for URL: http://jakarta.apache.org/commons/dtds/validator_1_0.dtd
java.io.IOException: Server returned HTTP response code: 401 for URL: http://jakarta.apache.org/commons/dtds/validator_1_0.dtd
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:791)
at java.net.URL.openStream(URL.java)
at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2292)
at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:265)
at oracle.xml.parser.v2.NonValidatingParser.pushExternalDTD(NonValidatingParser.java:540)
at oracle.xml.parser.v2.NonValidatingParser.parseDoctypeDecl(NonValidatingParser.java:465)
at oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:298)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:277)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:184)
at org.apache.commons.digester.Digester.parse(Digester.java:1515)
at org.apache.commons.validator.ValidatorResourcesInitializer.initialize(Unknown Source)
at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:222)
at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:161)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:259)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2141)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4582)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4676)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:820)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:542)
at com.evermind.server.Application.getHttpApplication(Application.java:889)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:690)
at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:420)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:422)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
-----------------------------------------------------------------------hi,
I am also facing the same issue. Could you tell me which are those jar files you were missing & from where you got those?
regards
prasanth
Maybe you are looking for
-
Interactive Reporting - Multiple SELECT stmts in 1 query
Is it possible to multiple/nested select statements in 1 query? Actually what I need to do is pull records for the last 12 months. The SQL that I'm basing my IR query from has multiple SELECT statements and uses the add_month function w/ a parameter
-
Function modules for unit conversion
hai gurus. what is the function module to make one qty to the same unit as other qty. if one is in kg and other in pounds i want to make both in pounds. pls help me with this
-
How do I send Ringtones via Bluetooth to my Razr? HELP!
I have been trying unsuccessfully to send mp3 files via BT to my T-Mobile Razr to use as Ringtones. While I know that this was discussed before, the details of how to do it were never featured in the threads I've checked. Has anyone had success with
-
I have recently got adobe cc on a monthly plan but it doesnt offer the bone tool which I need I was wondering if there is a trial of flash cs6 or if there is a way to get cs6 on my creative cloud Thanks
-
Installation, error message, missing configuration
when i try running adobe Photoshop, it gives an error message saying "missing configuration" what should i do? help please