PLSQL: String Buffer Overflow
When I create a sql region or a plsql returning sql, I get an error: "ORA-06502: PL/SQL: numeric or value error: character string buffer too small". My query is pretty long. If I reduce the length of the query, it works fine without errors. I tried to run the same query in the sql workshop. There also I get the same error. Can I increase the buffer for the string? Is there anyway to tackle this situation?
Hi Scott
I found my mistake.
Many thanks for your reply, yes you are correct it is the SQL*Plus prompt of Oracle Apex. I have tried the operation on SQL*Plus as well, I get the same error. I am trying to implement a formula which looks something like this: (Calculates the Balance of a Mortgage)
A=L*(1-(1+r)^p-n) / 1-(1+r)^-n
L is the Loan i.e. L = $270,000
r is the interest rate in decimal format and per month so, 8% is r = 0.08/12
p is number of payments already made, say 6 months p=6
n total number of payments to be made say 360 months
so my statement becomes like this:
-- A=L*(1-(1+r)^p-n) / 1-(1+r)^-n
select 270000 * 1 - power((1+(0.08/12)), 6-360) / 1 - power((1+(0.08/12)),-360) from dual
which does return the correct value of:
269999.813394013370288801946710628610631
the balance of the loan after 6 payments
I think my problem was "operator precedence" , sorry!
But I think I must have hit a hard limit as the following does return a value.
SQL> select power(-0.002, -20) from dual
9.5367431640625000000000000000000000E+53
but
SQL> select power(-0.002, -200) from dual
ORA-01426: numeric overflow
Maybe too small to fit to an Oracle Number data type!?
Many Thanks
Kubilay
Similar Messages
-
Overflow the SQL query string buffer
Hello,
I have a report that is using a query to determine values for a parameter. In Report Builder everything renders fine, but when I publish the report on the Report Server, it will not render if too many values are entered for the parameter, including "Select
All". The reason for this behavior is likely due to the number of possible values for the parameter being over 2500. My research has shown that this is causing an overflow of the SQL query string buffer. The obvious fix is to not use that column as a
parameter, but the power that be are insisting. My system administrator says he can likely increase the buffer size, but has asked me to find out how and where to do that. Any help would be much appreciated.Hi CrazyAlligator,
According to your description, you have more than 2500 values within a parameter. It throws overflow exception when selecting all values. Right?
Microsoft security update MS11-100 limits the maximum number of form keys, files, and JSON members to
1000 in an HTTP request. Because of this change, ASP.NET applications reject requests that have more than
1000 of these elements. HTTP clients that make these kinds of requests will be denied, and an error message will appear in the web browser. The error message will usually have an HTTP 500 status code. This new limit can be configured on a per-application
basis. Please see the "Resolution" section for configuration instructions. Please refer the KB article:
https://support2.microsoft.com/kb/2661403?wa=wsignin1.0
In this scenario, we need add the setting in the web.config file. Please follow the steps below:
Go to the reporting services installation folder.
Go to the report server folder and make a backup of the file “Web.config”. Once you have the backup, open the original file in notepad and add the following entry under the Configuration section:
<appSettings>
<add key="aspnet:MaxHttpCollectionKeys" value="10000"/>
</appSettings>
Go to the Report Manager folder and again make a backup of the file “Web.config”. Once you have the backup, open the original file in notepad and add the following entry under the appSettings tag:
<add key="aspnet:MaxHttpCollectionKeys" value="10000"/
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
XMLTRANSFORM Too large stylesheet - code buffer overflow issue
Hi All,
My question is related to MSWordML generation from PLSQL stored procedure.
1. I have table, containing XSLT stylesheets for different documents
2. PLSQL stored procedure is generating dynamic content depending on some params and at the end I'm using
SELECT XMLTRANSFORM(XMLTYPE.createxml(db_data_clob), XMLTYPE.createxml(x.xslt_clob)).GetClobVal()
INTO res
FROM msword_ml_data x
WHERE x.report_id = rep_id_variable;
where : x.xslt_clob -> column, containing XSLT CLOB
db_data_clob -> dynamic content CLOB
res -> CLOB result
All this was working fine on Oracle11gR1, but I had to reinstall database and I said why not install Oracle11gR2 ...
Guess what. Stored procedure is raising exception when using XMLTRANSFORM :
Exception : : ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00004: internal error "Too large stylesheet - code buffer overflow"
Google says nothing about it. I don't recall setting some special DB property in Oracle11gR1.
Has anyone encountered this ?
I haven't changed procedure nor table.
I'm using exactly the same XSLT's from Java code and they are working just fine, so they are not the reason. My guess is that something in Oracle11gR2 related to XML processing is changed.
If anyone could help, thanks in advanceFor those who are interested.
I have logged a service request and it turned out that this is is a bug in Oracle 11gR2.
"The limitation on the style sheet is not exactly a size limit but a limitation on the number of style sheet instructions and depends on the way the style sheet has been written. This is a C based parser limitation"
Anyway, the workaround is to create Java stored procedure and do transformation from there. -
class test
public static void main(String[]args)
System.out.println(1.20+4.90-4.90); System.out.println(1.20+4.90-4.90-1.20);
please run the following program
i have a similar problem with this buffer overflow.
i am doing a cshier program that perform the calculation i wrote in the test program,
note that my values are double.. what can i do to prevet this??E.D.-inc wrote:
class test
public static void main(String[]args)
System.out.println(1.20+4.90-4.90); System.out.println(1.20+4.90-4.90-1.20);
please run the following program
i have a similar problem with this buffer overflow.
i am doing a cshier program that perform the calculation i wrote in the test program,
note that my values are double.. what can i do to prevet this??As jverd mentioned, this isn't a buffer overflow. You need to format your answers.
public class Fubar1
public static void main(String[] args)
double d1 = 1.20 + 4.90 - 4.90;
double d2 = 1.20 + 4.90 - 4.90 - 1.20;
System.out.printf("%3.2f\n", d1);
System.out.printf("%3.2f\n", d2);
} -
[SOLVED] Buffer overflow detected
Yesterday it works fine, today (my PC hasn't been rebooted) I'm receiving this error:
[ionic@linux-france qmc2]$ ./qmc2-sdlmame
Warning: option --plugin-path no longer exists.
Warning: option --plugin-path no longer exists.
[0xaaecf88] main services discovery error: no suitable services discovery module
*** buffer overflow detected ***: ./qmc2-sdlmame terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x45)[0xb48bb0a5]
/lib/libc.so.6(+0xfcf3a)[0xb48b8f3a]
/lib/libc.so.6(+0xfefaa)[0xb48bafaa]
/lib/libQtCore.so.4(+0x151aa3)[0xb4c14aa3]
/lib/libQtCore.so.4(_ZN8QProcess14waitForStartedEi+0x34)[0xb4bcb094]
./qmc2-sdlmame[0x81f7449]
./qmc2-sdlmame[0x80c59ba]
./qmc2-sdlmame[0x833e9e5]
/lib/libQtCore.so.4(_ZN14QMetaCallEvent13placeMetaCallEP7QObject+0x3a)[0xb4c4d91a]
/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x26b)[0xb4c51e5b]
/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x8a)[0xb506d90a]
/lib/libQtGui.so.4(_ZN11QMainWindow5eventEP6QEvent+0x6c)[0xb54962bc]
/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xbc)[0xb5014f6c]
/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x234)[0xb5019a24]
/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e)[0xb4c3bbce]
/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x42d)[0xb4c3f8fd]
/lib/libQtCore.so.4(_ZN16QCoreApplication16sendPostedEventsEP7QObjecti+0x2c)[0xb4c3fb8c]
/lib/libQtCore.so.4(+0x1aa874)[0xb4c6d874]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x143)[0xb442e753]
/lib/libglib-2.0.so.0(+0x46af0)[0xb442eaf0]
/lib/libglib-2.0.so.0(g_main_context_iteration+0x41)[0xb442ebd1]
/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x61)[0xb4c6d9f1]
/lib/libQtGui.so.4(+0x1eb0ea)[0xb50c60ea]
/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x4c)[0xb4c3a6ac]
/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x141)[0xb4c3a9a1]
/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x9a)[0xb4c3fc3a]
/lib/libQtGui.so.4(_ZN12QApplication4execEv+0x24)[0xb5012dd4]
./qmc2-sdlmame/lib/libc.so.6(__libc_start_main+0xf5)[0xb47d5605]
./qmc2-sdlmame[0x8070ba1]
======= Memory map: ========
08048000-08658000 r-xp 00000000 08:16 319835 /home/ionic/Compilazione/qmc2/qmc2-sdlmame
08658000-08659000 r--p 0060f000 08:16 319835 /home/ionic/Compilazione/qmc2/qmc2-sdlmame
08659000-0865b000 rw-p 00610000 08:16 319835 /home/ionic/Compilazione/qmc2/qmc2-sdlmame
0865b000-0866c000 rw-p 00000000 00:00 0
0a39d000-0b30d000 rw-p 00000000 00:00 0 [heap]
aca00000-aca21000 rw-p 00000000 00:00 0
aca21000-acb00000 ---p 00000000 00:00 0
acbb3000-acbb4000 ---p 00000000 00:00 0
acbb4000-ad51f000 rw-p 00000000 00:00 0 [stack:8271]
ad678000-ad67e000 rw-p 00000000 00:00 0
ad67e000-ade00000 rw-s 00000000 00:04 70647874 /SYSV00000000 (deleted)
ade00000-ade21000 rw-p 00000000 00:00 0
ade21000-adf00000 ---p 00000000 00:00 0
adf36000-adf37000 ---p 00000000 00:00 0
adf37000-adfb7000 rw-p 00000000 00:00 0 [stack:8268]
adfb7000-ae01f000 r--p 00000000 08:16 530421 /usr/share/locale/it/LC_MESSAGES/vlc.mo
ae01f000-ae117000 r-xp 00000000 08:16 1090843 /usr/lib/libvlccore.so.5.1.0
ae117000-ae118000 ---p 000f8000 08:16 1090843 /usr/lib/libvlccore.so.5.1.0
ae118000-ae11d000 r--p 000f8000 08:16 1090843 /usr/lib/libvlccore.so.5.1.0
ae11d000-ae11e000 rw-p 000fd000 08:16 1090843 /usr/lib/libvlccore.so.5.1.0
ae11e000-ae139000 r-xp 00000000 08:16 1090844 /usr/lib/libvlc.so.5.3.1
ae139000-ae13a000 r--p 0001a000 08:16 1090844 /usr/lib/libvlc.so.5.3.1
ae13a000-ae13b000 rw-p 0001b000 08:16 1090844 /usr/lib/libvlc.so.5.3.1
ae15a000-ae18e000 r-xp 00000000 08:16 1101604 /usr/lib/kde4/plugins/phonon_backend/phonon_vlc.so
ae18e000-ae18f000 r--p 00034000 08:16 1101604 /usr/lib/kde4/plugins/phonon_backend/phonon_vlc.so
ae18f000-ae190000 rw-p 00035000 08:16 1101604 /usr/lib/kde4/plugins/phonon_backend/phonon_vlc.so
ae190000-ae2af000 r--s 00000000 08:16 465221 /var/tmp/kdecache-ionic/ksycoca4
ae2af000-ae39f000 r-xp 00000000 08:16 1085542 /usr/lib/libasound.so.2.0.0
ae39f000-ae3a3000 r--p 000f0000 08:16 1085542 /usr/lib/libasound.so.2.0.0
ae3a3000-ae3a4000 rw-p 000f4000 08:16 1085542 /usr/lib/libasound.so.2.0.0
ae3c3000-ae3d2000 r-xp 00000000 08:16 1101943 /usr/lib/kde4/plugins/phonon_platform/kde.so
ae3d2000-ae3d3000 r--p 0000e000 08:16 1101943 /usr/lib/kde4/plugins/phonon_platform/kde.so
ae3d3000-ae3d4000 rw-p 0000f000 08:16 1101943 /usr/lib/kde4/plugins/phonon_platform/kde.so
ae3d4000-ae3da000 rw-p 00000000 00:00 0
ae3da000-aede5000 rw-s 00000000 08:16 466741 /var/tmp/kdecache-ionic/icon-cache.kcache
aede5000-aeea4000 r--p 00000000 08:16 158474 /usr/share/fonts/TTF/arial.ttf
aeea4000-aef5b000 r--p 00000000 08:16 158525 /usr/share/fonts/TTF/arialbd.ttf
aef5b000-aefd2000 rw-s 00000000 00:04 70615096 /SYSV00000000 (deleted)
aefd2000-af055000 rw-p 00000000 00:00 0
af089000-af094000 r-xp 00000000 08:16 73486 /usr/lib/libnss_files-2.16.so
af094000-af095000 r--p 0000a000 08:16 73486 /usr/lib/libnss_files-2.16.so
af095000-af096000 rw-p 0000b000 08:16 73486 /usr/lib/libnss_files-2.16.so
af099000-af0a6000 rw-p 00000000 00:00 0
af0a6000-af0ac000 r-xp 00000000 08:16 1095680 /usr/lib/vlc/plugins/control/libhotkeys_plugin.so
af0ac000-af0ad000 r--p 00005000 08:16 1095680 /usr/lib/vlc/plugins/control/libhotkeys_plugin.so
af0ad000-af0ae000 rw-p 00006000 08:16 1095680 /usr/lib/vlc/plugins/control/libhotkeys_plugin.so
af0ae000-af0b3000 r-xp 00000000 08:16 1095736 /usr/lib/vlc/plugins/audio_output/libalsa_plugin.so
af0b3000-af0b4000 r--p 00004000 08:16 1095736 /usr/lib/vlc/plugins/audio_output/libalsa_plugin.so
af0b4000-af0b5000 rw-p 00005000 08:16 1095736 /usr/lib/vlc/plugins/audio_output/libalsa_plugin.so
af0b5000-af0cc000 r--p 00000000 08:16 100361 /usr/local/share/qmc2/lng/qmc2_it.qm
af0cc000-af0d1000 r-xp 00000000 08:16 1101703 /usr/lib/kde4/plugins/imageformats/kimg_pic.so
af0d1000-af0d2000 r--p 00004000 08:16 1101703 /usr/lib/kde4/plugins/imageformats/kimg_pic.so
af0d2000-af0d3000 rw-p 00005000 08:16 1101703 /usr/lib/kde4/plugins/imageformats/kimg_pic.so
af0d3000-af120000 r-xp 00000000 08:16 1086183 /usr/lib/libjasper.so.1.0.0
af120000-af121000 r--p 0004c000 08:16 1086183 /usr/lib/libjasper.so.1.0.0
af121000-af124000 rw-p 0004d000 08:16 1086183 /usr/lib/libjasper.so.1.0.0
af124000-af12a000 rw-p 00000000 00:00 0
af12e000-af132000 r-xp 00000000 08:16 1101701 /usr/lib/kde4/plugins/imageformats/kimg_xview.so
af132000-af133000 r--p 00003000 08:16 1101701 /usr/lib/kde4/plugins/imageformats/kimg_xview.so
af133000-af134000 rw-p 00004000 08:16 1101701 /usr/lib/kde4/plugins/imageformats/kimg_xview.so
af134000-af143000 r-xp 00000000 08:16 1101698 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so
af143000-af144000 r--p 0000e000 08:16 1101698 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so
af144000-af145000 rw-p 0000f000 08:16 1101698 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so
af145000-af149000 rw-p 00000000 00:00 0
af149000-af18b000 r-xp 00000000 08:16 1086195 /usr/lib/libHalf.so.6.0.0
af18b000-af18c000 rw-p 00041000 08:16 1086195 /usr/lib/libHalf.so.6.0.0
af18c000-af1a2000 r-xp 00000000 08:16 1086197 /usr/lib/libIex.so.6.0.0
af1a2000-af1a4000 rw-p 00016000 08:16 1086197 /usr/lib/libIex.so.6.0.0
af1a4000-af268000 r-xp 00000000 08:16 1086203 /usr/lib/libIlmImf.so.6.0.0
af268000-af26a000 r--p 000c3000 08:16 1086203 /usr/lib/libIlmImf.so.6.0.0
af26a000-af26b000 rw-p 000c5000 08:16 1086203 /usr/lib/libIlmImf.so.6.0.0
af26b000-af26c000 rw-p 00000000 00:00 0
af26c000-af271000 r-xp 00000000 08:16 1101695 /usr/lib/kde4/plugins/imageformats/kimg_tga.so
af271000-af272000 r--p 00004000 08:16 1101695 /usr/lib/kde4/plugins/imageformats/kimg_tga.so
af272000-af273000 rw-p 00005000 08:16 1101695 /usr/lib/kde4/plugins/imageformats/kimg_tga.so
af273000-af27c000 r-xp 00000000 08:16 1101697 /usr/lib/kde4/plugins/imageformats/kimg_rgb.so
af27c000-af27d000 r--p 00008000 08:16 1101697 /usr/lib/kde4/plugins/imageformats/kimg_rgb.so
af27d000-af27e000 rw-p 00009000 08:16 1101697 /usr/lib/kde4/plugins/imageformats/kimg_rgb.so
af27e000-af283000 r-xp 00000000 08:16 1101696 /usr/lib/kde4/plugins/imageformats/kimg_ras.so
af283000-af284000 r--p 00004000 08:16 1101696 /usr/lib/kde4/plugins/imageformats/kimg_ras.so
af284000-af285000 rw-p 00005000 08:16 1101696 /usr/lib/kde4/plugins/imageformats/kimg_ras.so
af285000-af289000 r-xp 00000000 08:16 1101692 /usr/lib/kde4/plugins/imageformats/kimg_jp2.so
af289000-af28a000 r--p 00003000 08:16 1101692 /usr/lib/kde4/plugins/imageformats/kimg_jp2.so
af28a000-af28b000 rw-p 00004000 08:16 1101692 /usr/lib/kde4/plugins/imageformats/kimg_jp2.so
af28b000-af293000 r-xp 00000000 08:16 1101693 /usr/lib/kde4/plugins/imageformats/kimg_eps.so
af293000-af294000 r--p 00007000 08:16 1101693 /usr/lib/kde4/plugins/imageformats/kimg_eps.so
af294000-af295000 rw-p 00008000 08:16 1101693 /usr/lib/kde4/plugins/imageformats/kimg_eps.so
af295000-af305000 r-xp 00000000 08:16 1085553 /usr/lib/libtiff.so.5.1.0
af305000-af306000 r--p 0006f000 08:16 1085553 /usr/lib/libtiff.so.5.1.0
af306000-af309000 rw-p 00070000 08:16 1085553 /usr/lib/libtiff.so.5.1.0
af309000-af377000 r-xp 00000000 08:16 1085570 /usr/lib/libmng.so.1.0.0
af377000-af379000 r--p 0006d000 08:16 1085570 /usr/lib/libmng.so.1.0.0
af379000-af37a000 rw-p 0006f000 08:16 1085570 /usr/lib/libmng.so.1.0.0
af37b000-af37f000 r-xp 00000000 08:16 1101700 /usr/lib/kde4/plugins/imageformats/kimg_psd.so
af37f000-af380000 r--p 00003000 08:16 1101700 /usr/lib/kde4/plugins/imageformats/kimg_psd.so
af380000-af381000 rw-p 00004000 08:16 1101700 /usr/lib/kde4/plugins/imageformats/kimg_psd.so
af381000-af388000 r-xp 00000000 08:16 1101694 /usr/lib/kde4/plugins/imageformats/kimg_pcx.so
af388000-af389000 r--p 00007000 08:16 1101694 /usr/lib/kde4/plugins/imageformats/kimg_pcx.so
af389000-af38a000 rw-p 00008000 08:16 1101694 /usr/lib/kde4/plugins/imageformats/kimg_pcx.so
af38a000-af38f000 r-xp 00000000 08:16 1086201 /usr/lib/libIlmThread.so.6.0.0
af38f000-af390000 rw-p 00004000 08:16 1086201 /usr/lib/libIlmThread.so.6.0.0
af390000-af397000 r-xp 00000000 08:16 1101699 /usr/lib/kde4/plugins/imageformats/kimg_dds.so
af397000-af398000 r--p 00006000 08:16 1101699 /usr/lib/kde4/plugins/imageformats/kimg_dds.so
af398000-af399000 rw-p 00007000 08:16 1101699 /usr/lib/kde4/plugins/imageformats/kimg_dds.so
af399000-af3de000 r-xp 00000000 08:16 1085552 /usr/lib/libjpeg.so.8.0.2
af3de000-af3df000 r--p 00045000 08:16 1085552 /usr/lib/libjpeg.so.8.0.2
af3df000-af3e0000 rw-p 00046000 08:16 1085552 /usr/lib/libjpeg.so.8.0.2
af3e0000-af3f0000 rw-p 00000000 00:00 0
af3f2000-af3f7000 r-xp 00000000 08:16 1086199 /usr/lib/libImath.so.6.0.0
af3f7000-af3f8000 rw-p 00004000 08:16 1086199 /usr/lib/libImath.so.6.0.0
af3f8000-af3fd000 r-xp 00000000 08:16 1101702 /usr/lib/kde4/plugins/imageformats/kimg_exr.so
af3fd000-af3fe000 r--p 00004000 08:16 1101702 /usr/lib/kde4/plugins/imageformats/kimg_exr.so
af3fe000-af3ff000 rw-p 00005000 08:16 1101702 /usr/lib/kde4/plugins/imageformats/kimg_exr.so
af3ff000-af406000 r-xp 00000000 08:16 1085931 /usr/lib/qt/plugins/imageformats/libqtiff.so
af406000-af407000 r--p 00006000 08:16 1085931 /usr/lib/qt/plugins/imageformats/libqtiff.so
af407000-af408000 rw-p 00007000 08:16 1085931 /usr/lib/qt/plugins/imageformats/libqtiff.so
af408000-af40d000 r-xp 00000000 08:16 1085929 /usr/lib/qt/plugins/imageformats/libqmng.so
af40d000-af40e000 r--p 00004000 08:16 1085929 /usr/lib/qt/plugins/imageformats/libqmng.so
af40e000-af40f000 rw-p 00005000 08:16 1085929 /usr/lib/qt/plugins/imageformats/libqmng.so
af40f000-af42a000 r-xp 00000000 08:16 1090251 /usr/lib/liboxygenstyle.so.4.8.0
af42a000-af42b000 r--p 0001a000 08:16 1090251 /usr/lib/liboxygenstyle.so.4.8.0
af42b000-af42c000 rw-p 0001b000 08:16 1090251 /usr/lib/liboxygenstyle.so.4.8.0
af42c000-af4d7000 r-xp 00000000 08:16 1102517 /usr/lib/kde4/plugins/styles/oxygen.so
af4d7000-af4db000 r--p 000ab000 08:16 1102517 /usr/lib/kde4/plugins/styles/oxygen.so
af4db000-af4dc000 rw-p 000af000 08:16 1102517 /usr/lib/kde4/plugins/styles/oxygen.so
af4dc000-af4ec000 r-xp 00000000 08:16 76759 /usr/lib/libudev.so.1.0.2
af4ec000-af4ed000 r--p 00010000 08:16 76759 /usr/lib/libudev.so.1.0.2
af4ed000-af4ee000 rw-p 00011000 08:16 76759 /usr/lib/libudev.so.1.0.2
af4ee000-af524000 r-xp 00000000 08:16 1085514 /usr/lib/libstreams.so.0.7.7
af524000-af525000 r--p 00036000 08:16 1085514 /usr/lib/libstreams.so.0.7.7
af525000-af526000 rw-p 00037000 08:16 1085514 /usr/lib/libstreams.so.0.7.7
af526000-af57e000 r-xp 00000000 08:16 1086001 /usr/lib/libsopranoclient.so.1.2.0
af57e000-af57f000 r--p 00058000 08:16 1086001 /usr/lib/libsopranoclient.so.1.2.0
af57f000-af580000 rw-p 00059000 08:16 1086001 /usr/lib/libsopranoclient.so.1.2.0
af580000-af678000 r-xp 00000000 08:16 1085999 /usr/lib/libsoprano.so.4.3.0
af678000-af67b000 r--p 000f7000 08:16 1085999 /usr/lib/libsoprano.so.4.3.0
af67b000-af67c000 rw-p 000fa000 08:16 1085999 /usr/lib/libsoprano.so.4.3.0
af67c000-af6a1000 r-xp 00000000 08:16 76660 /usr/lib/liblzma.so.5.0.4
af6a1000-af6a2000 r--p 00024000 08:16 76660 /usr/lib/liblzma.so.5.0.4
af6a2000-af6a3000 rw-p 00025000 08:16 76660 /usr/lib/liblzma.so.5.0.4
af6a3000-af6a8000 r-xp 00000000 08:16 1089502 /usr/lib/libXtst.so.6.1.0
af6a8000-af6a9000 r--p 00004000 08:16 1089502 /usr/lib/libXtst.so.6.1.0
af6a9000-af6aa000 rw-p 00005000 08:16 1089502 /usr/lib/libXtst.so.6.1.0
af6aa000-af6e0000 r-xp 00000000 08:16 1086036 /usr/lib/libdbusmenu-qt.so.2.6.0
af6e0000-af6e1000 r--p 00035000 08:16 1086036 /usr/lib/libdbusmenu-qt.so.2.6.0
af6e1000-af6e2000 rw-p 00036000 08:16 1086036 /usr/lib/libdbusmenu-qt.so.2.6.0
af6e2000-af7e9000 r-xp 00000000 08:16 1085940 /usr/lib/libattica.so.0.4.0
af7e9000-af7eb000 r--p 00107000 08:16 1085940 /usr/lib/libattica.so.0.4.0
af7eb000-af7ed000 rw-p 00109000 08:16 1085940 /usr/lib/libattica.so.0.4.0
af7ed000-af8bf000 r-xp 00000000 08:16 1089854 /usr/lib/libsolid.so.4.8.0
af8bf000-af8c0000 ---p 000d2000 08:16 1089854 /usr/lib/libsolid.so.4.8.0
af8c0000-af8ca000 r--p 000d2000 08:16 1089854 /usr/lib/libsolid.so.4.8.0
af8ca000-af8cb000 rw-p 000dc000 08:16 1089854 /usr/lib/libsolid.so.4.8.0
af8cb000-af952000 r-xp 00000000 08:16 1085515 /usr/lib/libstreamanalyzer.so.0.7.7
af952000-af954000 r--p 00086000 08:16 1085515 /usr/lib/libstreamanalyzer.so.0.7.7
af954000-af955000 rw-p 00088000 08:16 1085515 /usr/lib/libstreamanalyzer.so.0.7.7
af955000-af9a7000 r-xp 00000000 08:16 1085872 /usr/lib/libQtSvg.so.4.8.2
af9a7000-af9a8000 r--p 00052000 08:16 1085872 /usr/lib/libQtSvg.so.4.8.2
af9a8000-af9a9000 rw-p 00053000 08:16 1085872 /usr/lib/libQtSvg.so.4.8.2
af9a9000-afa8b000 r-xp 00000000 08:16 1089841 /usr/lib/libnepomuk.so.4.8.0
afa8b000-afa8d000 r--p 000e1000 08:16 1089841 /usr/lib/libnepomuk.so.4.8.0
afa8d000-afa8e000 rw-p 000e3000 08:16 1089841 /usr/lib/libnepomuk.so.4.8.0
afa8e000-afd52000 r-xp 00000000 08:16 1089845 /usr/lib/libkdecore.so.5.8.0
afd52000-afd5b000 r--p 002c3000 08:16 1089845 /usr/lib/libkdecore.so.5.8.0
afd5b000-afd5f000 rw-p 002cc000 08:16 1089845 /usr/lib/libkdecore.so.5.8.0
afd5f000-afd60000 rw-p 00000000 00:00 0
afd60000-b0189000 r-xp 00000000 08:16 1089846 /usr/lib/libkdeui.so.5.8.0
b0189000-b019e000 r--p 00428000 08:16 1089846 /usr/lib/libkdeui.so.5.8.0
b019e000-b01a5000 rw-p 0043d000 08:16 1089846 /usr/lib/libkdeui.so.5.8.0
b01a5000-b01a6000 rw-p 00000000 00:00 0
b01a6000-b0441000 r-xp 00000000 08:16 1089852 /usr/lib/libkio.so.5.8.0
b0441000-b044a000 r--p 0029a000 08:16 1089852 /usr/lib/libkio.so.5.8.0
b044a000-b044e000 rw-p 002a3000 08:16 1089852 /usr/lib/libkio.so.5.8.0
b044e000-b044f000 rw-p 00000000 00:00 0
b0450000-b0454000 r-xp 00000000 08:16 1085933 /usr/lib/qt/plugins/imageformats/libqtga.so
b0454000-b0455000 r--p 00004000 08:16 1085933 /usr/lib/qt/plugins/imageformats/libqtga.so
b0455000-b0456000 rw-p 00005000 08:16 1085933 /usr/lib/qt/plugins/imageformats/libqtga.so
b0456000-b045a000 r-xp 00000000 08:16 1085930 /usr/lib/qt/plugins/imageformats/libqsvg.so
b045a000-b045b000 r--p 00004000 08:16 1085930 /usr/lib/qt/plugins/imageformats/libqsvg.so
b045b000-b045c000 rw-p 00005000 08:16 1085930 /usr/lib/qt/plugins/imageformats/libqsvg.so
b045c000-b0463000 r-xp 00000000 08:16 1085927 /usr/lib/qt/plugins/imageformats/libqjpeg.so
b0463000-b0464000 r--p 00006000 08:16 1085927 /usr/lib/qt/plugins/imageformats/libqjpeg.so
b0464000-b0465000 rw-p 00007000 08:16 1085927 /usr/lib/qt/plugins/imageformats/libqjpeg.so
b0465000-b046c000 r-xp 00000000 08:16 1085932 /usr/lib/qt/plugins/imageformats/libqico.so
b046c000-b046d000 r--p 00006000 08:16 1085932 /usr/lib/qt/plugins/imageformats/libqico.so
b046d000-b046e000 rw-p 00007000 08:16 1085932 /usr/lib/qt/plugins/imageformats/libqico.so
b046e000-b0475000 r-xp 00000000 08:16 1085766 /usr/lib/libXrandr.so.2.2.0
b0475000-b0476000 r--p 00006000 08:16 1085766 /usr/lib/libXrandr.so.2.2.0
b0476000-b0477000 rw-p 00007000 08:16 1085766 /usr/lib/libXrandr.so.2.2.0
b0477000-b0479000 r-xp 00000000 08:16 1095604 /usr/lib/vlc/plugins/misc/libinhibit_plugin.so
b0479000-b047a000 r--p 00001000 08:16 1095604 /usr/lib/vlc/plugins/misc/libinhibit_plugin.so
b047a000-b047b000 rw-p 00002000 08:16 1095604 /usr/lib/vlc/plugins/misc/libinhibit_plugin.so
b047b000-b0489000 r-xp 00000000 08:16 1085771 /usr/lib/libXi.so.6.1.0
b0489000-b048a000 r--p 0000d000 08:16 1085771 /usr/lib/libXi.so.6.1.0
b048a000-b048b000 rw-p 0000e000 08:16 1085771 /usr/lib/libXi.so.6.1.0
b048b000-b0494000 r-xp 00000000 08:16 1089376 /usr/lib/libXcursor.so.1.0.2
b0494000-b0495000 r--p 00008000 08:16 1089376 /usr/lib/libXcursor.so.1.0.2
b0495000-b0496000 rw-p 00009000 08:16 1089376 /usr/lib/libXcursor.so.1.0.2
b0496000-b04a6000 r--s 00000000 08:16 466964 /var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-le32d4.cache-3
b04a6000-b04d5000 r--s 00000000 08:16 465692 /var/cache/fontconfig/f6b893a7224233d96cb72fd88691c0b4-le32d4.cache-3
b04d5000-b04db000 rw-p 00000000 00:00 0
b04db000-b04ff000 r--p 00000000 08:16 531606 /usr/share/locale/it/LC_MESSAGES/libc.mo
b04ff000-b161f000 r--p 00000000 08:16 1085423 /usr/lib/libicudata.so.49.1.2
b161f000-b1620000 rw-p 0111f000 08:16 1085423 /usr/lib/libicudata.so.49.1.2
b1620000-b1781000 r-xp 00000000 08:16 1085436 /usr/lib/libicuuc.so.49.1.2
b1781000-b178b000 r--p 00161000 08:16 1085436 /usr/lib/libicuuc.so.49.1.2
b178b000-b178c000 rw-p 0016b000 08:16 1085436 /usr/lib/libicuuc.so.49.1.2
b178c000-b1790000 rw-p 00000000 00:00 0
b1790000-b198b000 r-xp 00000000 08:16 1085426 /usr/lib/libicui18n.so.49.1.2
b198b000-b198c000 ---p 001fb000 08:16 1085426 /usr/lib/libicui18n.so.49.1.2
b198c000-b1992000 r--p 001fb000 08:16 1085426 /usr/lib/libicui18n.so.49.1.2
b1992000-b1993000 rw-p 00201000 08:16 1085426 /usr/lib/libicui18n.so.49.1.2
b1993000-b1994000 rw-p 00000000 00:00 0
b1995000-b1997000 r-xp 00000000 08:16 1095455 /usr/lib/vlc/plugins/mmxext/libmemcpymmxext_plugin.so
b1997000-b1998000 r--p 00001000 08:16 1095455 /usr/lib/vlc/plugins/mmxext/libmemcpymmxext_plugin.so
b1998000-b1999000 rw-p 00002000 08:16 1095455 /usr/lib/vlc/plugins/mmxext/libmemcpymmxext_plugin.so
b1999000-b199d000 r-xp 00000000 08:16 75969 /usr/lib/libattr.so.1.1.0
b199d000-b199e000 r--p 00003000 08:16 75969 /usr/lib/libattr.so.1.1.0
b199e000-b199f000 rw-p 00004000 08:16 75969 /usr/lib/libattr.so.1.1.0
b199f000-b19a6000 r-xp 00000000 08:16 76025 /usr/lib/libacl.so.1.1.0
b19a6000-b19a7000 r--p 00007000 08:16 76025 /usr/lib/libacl.so.1.1.0
b19a7000-b19a8000 rw-p 00008000 08:16 76025 /usr/lib/libacl.so.1.1.0
b19a8000-b19b1000 r-xp 00000000 08:16 1102518 /usr/lib/kde4/plugins/gui_platform/libkde.so
b19b1000-b19b2000 r--p 00008000 08:16 1102518 /usr/lib/kde4/plugins/gui_platform/libkde.so
b19b2000-b19b3000 rw-p 00009000 08:16 1102518 /usr/lib/kde4/plugins/gui_platform/libkde.so
b19b3000-b1bb3000 r--p 00000000 08:16 253284 /usr/lib/locale/locale-archive
b1bb3000-b1bba000 rw-p 00000000 00:00 0
b1bba000-b1bcd000 r-xp 00000000 08:16 73484 /usr/lib/libresolv-2.16.so
b1bcd000-b1bce000 ---p 00013000 08:16 73484 /usr/lib/libresolv-2.16.so
b1bce000-b1bcf000 r--p 00013000 08:16 73484 /usr/lib/libresolv-2.16.so
b1bcf000-b1bd0000 rw-p 00014000 08:16 73484 /usr/lib/libresolv-2.16.so
b1bd0000-b1bd2000 rw-p 00000000 00:00 0
b1bd2000-b1be7000 r-xp 00000000 08:16 73502 /usr/lib/libnsl-2.16.so
b1be7000-b1be8000 r--p 00014000 08:16 73502 /usr/lib/libnsl-2.16.so
b1be8000-b1be9000 rw-p 00015000 08:16 73502 /usr/lib/libnsl-2.16.so
b1be9000-b1beb000 rw-p 00000000 00:00 0
b1beb000-b1bf1000 r-xp 00000000 08:16 1089449 /usr/lib/libogg.so.0.8.0
b1bf1000-b1bf2000 rw-p 00005000 08:16 1089449 /usr/lib/libogg.so.0.8.0
b1bf2000-b1c1c000 r-xp 00000000 08:16 1089492 /usr/lib/libvorbis.so.0.4.6
b1c1c000-b1c1d000 r--p 00029000 08:16 1089492 /usr/lib/libvorbis.so.0.4.6
b1c1d000-b1c1e000 rw-p 0002a000 08:16 1089492 /usr/lib/libvorbis.so.0.4.6
b1c1e000-b1d84000 r-xp 00000000 08:16 1089495 /usr/lib/libvorbisenc.so.2.0.9
b1d84000-b1d95000 r--p 00165000 08:16 1089495 /usr/lib/libvorbisenc.so.2.0.9
b1d95000-b1d96000 rw-p 00176000 08:16 1089495 /usr/lib/libvorbisenc.so.2.0.9
b1d96000-b1d97000 rw-p 00000000 00:00 0
b1d97000-b1de6000 r-xp 00000000 08:16 1089508 /usr/lib/libFLAC.so.8.2.0
b1de6000-b1de7000 rw-p 0004e000 08:16 1089508 /usr/lib/libFLAC.so.8.2.0
b1de7000-b1dec000 r-xp 00000000 08:16 1089498 /usr/lib/libasyncns.so.0.3.1
b1dec000-b1ded000 r--p 00004000 08:16 1089498 /usr/lib/libasyncns.so.0.3.1
b1ded000-b1dee000 rw-p 00005000 08:16 1089498 /usr/lib/libasyncns.so.0.3.1
b1dee000-b1e5a000 r-xp 00000000 08:16 1089511 /usr/lib/libsndfile.so.1.0.25
b1e5a000-b1e5b000 r--p 0006c000 08:16 1089511 /usr/lib/libsndfile.so.1.0.25
b1e5b000-b1e5c000 rw-p 0006d000 08:16 1089511 /usr/lib/libsndfile.so.1.0.25
b1e5c000-b1e60000 rw-p 00000000 00:00 0
b1e60000-b1e86000 r-xp 00000000 08:16 79683 /usr/lib/libexpat.so.1.6.0
b1e86000-b1e87000 ---p 00026000 08:16 79683 /usr/lib/libexpat.so.1.6.0
b1e87000-b1e89000 r--p 00026000 08:16 79683 /usr/lib/libexpat.so.1.6.0
b1e89000-b1e8a000 rw-p 00028000 08:16 79683 /usr/lib/libexpat.so.1.6.0
b1e8a000-b1e8b000 rw-p 00000000 00:00 0
b1e8b000-b1e8f000 r-xp 00000000 08:16 76295 /usr/lib/libuuid.so.1.3.0
b1e8f000-b1e90000 r--p 00003000 08:16 76295 /usr/lib/libuuid.so.1.3.0
b1e90000-b1e91000 rw-p 00004000 08:16 76295 /usr/lib/libuuid.so.1.3.0
b1e91000-b3ad6000 r-xp 00000000 08:16 1090572 /usr/lib/libnvidia-glcore.so.302.17
b3ad6000-b3b3a000 rwxp 01c45000 08:16 1090572 /usr/lib/libnvidia-glcore.so.302.17
b3b3a000-b3b4e000 rwxp 00000000 00:00 0
b3b4e000-b3b51000 r-xp 00000000 08:16 1090575 /usr/lib/libnvidia-tls.so.302.17
b3b51000-b3b52000 rw-p 00002000 08:16 1090575 /usr/lib/libnvidia-tls.so.302.17
b3b52000-b3b61000 r-xp 00000000 08:16 75708 /usr/lib/libbz2.so.1.0.6
b3b61000-b3b62000 rw-p 0000f000 08:16 75708 /usr/lib/libbz2.so.1.0.6
b3b62000-b3bab000 r-xp 00000000 08:16 1085364 /usr/lib/libdbus-1.so.3.7.2
b3bab000-b3bac000 r--p 00048000 08:16 1085364 /usr/lib/libdbus-1.so.3.7.2
b3bac000-b3bad000 rw-p 00049000 08:16 1085364 /usr/lib/libdbus-1.so.3.7.2
b3bad000-b3bae000 rw-p 00000000 00:00 0
b3bae000-b3c13000 r-xp 00000000 08:16 1095342 /usr/lib/pulseaudio/libpulsecommon-2.0.so
b3c13000-b3c14000 r--p 00064000 08:16 1095342 /usr/lib/pulseaudio/libpulsecommon-2.0.so
b3c14000-b3c15000 rw-p 00065000 08:16 1095342 /usr/lib/pulseaudio/libpulsecommon-2.0.so
b3c15000-b3c1c000 r-xp 00000000 08:16 1089517 /usr/lib/libjson.so.0.0.1
b3c1c000-b3c1d000 r--p 00006000 08:16 1089517 /usr/lib/libjson.so.0.0.1
b3c1d000-b3c1e000 rw-p 00007000 08:16 1089517 /usr/lib/libjson.so.0.0.1
b3c1e000-b3c23000 r-xp 00000000 08:16 76520 /usr/lib/libffi.so.6.0.0
b3c23000-b3c24000 r--p 00005000 08:16 76520 /usr/lib/libffi.so.6.0.0
b3c24000-b3c25000 rw-p 00006000 08:16 76520 /usr/lib/libffi.so.6.0.0
b3c25000-b3c87000 r-xp 00000000 08:16 76443 /usr/lib/libpcre.so.1.0.1
b3c87000-b3c88000 r--p 00061000 08:16 76443 /usr/lib/libpcre.so.1.0.1
b3c88000-b3c89000 rw-p 00062000 08:16 76443 /usr/lib/libpcre.so.1.0.1
b3c89000-b3d14000 r-xp 00000000 08:16 1089583 /usr/lib/liborc-0.4.so.0.16.0
b3d14000-b3d15000 r--p 0008a000 08:16 1089583 /usr/lib/liborc-0.4.so.0.16.0
b3d15000-b3d19000 rw-p 0008b000 08:16 1089583 /usr/lib/liborc-0.4.so.0.16.0
b3d19000-b3d1a000 rw-p 00000000 00:00 0
b3d1a000-b3d1b000 r-xp 00000000 08:16 76541 /usr/lib/libgthread-2.0.so.0.3200.3
b3d1b000-b3d1c000 r--p 00000000 08:16 76541 /usr/lib/libgthread-2.0.so.0.3200.3
b3d1c000-b3d1d000 rw-p 00001000 08:16 76541 /usr/lib/libgthread-2.0.so.0.3200.3
b3d1d000-b3e64000 r-xp 00000000 08:16 1085408 /usr/lib/libxml2.so.2.7.8
b3e64000-b3e68000 r--p 00147000 08:16 1085408 /usr/lib/libxml2.so.2.7.8
b3e68000-b3e69000 rw-p 0014b000 08:16 1085408 /usr/lib/libxml2.so.2.7.8
b3e69000-b3e6a000 rw-p 00000000 00:00 0
b3e6a000-b3e6d000 r-xp 00000000 08:16 76540 /usr/lib/libgmodule-2.0.so.0.3200.3
b3e6d000-b3e6e000 r--p 00002000 08:16 76540 /usr/lib/libgmodule-2.0.so.0.3200.3
b3e6e000-b3e6f000 rw-p 00003000 08:16 76540 /usr/lib/libgmodule-2.0.so.0.3200.3
b3e6f000-b3e74000 r-xp 00000000 08:16 1085593 /usr/lib/libXdmcp.so.6.0.0
b3e74000-b3e75000 r--p 00004000 08:16 1085593 /usr/lib/libXdmcp.so.6.0.0
b3e75000-b3e76000 rw-p 00005000 08:16 1085593 /usr/lib/libXdmcp.so.6.0.0
b3e76000-b3e78000 r-xp 00000000 08:16 1085596 /usr/lib/libXau.so.6.0.0
b3e78000-b3e79000 r--p 00001000 08:16 1085596 /usr/lib/libXau.so.6.0.0
b3e79000-b3e7a000 rw-p 00002000 08:16 1085596 /usr/lib/libXau.so.6.0.0
b3e7a000-b3e7b000 rw-p 00000000 00:00 0
b3e7b000-b3e82000 r-xp 00000000 08:16 73489 /usr/lib/librt-2.16.so
b3e82000-b3e83000 r--p 00006000 08:16 73489 /usr/lib/librt-2.16.so
b3e83000-b3e84000 rw-p 00007000 08:16 73489 /usr/lib/librt-2.16.so
b3e84000-b4030000 r-xp 00000000 08:16 79274 /usr/lib/libcrypto.so.1.0.0
b4030000-b4040000 r--p 001ab000 08:16 79274 /usr/lib/libcrypto.so.1.0.0
b4040000-b4047000 rw-p 001bb000 08:16 79274 /usr/lib/libcrypto.so.1.0.0
b4047000-b404a000 rw-p 00000000 00:00 0
b404a000-b40a6000 r-xp 00000000 08:16 79273 /usr/lib/libssl.so.1.0.0
b40a6000-b40a8000 r--p 0005c000 08:16 79273 /usr/lib/libssl.so.1.0.0
b40a8000-b40ac000 rw-p 0005e000 08:16 79273 /usr/lib/libssl.so.1.0.0
b40ac000-b40bd000 r-xp 00000000 08:16 1085710 /usr/lib/libXext.so.6.4.0
b40bd000-b40be000 r--p 00010000 08:16 1085710 /usr/lib/libXext.so.6.4.0
b40be000-b40bf000 rw-p 00011000 08:16 1085710 /usr/lib/libXext.so.6.4.0
b40bf000-b40f2000 r-xp 00000000 08:16 1089961 /usr/lib/libfontconfig.so.1.4.4
b40f2000-b40f3000 r--p 00032000 08:16 1089961 /usr/lib/libfontconfig.so.1.4.4
b40f3000-b40f4000 rw-p 00033000 08:16 1089961 /usr/lib/libfontconfig.so.1.4.4
b40f4000-b410a000 r-xp 00000000 08:16 1085753 /usr/lib/libICE.so.6.3.0
b410a000-b410b000 r--p 00015000 08:16 1085753 /usr/lib/libICE.so.6.3.0
b410b000-b410c000 rw-p 00016000 08:16 1085753 /usr/lib/libICE.so.6.3.0
b410c000-b410f000 rw-p 00000000 00:00 0
b410f000-b4116000 r-xp 00000000 08:16 1085758 /usr/lib/libSM.so.6.0.1
b4116000-b4117000 r--p 00006000 08:16 1085758 /usr/lib/libSM.so.6.0.1
b4117000-b4118000 rw-p 00007000 08:16 1085758 /usr/lib/libSM.so.6.0.1
b4118000-b412d000 r-xp 00000000 08:16 75772 /usr/lib/libz.so.1.2.7
b412d000-b412e000 r--p 00014000 08:16 75772 /usr/lib/libz.so.1.2.7
b412e000-b412f000 rw-p 00015000 08:16 75772 /usr/lib/libz.so.1.2.7
b412f000-b415d000 r-xp 00000000 08:16 1085565 /usr/lib/libpng15.so.15.11.0
b415d000-b415e000 r--p 0002d000 08:16 1085565 /usr/lib/libpng15.so.15.11.0
b415e000-b415f000 rw-p 0002e000 08:16 1085565 /usr/lib/libpng15.so.15.11.0
b415f000-b420b000 r-xp 00000000 08:16 1090314 /usr/lib/libGL.so.302.17
b420b000-b422b000 rwxp 000ab000 08:16 1090314 /usr/lib/libGL.so.302.17
b422b000-b423a000 rwxp 00000000 00:00 0
b423a000-b42da000 r-xp 00000000 08:16 75736 /usr/lib/libfreetype.so.6.9.0
b42da000-b42de000 r--p 0009f000 08:16 75736 /usr/lib/libfreetype.so.6.9.0
b42de000-b42ee000 rw-p 000a3000 08:16 75736 /usr/lib/libfreetype.so.6.9.0
b42ee000-b42f0000 rw-p 00000000 00:00 0
b42f0000-b436c000 r-xp 00000000 08:16 1085866 /usr/lib/libQtDBus.so.4.8.2
b436c000-b436d000 r--p 0007c000 08:16 1085866 /usr/lib/libQtDBus.so.4.8.2
b436d000-b436e000 rw-p 0007d000 08:16 1085866 /usr/lib/libQtDBus.so.4.8.2
b436e000-b4390000 r-xp 00000000 08:16 1089694 /usr/lib/libqzeitgeist.so.0.8.0
b4390000-b4391000 r--p 00021000 08:16 1089694 /usr/lib/libqzeitgeist.so.0.8.0
b4391000-b4392000 rw-p 00022000 08:16 1089694 /usr/lib/libqzeitgeist.so.0.8.0
qmc2-sdlmess (MESS, not MAME) works fine, recompilation doesn't changed nothing. Damn.
Last edited by padremayi (2012-07-15 22:42:17)ewaller wrote:
padremayi wrote:This is a Linux mistery...
I did not think that Mistery was an English word. It turns out, it is: It means, among some more archaic things, a trade.
I was sure the OP meant "Mystery": Something unknown or not fully understood.
I also thought they could have meant "Misery", something I have been feeling since this glib thing.
Anyway, glad it is solved
Oh, sorry, I meant mYstery
thisoldman wrote:
padremayi wrote:I don't know why, but this command, 'find / -name qmc2', doesn't find that folder (can you explian me why?).
They are two different names. 'qmc2' is not the same name as '.qmc2'. Just as the strings 'padremayi' and 'apadremayi' are not the same strings.
This command would find both 'qmc2' and '.qmc2':
find / \( -name qmc2 , -name .qmc2 \)
The escapes, or backslashes, and the spaces separating punctuation from the other characters are needed in that command.
qmc2 is not a part of .qmc2?
I don't know in advance if that folder exists and is hidden. -
Hi
Ive read a lot that java eliminates Buffer overflow problems. Could some one please elaborate how this is done.
Also if i were to limit the send and receive buffer sizes for a given socket by setting them to a small size and then send a String value over the socket with a larger byte size wouldn't that cause a buffer overflow ?
tx in advance.sridanu wrote:
Ive read a lot that java eliminates Buffer overflow problems. Bounded arrays. As such you can't write data outside the array and into potentially executable memory.
Also if i were to limit the send and receive buffer sizes for a given socket by setting them to a small size and then send a String value over the socket with a larger byte size wouldn't that cause a buffer overflow ?That might cause your application to throw an exception, but it would not cause other sections of memory to be over written. -
MODPLSQL generates Buffer Overflow errors trying to login
I am not entirely sure if this the right place but here it goes anyway:
We are using Oracle Workflow Manager Standalone(2.6.4) as part of our Warehouse Builder setup on a 10.2.0.3.0. Enterprise database on Linux .
As such the setup has just recently stopped working where as before it worked for a long time.
The problem is that it is not possible to log in to Oracle Workflow Manager with any user.
I have traced this problem to the mod_plsql.so library of the Oracle HTTP Server part of the owf setup.
What happens is that this module tries to login to the database when a user tries to login with hhis browser and sends an ALTER SESSION statement.
(This is also described in the docs)
This statement is misformed however, it contains to much characters.
Instead of :
ALTER SESSION SET NLS_LANGUAGE='DUTCH' NLS_TERRITORY='THE NETHERLANDS' NLS_CURRENCY='E'
the last bit , nls_currency, is being filled with random characters .
Since the total is more than the allowed limit the database returns, or mod_plsql decides, a ora-1017.
I used the proxy method described here, January 24, 2006: On a breakable Oracle, to find out what the mod_plsql.so package sends to the database.
Just read DADS /mod_plsql for SQLPlus.
I have to do this because these requests are handled as a SYS user and as such are not logged.
The mod_plsql library is supposed to use the DADS.CONF directives over any environment values.
However in the case of the PlsqlNLSLanguage directive this does not work.
The environment variable NLS_LANGUAGE , which is set to dutch , is given precedence.
It uses that to construct the ALTER SESSION statement.
If i change the environment variable to AMERICAN, the modplsql.so uses this to pick the currency and it gets the $ sign for NLS_CURRENCY.
Then the ALTER SESSION statement that is being sent is correct and there is no buffer overflow anymore.
And the database subsequently allows us in. However this changing of NLS_LANGUAGE at an environment variable level is not desirable for us since we get other translate problems.
Finally The Questions:
Why does the mod_plsql.so package also send the NLS_CURRENCY ? This is mentioned in none of the (Oracle) documentation but we can clearly see it happening.
Where does the mod_plsql.so package get this NLS_CURRENCY from? We don't set it anywhere in the environment or the .conf files, yet it is retrieved somewhere. In our case this is retrieveing some garbage data and thus causing the login to fail. Even looking in the .so library i see no mechanism for nls_currency.
Why does the mod_plsql.so package favor the environment variable over the DADS.CONF PlsqlNLSLanguage directive. All the manuals say otherwise yet in our case it is not being used. And when i load the library in an editor i see remarks that indeed point to my statement.
The most important question here is where do i need to look to get the NLS_CURRENCY . It is somehow corrupt and i want to correct this ofcourse.
Another important one is how we can force the mod_plsql.so package to use the PlsqlNLSLanguage directive since we do not want to change the environment variable.
I hope someone can help us out here.
rgrds MikeWell i must say i am sorry not haveing received any answer whatsoever.
This absence of Oracle people here is worrying me, and is the second time in a row lately.
It seems Oracle is abandoning its own products.
Anyway, just to answer my own thread so that somebody else gets some benefit from it:
After investigation i find that it works like this when things go right:
Modplsql creates a connection with the database and sends numerous key value pairs to the server.
Such as:
AUTH_TERMINAL
AUTH_PROGRAM_NM
AUTH_MACHINE
AUTH_PID
AUTH_SID
AUTH_SESSKEY
AUTH_PASSWORD
AUTH_ACL
AUTH_ALTER_SESSION :
NLS_LANGUAGE
NLS_TERRITORY
NLS_CURRENCY
... and more NLS_ stuff
It then sends a pl/sql ALTER SESSION statement this time only with
NLS_LANGUAGE and
NLS_TERRITORY
It then sends several pl/sql code bits probably to test if the database can access owa_match packages.
In this part it also sends pl/sql to get the database NLS_LANGUAGE, NLS_TERRITORY, and NLS_CHARACTERSET.
It also sends pl/sql to test owa_util.get_version for the proper version.
The last part is all of the web stuff: all of the CGI variables including the POSTed data if any. Ofcourse when doing authentication tru basic authentication there is no POST data.
The authentication info is passed on in the first step with AUTH_PASSWORD.
The environment value NLS_LANGUAGE is used and parsed in the first bit. The corresponding bits pop up in the AUTH_ALTER_SESSION key-value pair. Modplsql finds the other info(i don't know where really) such as NLS_CURRENCY and puts that there.
The dads.conf PlsqlNLSLanguage setting is used and parsed in the second step. The second step is formed like alter session set nls_language='DUTCH' nls_territory='THE NETHERLANDS' .
So my assumption about modplsql not using the Plsql is wrong here, but due to the error i encountered my debug info never got past step 1.
If the environment value is not set then a default value of AMERICAN_AMERICA is used.
What went wrong in my case ?
The environment var was set to DUTCH. Modplsql uses this to lookup nls_currency as explained to output the info in step 1.
However nls_currency returned garbage instead of just the euro sign. This is the real problem btw and not solved yet in our case. If someone knows where modplsql gets this info i would like to know this. !
The other steps were never finished and therefore it looked to the database that the AUTH_ALTER_SESSION key-value pair was too long.
It could not authenticate this reqeuest causing the effect that nobody could login. Since these requests are handled as SYS users no logging takes place. Only a trace with the error:
*** SERVICE NAME:(SYS$USERS) 2013-07-10 11:01:29.414
*** SESSION ID:(458.3138) 2013-07-10 11:01:29.414
Buffer overflow for attribute AUTH_ALTER_SESSION - max length[850] actual length[1131]
indicates there is something wrong here.
Setting the dads.conf file to override this environment parameter doesn'solve this ofcourse since this info is used somewhere else.
Fixing it, for now at least , means clearing the envrionment variable , then starting the http server.
And using DUTCH in the dads.conf file.
After starting the http server we reset the environment variable.
I am still looking for an answer on where modplsql gets the NLS_CURRENCY info since thats where the corruption is !
Hope somebody can use this info. -
ORA-06502: PL/SQL: numeric or value error: character string buffer too smal
Hi Guys I am getting error ORA-06502: PL/SQL: numeric or value error: character string buffer too small as it said i thought it would be issue with length of feild but i tried to change is nothihg work i am posing code here if any one can please help me on this
PROCEDURE REPORT
p_rpt_from_dt in varchar2,
p_rpt_to_dt in varchar2,
p_apvr_id in tc_wkr.tc_row_id%type default NULL,
p_rpt_type in varchar2 default NULL,
p_backto_pg in varchar2 default NULL
IS
v_rpt_from_dt date := var_to_date(p_rpt_from_dt);
v_rpt_to_dt date := var_to_date(p_rpt_to_dt);
v_time_str varchar2(15);
cursor period_cur
cp_from_dt date,
cp_to_dt date
is
select beg_dt, end_dt
from jmcs_wk_tprd
where beg_dt <= cp_to_dt -- report end date
and end_dt >= cp_from_dt -- report start date
BEGIN
if sys_security('tcsys', 'tc_reports') != 'GRANTED' then
apps_main.access_denied;
return;
end if;
if lg_debug_fl then
v_time_str := to_char(lg_sysdate, 'hh:mi:ss a.m.');
else
v_time_str := tc_time(lg_sysdate);
end if;
/* get the time card time periods applicable to the report */
lga_tc_strt_dt := lga_null_date;
for recs in period_cur(v_rpt_from_dt, v_rpt_to_dt) loop
lga_tc_strt_dt(lga_tc_strt_dt.count+1) := recs.beg_dt;
lga_tc_end_dt(lga_tc_end_dt.count+1) := recs.end_dt;
end loop;
--if p_apvr_id is NULL then
if p_rpt_type != 'D' then
tc_reporting.reports_header
1,
'Time Card Status Report',
'for '||dd_mon_yyyy(v_rpt_from_dt)||' through '||dd_mon_yyyy(v_rpt_to_dt)||'<BR>'||
'Report Date: '||dd_mon_yyyy(lg_sysdate)||' Time: '||v_time_str,
NULL,
NULL,
NULL,
'javascript:window.close()', /* Backto */
'alert(''Reminder! Click on logo when you are ready to return to previous page'')'
end if;
if p_apvr_id is NULL then
sub_STATUS_BD_ALPHA (v_rpt_from_dt, v_rpt_to_dt, TRUE, p_rpt_type, p_apvr_id);
else
htp.p('<!-- Selected Approver ('||p_apvr_id||') -->');
sub_STATUS_BD_APVR (v_rpt_from_dt, v_rpt_to_dt, p_rpt_type, p_apvr_id);
end if;
htp.p('</body></html>');
EXCEPTION
WHEN OTHERS THEN
error_proc(SQLERRM, SQLCODE, owa_util.get_cgi_env('PATH_INFO'));
htp.p('Error Code is :'||SQLERRM);
END REPORT;
This package in trun call other procedure like below
PROCEDURE sub_STATUS_BD_ALPHA
p_rpt_from_dt in date,
p_rpt_to_dt in date,
p_display_hdr in boolean,
p_rpt_type in varchar2 default 'B',
p_apvr_id in tc_wkr.tc_row_id%type default NULL,
p_tcs_user_id in tc_wkr.tc_row_id%type default NULL
IS
v_time_str varchar2(15);
v_apvr_id tc_wkr.tc_row_id%type := 0;
v_a_user_id tc_wkr.tc_row_id%type; -- approver tcs_user_id
v_cnt integer := 0;
v_people_cnt integer := 0;
v_stat_cd varchar2(2000);
v_display_fl boolean := FALSE;
/*===========================================================================*/
cursor people_cur
cp_from_dt in date,
cp_to_dt in date
is
select
d_full_nm_lfm as name,
tc_row_id as tcs_user_id,
tcw_typ as pay_typ,
tcw_id as pay_id,
sys_strt_date as sys_strt_dt,
sys_end_dt
from tc_wkr
where sys_strt_date <= cp_to_dt
and nvl(sys_end_dt, cp_to_dt) >= cp_from_dt
order by upper(d_full_nm_lfm);
/* find the current or the most recent (if no current) approver */
cursor apvr_cur
cp_tcs_user_id in tc_wkr.tc_row_id%type
is
select
a.f_tc_apvr_id as fk_tcs_apvr_id,
w.d_full_nm_lfm as apvr_name,
w.tcw_typ as apvr_pay_typ,
w.tcw_id as apvr_pay_id,
a.strt_dt,
a.end_dt
from tc_wkr w, tc_ap_asmt a
where a.f_tc_wkr_id = cp_tcs_user_id
and w.tc_row_id = a.f_tc_apvr_id
order by a.strt_dt desc;
/* list of existing time cards UNION required time cards */
cursor tc_cur
cp_tcs_user_id in tc_wkr.tc_row_id%type, /* who's time cards */
cp_from_dt in date, /* report period from date */
cp_to_dt in date /* report period to date */
is
select
stat_cd,
strt_dt,
end_dt
from tc
where strt_dt <= cp_to_dt
and end_dt >= cp_from_dt
and fk_tc_wkrtcw_id = cp_tcs_user_id
UNION
select
'Required' as stat_cd,
beg_dt as strt_dt,
end_dt
from jmcs_wk_tprd
where beg_dt <= cp_to_dt
and end_dt >= cp_from_dt
and beg_dt not in (
select strt_dt
from tc
where strt_dt <= cp_to_dt
and end_dt >= cp_from_dt
and fk_tc_wkrtcw_id = cp_tcs_user_id
order by strt_dt;
BEGIN
if lg_debug_fl then
v_time_str := to_char(lg_sysdate, 'hh:mi:ss a.m.');
else
v_time_str := tc_time(lg_sysdate);
end if;
if p_apvr_id > 0 then
lga_report_out := lga_report_out_null;
v_apvr_id := p_apvr_id;
lga_apvr := lga_apvr_null;
select
d_full_nm_lfm,
tc_row_id,
tcw_id,
tcw_typ
into
lga_apvr(1).apvr_name,
lga_apvr(1).apvr_tcs_id,
lga_apvr(1).apvr_pay_id,
lga_apvr(1).apvr_pay_typ
from tc_wkr
where tc_row_id = v_apvr_id;
if lga_apvr(1).apvr_pay_typ != 'S' then
select decode(bend_empl_fl, 'Y', 'E', 'W')
into lga_apvr(1).apvr_pay_typ
from empl
where empl_id = lga_apvr(1).apvr_pay_id;
end if;
end if;
if p_display_hdr then
if lga_tc_strt_dt.count > 6 then /* more than 6 time periods (1 month) */
lga_width(1) := to_char(.15 * lg_page_width_standard);
lga_width(2) := to_char(.08 * lg_page_width_standard);
for i in 1..lga_tc_strt_dt.count loop
lga_width(lga_width.count+1) := to_char(.09 * lg_page_width_standard);
end loop;
lg_page_width_standard := to_number(lga_width(1)) + to_number(lga_width(2));
if nvl(p_apvr_id, 0) = 0 then
lg_page_width_standard := lg_page_width_standard * 2;
end if;
htp.p('<!-- page width = '||lg_page_width_standard||'-->');
for i in 3..lga_width.count loop
lg_page_width_standard := lg_page_width_standard + to_number(lga_width(i));
htp.p('<!-- page width = '||lg_page_width_standard||'-->');
end loop;
lg_page_width := to_char(lg_page_width_standard);
else
lga_width(1) := '15%';
lga_width(2) := '8%';
lga_width(3) := '9%';
lga_width(4) := '9%';
lga_width(5) := '9%';
lga_width(6) := '9%';
lga_width(7) := '9%';
lga_width(8) := '9%';
end if;
sub_DETAIL_PAGE_HD(p_apvr_id);
end if;
/* cursor loop */
for p in people_cur(p_rpt_from_dt, p_rpt_to_dt) loop
/* is/was this person assigned to the selected approver for the report period */
v_display_fl := FALSE;
if nvl(p_tcs_user_id, 0) > 0 then
if p_tcs_user_id = p.tcs_user_id then
htp.p('<br>Selected User');
v_display_fl := TRUE;
end if;
elsif nvl(p_apvr_id, 0) = 0 then
if nvl(p_apvr_id, 0) = 0 then
v_display_fl := TRUE;
elsif p_apvr_id > 0 or p_apvr_id = -1 then
v_display_fl := fct_ASSIGNED_APVR(p.tcs_user_id, p_apvr_id, p_rpt_from_dt, p_rpt_to_dt);
end if;
if v_display_fl then
v_people_cnt := v_people_cnt + 1;
lg_tcs_owner_info.USER_ID := p.tcs_user_id;
lg_tcs_owner_info.PAY_ID := p.pay_id;
lg_tcs_owner_info.PAY_TYPE := p.pay_typ;
lg_tcs_owner_info.SYS_STRT_DT := p.sys_strt_dt;
lg_tcs_owner_info.TERM_DT := p.sys_end_dt;
if p.pay_typ = 'S' then
begin
select wrk_hire_dt
into lg_tcs_owner_info.hire_dt
from subcntr
where sub_id = p.pay_id;
exception
when no_data_found then
tc_debug.html_message('subcntr.pay_id('||p.pay_id||')');
end;
else
select
wrk_hire_dt,
decode(bend_empl_fl, 'Y', 'E', 'W')
into
lg_tcs_owner_info.hire_dt,
lg_tcs_owner_info.pay_type
from empl
where empl_id = lg_tcs_owner_info.PAY_ID;
end if;
if lga_report_out.count = 0 then
lga_report_out(lga_report_out.count+1) := '<table border="1" cellpadding="3" width="'||lg_page_width||'">';
end if;
if mod(v_people_cnt,2) = 1 then
lga_report_out(lga_report_out.count+1) := ('<tr bgcolor="'||lg_odd_bgcolor||'">');
else
lga_report_out(lga_report_out.count+1) := ('<tr bgcolor="'||lg_even_bgcolor||'">');
end if;
lga_report_out(lga_report_out.count+1) := ('<td valign="top"><font size=-2>'||p.name||'</font></td >');
lga_report_out(lga_report_out.count+1) := ('<td valign="top"><font size=-2>'||p.pay_typ||'-'||lpad(p.pay_id,4,'0')||'</font></td >');
if nvl(p_apvr_id, 0) > 0 then /* Single Approver */
/* need approver ID for time card "status" */
lga_apvr := lga_apvr_null; /* clear the approver id array */
lga_apvr(1).apvr_tcs_id := p_apvr_id;
elsif nvl(p_apvr_id, 0) = 0 then /* ALL Approvers */
lga_apvr := lga_apvr_null; /* clear the approver id array */
v_cnt := 0;
for ap in apvr_cur (p.tcs_user_id) loop
if v_cnt = 0 then
/* most recent approver may not be the applicable approver */
v_cnt := 1;
lga_apvr(v_cnt).apvr_name := ap.apvr_name; -- identify multiple approvers for the "status"
lga_apvr(v_cnt).apvr_tcs_id := ap.fk_tcs_apvr_id; -- identify multiple approvers for the "status"
lga_apvr(v_cnt).apvr_pay_id := ap.apvr_pay_id; -- identify multiple approvers for the "status"
v_apvr_id := ap.fk_tcs_apvr_id;
if ap.apvr_pay_typ = 'S' then
lga_apvr(v_cnt).apvr_pay_typ := ap.apvr_pay_typ; -- identify multiple approvers for the "status"
else
select decode(bend_empl_fl, 'Y', 'E', 'W')
into lga_apvr(1).apvr_pay_typ
from empl
where empl_id = lga_apvr(1).apvr_pay_id;
end if;
end if;
if ap.strt_dt <= p_rpt_to_dt and nvl(ap.end_dt, p_rpt_to_dt) >= p_rpt_from_dt then
/* approver record */
lg_tcs_owner_info.APVR_ID := ap.fk_tcs_apvr_id;
lg_tcs_owner_info.APVR_STRT_DT := ap.strt_dt;
lg_tcs_owner_info.APVR_END_DT := ap.end_dt;
don't enter same approver name multiple times
when same approver has been assigned more than once
Example: approver1, approver_2, approver_1 (change back to approver 1)
for i in 1..lga_apvr.count loop
v_apvr_id := ap.fk_tcs_apvr_id;
if lga_apvr(i).apvr_tcs_id = ap.fk_tcs_apvr_id then
/* don't add again */
v_apvr_id := NULL;
exit;
end if;
end loop;
if v_apvr_id is not NULL then
v_cnt := v_cnt + 1;
lga_apvr(v_cnt).apvr_name := ap.apvr_name; -- identify multiple approvers for the "status"
lga_apvr(v_cnt).apvr_tcs_id := ap.fk_tcs_apvr_id; -- identify multiple approvers for the "status"
lga_apvr(v_cnt).apvr_pay_id := ap.apvr_pay_id; -- identify multiple approvers for the "status"
lga_apvr(v_cnt).apvr_pay_typ := ap.apvr_pay_typ; -- identify multiple approvers for the "status"
end if;
end if;
end loop;
/* list approver pay IDs */
lga_report_out(lga_report_out.count+1) := ('<td valign="top"><font size=-2>');
if lga_apvr.count = 0 then
lga_report_out(lga_report_out.count+1) := 'Approver Unassigned';
else
for i in 1..lga_apvr.count loop
if i > 1 then
lga_report_out(lga_report_out.count+1) := '<br>';
end if;
lga_report_out(lga_report_out.count+1) := (lga_apvr(i).apvr_name);
end loop;
end if;
lga_report_out(lga_report_out.count+1) := ('<td valign="top"><font size=-2>');
if lga_apvr.count = 0 then
lga_report_out(lga_report_out.count+1) := 'N/A';
else
for i in 1..lga_apvr.count loop
if i > 1 then
lga_report_out(lga_report_out.count+1) := '<br>';
end if;
lga_report_out(lga_report_out.count+1) := (lga_apvr(i).apvr_pay_typ)||'-'||lpad(lga_apvr(i).apvr_pay_id,4,'0');
end loop;
end if;
lga_report_out(lga_report_out.count+1) := ('</font></td >');
end if;
for t in tc_cur(p.tcs_user_id, p_rpt_from_dt, p_rpt_to_dt) loop
htp.p('<! '||t.strt_dt||', '||t.end_dt||', '||t.stat_cd||' -->');
--lga_report_out(lga_report_out.count+1) := ('<td valign="top"><font size=-2>');
--lga_report_out(lga_report_out.count+1) := (t.stat_cd);
--lga_report_out(lga_report_out.count+1) := ('</font></td >');
/* has the selected approver has completed processing */
if p_apvr_id > 0
and v_apvr_id = p_apvr_id
and v_a_user_id != p_apvr_id
then
exit;
end if;
for ap in apvr_cur (p.tcs_user_id) loop
if apvr_cur%rowcount = 1 then
/* most recent approver assigned */
lg_tcs_owner_info.apvr_id := ap.fk_tcs_apvr_id;
end if;
if ap.strt_dt <= t.end_dt and nvl(ap.end_dt, t.end_dt) >= t.strt_dt then
/* approver assigned during time card period */
lg_tcs_owner_info.apvr_id := ap.fk_tcs_apvr_id;
exit;
end if;
end loop;
lg_tc_status.strt_dt := t.strt_dt;
lg_tc_status.end_dt := t.end_dt;
lg_tc_status.stat_cd := t.stat_cd;
v_stat_cd := fct_TC_STATUS(nvl(p_apvr_id, 0));
lga_report_out(lga_report_out.count+1) := ('<td align="center" valign="top" bgcolor="'||lg_tc_status.bg_color||'">');
lga_report_out(lga_report_out.count+1) := ('<font size=-2 color='||lg_tc_status.font_color||'>');
lga_report_out(lga_report_out.count+1) := v_stat_cd;
lga_report_out(lga_report_out.count+1) := ('</font></td >');
end loop;
lga_report_out(lga_report_out.count+1) := '</tr>';
end if; /* v_display_fl */
end loop;
if p_rpt_type in ('B', 'S') then
lg_page_cnt := lg_page_cnt + 1;
sub_DISPLAY_STATUS_SUMMARY;
end if;
if lga_report_out.count > 0 then
lga_report_out(lga_report_out.count+1) := '</table>';
end if;
if lga_report_out.count > 0 then
if p_rpt_type = 'B' or p_apvr_id > 0 then
if p_display_hdr then
if lg_page_cnt > 0 then
if p_apvr_id > 0 then /* selected individual approver */
htp.p('</table>');
end if;
htp.p('<br style="page-break-after:always">');
htp.p('<!-- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& -->');
htp.p('<!-- &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& -->');
end if;
lg_page_cnt := lg_page_cnt + 1;
tc_reporting.reports_header
1,
'Time Card Status Report',
'for '||dd_mon_yyyy(p_rpt_from_dt)||' through '||dd_mon_yyyy(p_rpt_to_dt)||'<BR>'||
'Report Date: '||dd_mon_yyyy(lg_sysdate)||' Time: '||v_time_str,
NULL,
NULL,
NULL,
NULL, -- p_backto_pg, /* Backto */
'focus()',
lg_page_cnt
end if;
end if;
if p_rpt_type in ('B', 'D') then
for i in 1..lga_report_out.count loop
htp.p(lga_report_out(i));
end loop;
end if;
end if;
END sub_STATUS_BD_ALPHA;
Some veriable
type report_tc_rec is record
tc_owner_name tc_wkr.d_full_nm_lfm%type,
o_user_id tc_wkr.tc_row_id%type,
o_pay_id varchar2(10),
o_sys_strt_dt date,
o_sys_end_dt date,
tc_apvr_name tc_wkr.d_full_nm_lfm%type,
a_pay_id varchar2(10),
a_user_id tc_wkr.tc_row_id%type,
tc_strt_dt date,
tc_end_dt date,
tc_stat_cd varchar2(50),
ap_strt_dt date,
ap_end_dt date
/* time card owner information */
TYPE tcs_owner_info_rec IS RECORD
USER_ID tc_wkr.tc_row_id%type,
PAY_ID tc_wkr.tcw_id%type,
PAY_TYPE tc_wkr.tcw_typ%type,
HIRE_DT date,
SYS_STRT_DT date,
TERM_DT date,
APVR_ID tc_wkr.tc_row_id%type,
APVR_STRT_DT date,
APVR_END_DT date
/* status code determines report cell font and background colors */
TYPE tc_status_rec IS RECORD
STRT_DT date,
END_DT date,
STAT_CD tc.stat_cd%type,
FONT_COLOR varchar2(16),
BG_COLOR varchar2(16)
/* count of all time card status for report summary */
TYPE tc_status_summary_rec IS RECORD
APPROVED_CNT integer := 0,
REJECTED_CNT integer := 0,
SUBMITTED_CNT integer := 0,
POSTED_CNT integer := 0,
VERIFIED_CNT integer := 0,
OPEN_CNT integer := 0,
NEW_CNT integer := 0,
REQUIRED_CNT integer := 0,
TOTAL_CNT integer := 0
/* determine multiple approvers for individual for selected report period */
TYPE apvr_rec IS RECORD
apvr_name tc_wkr.d_full_nm_lfm%type,
apvr_tcs_id tc_wkr.tc_row_id%type,
apvr_pay_id tc_wkr.tcw_id%type,
apvr_pay_typ tc_wkr.tcw_typ%type
TYPE apvr_id_array_table IS TABLE OF apvr_rec
index by binary_integer;
type output_array is table of varchar2(1000)
index by binary_integer;
type date_array is table of date
index by binary_integer;
type status_array is table of varchar2(1000)
index by binary_integer;
type apvr_array is table of number(8)
index by binary_integer;
lga_report_out output_array; /* array of HTML code to be output to browser */
lga_report_out_null output_array; /* null array of HTML code */
lga_tc_status status_array;
lga_null_status status_array;
lga_tc_strt_dt date_array;
lga_tc_end_dt date_array;
lga_tc_disp date_array; /* start dates of displayed TC for selected user */
lga_null_date date_array; /* null array used to clear other date arrays */
/* LOCAL GLOBAL VARIABLES */
lg_tcs_owner_info tcs_owner_info_rec; /* time card owner information */
lg_tc_status tc_status_rec; /* time card status information */
lg_tc_status_summary tc_status_summary_rec; /* time card count by status */
lg_tc_rec report_tc_rec; /* time card */
lga_apvr apvr_id_array_table; /* array of approver Names and Payroll IDs */
lga_apvr_null apvr_id_array_table; /* clear the lga_apvr array for each user */
lg_sysdate date := sysdate;
lg_debug_fl boolean := FALSE;
lg_debug_owner_id tc_wkr.tc_row_id%type := 9905;
lg_debug_apvr_id tc_wkr.tc_row_id%type := 1000;
The chnages i have done its in bold
Please Advice
Thanks
Edited by: Purvik on Aug 25, 2009 11:59 AMThere is not a chance in the world, especially not knowing column definitions that I, and I suspect most anyone else, is going to wade through this much unformated code looking for an error you couldn't bother to copy in full.
Either tell us, specifically, the line on which the error is occurring or, better yet, start whacking stuff out of your code until you find the offending definition. That is certainly what I would do. Commenting out sections is a marvelous way to quickly find an issue.
Before you post again please read the FAQ. It will explain to you how to properly post and use the tags. -
Spool file error - Buffer Overflow
I've a sql script that is running from a.sql file. The script fetches almost 9 million data as a result of the query. Main problem is related to spool file generation. It is saying buffer overflow. But, when i write that query from sql prompts it is running within 2 mins and completes the task within 15 mins.
I've written -
set serveroutput on size ######
But, still it is not working. Total application is freeze whenever i want to run it. Tell me any suggestion if u have.
Satyaki.i guess what you are more concerned with is the output produced by your query (the spool file).
you need not to see what is displayed on the screen all you need is open up the spool file to
check for those data in there.
to suppress the output from the screen and still generates spool file. use the SET TERMOUT option.
e.g.
-- code for a producing a sample spool file
spool r:\sample_spool.txt;
select * from emp;
spool off;
at the SQL*Plus command line:
SQL> @r:\sample_spool.sql;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7566 JONES MANAGER 7839 02-APR-81 2975 1000 20
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7839 KING PRESIDENT 17-NOV-81 5000 10
7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
7788 SCOTT ANALYST 7566 09-DEC-82 3000 20
7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
7876 ADAMS CLERK 7788 12-JAN-83 1100 20
7900 JAMES CLERK 7698 03-DEC-81 950 30
7934 MILLER CLERK 7782 23-JAN-82 1300 10
14 rows selected.
SQL> -- the above example displays the output on the screen
SQL> -- now we want to turn it off by using the SET TERMOUT option
SQL> SQL> set termout off;
SQL> @r:\sample_spool.sql;
SQL>
after executing the script sample_spool.sql it does not display output from the screen which
we want to avoid the buffer overflow error. and still produce the spool file:
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7566 JONES MANAGER 7839 02-APR-81 2975 1000 20
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7839 KING PRESIDENT 17-NOV-81 5000 10
7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
7788 SCOTT ANALYST 7566 09-DEC-82 3000 20
7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
7876 ADAMS CLERK 7788 12-JAN-83 1100 20
7900 JAMES CLERK 7698 03-DEC-81 950 30
7934 MILLER CLERK 7782 23-JAN-82 1300 10
14 rows selected. -
BI Publisher Report Query Error: "character string buffer too small"
Using apex.oracle.com, I am trying to make a Report Query (Shared Components > Report Queries) based on many columns (around 60).
When I enter my SQL in the "Source Query" Text Area and then click Test Report I get the following error:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small In order to try to make the simplest test case possible for this, I then tried entering SQL selecting just from DUAL.
The following SQL fails with the error mentioned above.
SELECT
'wibble' as a
,'wibble' as b
,'wibble' as c
,'wibble' as d
,'wibble' as e
,'wibble' as f
,'wibble' as g
,'wibble' as h
,'wibble' as i
,'wibble' as j
,'wibble' as k
,'wibble' as l
,'wibble' as m
,'wibble' as n
,'wibble' as o
,'wibble' as p
,'wibble' as q
,'wibble' as r
,'wibble' as s
,'wibble' as t
,'wibble' as u
,'wibble' as v
,'wibble' as w
,'wibble' as x
,'wibble' as y
,'wibble' as z
,'wibble' as ab
,'wibble' as ac
,'wibble' as ad
,'wibble' as ae
,'wibble' as af
,'wibble' as ag
,'wibble' as ah
,'wibble' as ai
,'wibble' as aj
,'wibble' as ak
,'wibble' as al
,'wibble' as am
,'wibble' as an
,'wibble' as ao
,'wibble' as ap
,'wibble' as aq
,'wibble' as ar
,'wibble' as at
,'wibble' as au
,'wibble' as av
FROM dualRemoving the last column from this SQL query (bringing the total number of columns down to 45) as follows and then clicking "Test Report" works successfully.
SELECT
'wibble' as a
,'wibble' as b
,'wibble' as c
,'wibble' as d
,'wibble' as e
,'wibble' as f
,'wibble' as g
,'wibble' as h
,'wibble' as i
,'wibble' as j
,'wibble' as k
,'wibble' as l
,'wibble' as m
,'wibble' as n
,'wibble' as o
,'wibble' as p
,'wibble' as q
,'wibble' as r
,'wibble' as s
,'wibble' as t
,'wibble' as u
,'wibble' as v
,'wibble' as w
,'wibble' as x
,'wibble' as y
,'wibble' as z
,'wibble' as ab
,'wibble' as ac
,'wibble' as ad
,'wibble' as ae
,'wibble' as af
,'wibble' as ag
,'wibble' as ah
,'wibble' as ai
,'wibble' as aj
,'wibble' as ak
,'wibble' as al
,'wibble' as am
,'wibble' as an
,'wibble' as ao
,'wibble' as ap
,'wibble' as aq
,'wibble' as ar
,'wibble' as at
,'wibble' as au
FROM dualSo the question is: Is there a hard-coded limit of 45 columns for a Source Query? Or is there something else causing this error message?
(For information in the above example I have "Use Generic Report Layout" selected and the output format set to "PDF")
Thanks very much in advance for any comments or suggestions,
AndyThanks for the suggestion Simon.
I just created a view based on the 46-column SELECT statement from dual above and then set "SELECT * FROM myview" as the Source Query.
Unfortunately I get exactly the same error.
Thanks,
Andy -
Tiger to Snow Leopard upgrade fails with buffer overflow
I'm not sure where to proceed with the following situation:
I have a 17" MB pro with 1GB memory and 22GB free hard drive space. I booted into the installer from the CD and stepped through the prompts without changing any options to the point where the install starts doing it's magic. Shortly after starting, the install will crash complaining about a buffer overflow during/just after the part where it's finding system files.
I originally tried to do this with only 10GB free, but after the first failure, I did a repair disk using the Disk Utility and removed a bunch of really old files I no longer needed, which brought the available disk space to 22GB, but this did not help anything. At this point, I'm not sure what to do. I use Carbon Copy Cloner as a backup so I can do a full wipe and install, however I would prefer to avoid that as it is a lot of work to get things back.
Any assistance is greatly appreciated!
Error log follows. I cut out a lot of stuff so please let me know if that detail is needed.
Sep 10 10:35:26 localhost OSInstaller[142]: Total install size including padding: 7325778944 b
Sep 10 10:35:28 localhost OSInstaller[142]: Starting installation:
Sep 10 10:35:28 localhost OSInstaller[142]: Calculating expected install size requirements
Sep 10 10:35:28 localhost Unknown[84]: 2009-09-10 10:35:28.624 Mac OS X Installer[142:c607] Looking for system packages
Sep 10 10:35:42 localhost Unknown[84]: 2009-09-10 10:35:42.115 Mac OS X Installer[142:c607] Finding system files...
Sep 10 10:36:01 localhost Unknown[84]: buffer overflow!
Sep 10 10:37:55 localhost LCA[83]: Child exited with status 6
Sep 10 10:37:59 localhost Unknown[162]: Launching the Installer Crash Log Viewer
Sep 10 10:38:32 localhost ReportCrash[159]: Process: Mac OS X Installer [142]
Sep 10 10:38:32 localhost ReportCrash[159]: Path: /System/Installation/CDIS/Mac OS X Installer.app/Contents/MacOS/Mac OS X Installer
Sep 10 10:38:32 localhost ReportCrash[159]: Identifier: Mac OS X Installer
Sep 10 10:38:32 localhost ReportCrash[159]: Version: ??? (???)
Sep 10 10:38:32 localhost ReportCrash[159]: Code Type: X86 (Native)
Sep 10 10:38:32 localhost ReportCrash[159]: Parent Process: LCA [83]
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Date/Time: 2009-09-10 10:36:12.446 -0700
Sep 10 10:38:32 localhost ReportCrash[159]: OS Version: Mac OS X 10.6 (10A432)
Sep 10 10:38:32 localhost ReportCrash[159]: Report Version: 6
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Exception Type: EXC_CRASH (SIGABRT)
Sep 10 10:38:32 localhost ReportCrash[159]: Exception Codes: 0x0000000000000000, 0x0000000000000000
Sep 10 10:38:32 localhost ReportCrash[159]: Crashed Thread: 9
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Application Specific Information:
Sep 10 10:38:32 localhost ReportCrash[159]: abort() called
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Thread 0: Dispatch queue: com.apple.main-thread
Sep 10 10:38:32 localhost ReportCrash[159]: 0 libSystem.B.dylib 0x002b78fa machmsgtrap + 10
Sep 10 10:38:32 localhost ReportCrash[159]: 1 libSystem.B.dylib 0x002b8067 mach_msg + 68
Sep 10 10:38:32 localhost ReportCrash[159]: 2 com.apple.CoreFoundation 0x005d9dbf __CFRunLoopRun + 2447
Sep 10 10:38:32 localhost ReportCrash[159]: 3 com.apple.CoreFoundation 0x005d8d34 CFRunLoopRunSpecific + 452
Sep 10 10:38:32 localhost ReportCrash[159]: 4 com.apple.CoreFoundation 0x005d8b61 CFRunLoopRunInMode + 97
Sep 10 10:38:32 localhost ReportCrash[159]: 5 com.apple.HIToolbox 0x05143fec RunCurrentEventLoopInMode + 392
Sep 10 10:38:32 localhost ReportCrash[159]: 6 com.apple.HIToolbox 0x05143da3 ReceiveNextEventCommon + 354
Sep 10 10:38:32 localhost ReportCrash[159]: 7 com.apple.HIToolbox 0x05143c28 BlockUntilNextEventMatchingListInMode + 81
Sep 10 10:38:32 localhost ReportCrash[159]: 8 com.apple.AppKit 0x00bdbb99 _DPSNextEvent + 847
Sep 10 10:38:32 localhost ReportCrash[159]: 9 com.apple.AppKit 0x00bdb40e -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
Sep 10 10:38:32 localhost ReportCrash[159]: 10 com.apple.AppKit 0x00b9d5fb -[NSApplication run] + 821
Sep 10 10:38:32 localhost ReportCrash[159]: 11 com.apple.AppKit 0x00b95695 NSApplicationMain + 574
Sep 10 10:38:32 localhost ReportCrash[159]: 12 com.apple.MacOSXInstaller 0x00006393 0x1000 + 21395
Sep 10 10:38:32 localhost ReportCrash[159]: 13 com.apple.MacOSXInstaller 0x00002f25 0x1000 + 7973
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Thread 1:
Sep 10 10:38:32 localhost ReportCrash[159]: 0 libSystem.B.dylib 0x002e582a _semwaitsignal + 10
Sep 10 10:38:32 localhost ReportCrash[159]: 1 libSystem.B.dylib 0x00311681 nanosleep$UNIX2003 + 188
Sep 10 10:38:32 localhost ReportCrash[159]: 2 libSystem.B.dylib 0x00347872 sleep$UNIX2003 + 63
Sep 10 10:38:32 localhost ReportCrash[159]: 3 com.apple.installframework 0x000abe13 dologwatch + 51
Sep 10 10:38:32 localhost ReportCrash[159]: 4 libSystem.B.dylib 0x002e4fe1 pthreadstart + 345
Sep 10 10:38:32 localhost ReportCrash[159]: 5 libSystem.B.dylib 0x002e4e66 thread_start + 34
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Thread 2: Dispatch queue: com.apple.libdispatch-manager
Sep 10 10:38:32 localhost ReportCrash[159]: 0 libSystem.B.dylib 0x002de10a kevent + 10
Sep 10 10:38:32 localhost ReportCrash[159]: 1 libSystem.B.dylib 0x002de824 dispatch_mgrinvoke + 215
Sep 10 10:38:32 localhost ReportCrash[159]: 2 libSystem.B.dylib 0x002ddce1 dispatch_queueinvoke + 163
Sep 10 10:38:32 localhost ReportCrash[159]: 3 libSystem.B.dylib 0x002dda86 dispatch_workerthread2 + 234
Sep 10 10:38:32 localhost ReportCrash[159]: 4 libSystem.B.dylib 0x002dd511 pthreadwqthread + 390
Sep 10 10:38:32 localhost ReportCrash[159]: 5 libSystem.B.dylib 0x002dd356 start_wqthread + 30
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Thread 3:
Sep 10 10:38:32 localhost ReportCrash[159]: 0 libSystem.B.dylib 0x002b78fa machmsgtrap + 10
Sep 10 10:38:32 localhost ReportCrash[159]: 1 libSystem.B.dylib 0x002b8067 mach_msg + 68
Sep 10 10:38:32 localhost ReportCrash[159]: 2 com.apple.CoreFoundation 0x005d9dbf __CFRunLoopRun + 2447
Sep 10 10:38:32 localhost ReportCrash[159]: 3 com.apple.CoreFoundation 0x005d8d34 CFRunLoopRunSpecific + 452
Sep 10 10:38:32 localhost ReportCrash[159]: 4 com.apple.CoreFoundation 0x005d8b61 CFRunLoopRunInMode + 97
Sep 10 10:38:32 localhost ReportCrash[159]: 5 com.apple.Foundation 0x00863498 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 329
Sep 10 10:38:32 localhost ReportCrash[159]: 6 com.apple.Foundation 0x0082a964 -[NSThread main] + 45
Sep 10 10:38:32 localhost ReportCrash[159]: 7 com.apple.Foundation 0x0082a914 _NSThread__main_ + 1499
Sep 10 10:38:32 localhost ReportCrash[159]: 8 libSystem.B.dylib 0x002e4fe1 pthreadstart + 345
Sep 10 10:38:32 localhost ReportCrash[159]: 9 libSystem.B.dylib 0x002e4e66 thread_start + 34
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Thread 4:
Sep 10 10:38:32 localhost ReportCrash[159]: 0 libSystem.B.dylib 0x002b78fa machmsgtrap + 10
Sep 10 10:38:32 localhost ReportCrash[159]: 1 libSystem.B.dylib 0x002b8067 mach_msg + 68
Sep 10 10:38:32 localhost ReportCrash[159]: 2 com.apple.CoreFoundation 0x005d9dbf __CFRunLoopRun + 2447
Sep 10 10:38:32 localhost ReportCrash[159]: 3 com.apple.CoreFoundation 0x005d8d34 CFRunLoopRunSpecific + 452
Sep 10 10:38:32 localhost ReportCrash[159]: 4 com.apple.CoreFoundation 0x005d8b61 CFRunLoopRunInMode + 97
Sep 10 10:38:32 localhost ReportCrash[159]: 5 com.apple.Foundation 0x008643e4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 279
Sep 10 10:38:32 localhost ReportCrash[159]: 6 com.apple.Foundation 0x008b93c8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 79
Sep 10 10:38:32 localhost ReportCrash[159]: 7 com.apple.osinstallframework 0x0002dbc3 -[OSPreInstallSizingQueueElement _calculateReapedFreeSpace] + 176
Sep 10 10:38:32 localhost ReportCrash[159]: 8 com.apple.osinstallframework 0x0002e1dd -[OSPreInstallSizingQueueElement run] + 178
Sep 10 10:38:32 localhost ReportCrash[159]: 9 com.apple.installframework 0x0007be54 -[IFSession(Jobs) _runMetaQueueEngine] + 1594
Sep 10 10:38:32 localhost ReportCrash[159]: 10 com.apple.Foundation 0x0082a964 -[NSThread main] + 45
Sep 10 10:38:32 localhost ReportCrash[159]: 11 com.apple.Foundation 0x0082a914 _NSThread__main_ + 1499
Sep 10 10:38:32 localhost ReportCrash[159]: 12 libSystem.B.dylib 0x002e4fe1 pthreadstart + 345
Sep 10 10:38:32 localhost ReportCrash[159]: 13 libSystem.B.dylib 0x002e4e66 thread_start + 34
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Thread 5:
Sep 10 10:38:32 localhost ReportCrash[159]: 0 libSystem.B.dylib 0x002b795a semaphoretimedwait_signaltrap + 10
Sep 10 10:38:32 localhost ReportCrash[159]: 1 libSystem.B.dylib 0x002e5469 pthread_condwait + 1066
Sep 10 10:38:32 localhost ReportCrash[159]: 2 libSystem.B.dylib 0x00314268 pthreadcond_timedwait_relativenp + 47
Sep 10 10:38:32 localhost ReportCrash[159]: 3 com.apple.Foundation 0x00866aec -[NSCondition waitUntilDate:] + 453
Sep 10 10:38:32 localhost ReportCrash[159]: 4 com.apple.Foundation 0x0081f881 -[NSConditionLock lockWhenCondition:beforeDate:] + 279
Sep 10 10:38:32 localhost ReportCrash[159]: 5 com.apple.Foundation 0x0081f764 -[NSConditionLock lockWhenCondition:] + 69
Sep 10 10:38:32 localhost ReportCrash[159]: 6 com.apple.installframework 0x0006aef6 +[IFDTargetController(WorkerThread) _handleTargetRequests] + 1169
Sep 10 10:38:32 localhost ReportCrash[159]: 7 com.apple.Foundation 0x0082a964 -[NSThread main] + 45
Sep 10 10:38:32 localhost ReportCrash[159]: 8 com.apple.Foundation 0x0082a914 _NSThread__main_ + 1499
Sep 10 10:38:32 localhost ReportCrash[159]: 9 libSystem.B.dylib 0x002e4fe1 pthreadstart + 345
Sep 10 10:38:32 localhost ReportCrash[159]: 10 libSystem.B.dylib 0x002e4e66 thread_start + 34
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Thread 6:
Sep 10 10:38:32 localhost ReportCrash[159]: 0 libSystem.B.dylib 0x002e582a _semwaitsignal + 10
Sep 10 10:38:32 localhost ReportCrash[159]: 1 libSystem.B.dylib 0x00311681 nanosleep$UNIX2003 + 188
Sep 10 10:38:32 localhost ReportCrash[159]: 2 com.apple.Foundation 0x008b4c30 +[NSThread sleepForTimeInterval:] + 123
Sep 10 10:38:32 localhost ReportCrash[159]: 3 com.apple.SystemMigration 0x01a04b69 -[SMManager _suppressSpotlightThread:] + 104
Sep 10 10:38:32 localhost ReportCrash[159]: 4 com.apple.Foundation 0x0082a964 -[NSThread main] + 45
Sep 10 10:38:32 localhost ReportCrash[159]: 5 com.apple.Foundation 0x0082a914 _NSThread__main_ + 1499
Sep 10 10:38:32 localhost ReportCrash[159]: 6 libSystem.B.dylib 0x002e4fe1 pthreadstart + 345
Sep 10 10:38:32 localhost ReportCrash[159]: 7 libSystem.B.dylib 0x002e4e66 thread_start + 34
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Thread 7:
Sep 10 10:38:32 localhost ReportCrash[159]: 0 libSystem.B.dylib 0x002d6876 select$DARWIN_EXTSN + 10
Sep 10 10:38:32 localhost ReportCrash[159]: 1 com.apple.CoreFoundation 0x0061904d __CFSocketManager + 1085
Sep 10 10:38:32 localhost ReportCrash[159]: 2 libSystem.B.dylib 0x002e4fe1 pthreadstart + 345
Sep 10 10:38:32 localhost ReportCrash[159]: 3 libSystem.B.dylib 0x002e4e66 thread_start + 34
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Thread 8:
Sep 10 10:38:32 localhost ReportCrash[159]: 0 libSystem.B.dylib 0x002b78fa machmsgtrap + 10
Sep 10 10:38:32 localhost ReportCrash[159]: 1 libSystem.B.dylib 0x002b8067 mach_msg + 68
Sep 10 10:38:32 localhost ReportCrash[159]: 2 com.apple.CoreFoundation 0x005d9dbf __CFRunLoopRun + 2447
Sep 10 10:38:32 localhost ReportCrash[159]: 3 com.apple.CoreFoundation 0x005d8d34 CFRunLoopRunSpecific + 452
Sep 10 10:38:32 localhost ReportCrash[159]: 4 com.apple.CoreFoundation 0x005d8b61 CFRunLoopRunInMode + 97
Sep 10 10:38:32 localhost ReportCrash[159]: 5 com.apple.Foundation 0x008643e4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 279
Sep 10 10:38:32 localhost ReportCrash[159]: 6 com.apple.Foundation 0x008b93c8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 79
Sep 10 10:38:32 localhost ReportCrash[159]: 7 com.apple.installframework 0x0007d48d -[IFDInstallController(Private) _install] + 1561
Sep 10 10:38:32 localhost ReportCrash[159]: 8 com.apple.osinstallframework 0x00018ccc -[OSInstallController(Private) _install] + 552
Sep 10 10:38:32 localhost ReportCrash[159]: 9 com.apple.Foundation 0x0082a964 -[NSThread main] + 45
Sep 10 10:38:32 localhost ReportCrash[159]: 10 com.apple.Foundation 0x0082a914 _NSThread__main_ + 1499
Sep 10 10:38:32 localhost ReportCrash[159]: 11 libSystem.B.dylib 0x002e4fe1 pthreadstart + 345
Sep 10 10:38:32 localhost ReportCrash[159]: 12 libSystem.B.dylib 0x002e4e66 thread_start + 34
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Thread 9 Crashed:
Sep 10 10:38:32 localhost ReportCrash[159]: 0 libSystem.B.dylib 0x00324c8e _semwait_signalnocancel + 10
Sep 10 10:38:32 localhost ReportCrash[159]: 1 libSystem.B.dylib 0x00324b72 nanosleep$NOCANCEL$UNIX2003 + 166
Sep 10 10:38:32 localhost ReportCrash[159]: 2 libSystem.B.dylib 0x003a05b2 usleep$NOCANCEL$UNIX2003 + 61
Sep 10 10:38:32 localhost ReportCrash[159]: 3 libSystem.B.dylib 0x003c1c68 abort + 105
Sep 10 10:38:32 localhost ReportCrash[159]: 4 com.apple.bom 0x0194fb3d _defaultHandler + 64
Sep 10 10:38:32 localhost ReportCrash[159]: 5 com.apple.bom 0x0194fa8f _BOMExceptionHandlerCall + 89
Sep 10 10:38:32 localhost ReportCrash[159]: 6 com.apple.bom 0x01971c01 BOMStreamReadUInt32 + 134
Sep 10 10:38:32 localhost ReportCrash[159]: 7 com.apple.bom 0x01954e40 BOMBomOpen + 226
Sep 10 10:38:32 localhost ReportCrash[159]: 8 com.apple.PackageKit 0x019a98e7 -[PKBOM initWithBOMPath:] + 148
Sep 10 10:38:32 localhost ReportCrash[159]: 9 com.apple.PackageKit 0x019b82fe -[PKReceipt(Private) _BOM] + 77
Sep 10 10:38:32 localhost ReportCrash[159]: 10 com.apple.PackageKit 0x019b7d55 -[PKReceipt(Private) _directoryEnumerator] + 34
Sep 10 10:38:32 localhost ReportCrash[159]: 11 com.apple.SystemMigration 0x01a4deff -[SMFindSystemFiles _findSystemPaths] + 1785
Sep 10 10:38:32 localhost ReportCrash[159]: 12 com.apple.SystemMigration 0x01a4e490 -[SMFindSystemFiles systemPaths] + 796
Sep 10 10:38:32 localhost ReportCrash[159]: 13 com.apple.SystemMigration 0x01a50387 -[SMPathAnalyzer prunedSystemPathsReturningSize:] + 179
Sep 10 10:38:32 localhost ReportCrash[159]: 14 com.apple.SystemMigration 0x01a508ca -[SMPathAnalyzer prunedReaperPathsReturningSize:] + 53
Sep 10 10:38:32 localhost ReportCrash[159]: 15 com.apple.osinstallframework 0x00028807 -[IFDiskObject(OSExtensions) calculateReapedFreeSpace] + 404
Sep 10 10:38:32 localhost ReportCrash[159]: 16 com.apple.osinstallframework 0x0002daf4 -[OSPreInstallSizingQueueElement _calculateReapedFreeSpaceThread] + 71
Sep 10 10:38:32 localhost ReportCrash[159]: 17 com.apple.Foundation 0x0082a964 -[NSThread main] + 45
Sep 10 10:38:32 localhost ReportCrash[159]: 18 com.apple.Foundation 0x0082a914 _NSThread__main_ + 1499
Sep 10 10:38:32 localhost ReportCrash[159]: 19 libSystem.B.dylib 0x002e4fe1 pthreadstart + 345
Sep 10 10:38:32 localhost ReportCrash[159]: 20 libSystem.B.dylib 0x002e4e66 thread_start + 34
Sep 10 10:38:32 localhost ReportCrash[159]:
Sep 10 10:38:32 localhost ReportCrash[159]: Thread 9 crashed with X86 Thread State (32-bit):
Sep 10 10:38:32 localhost ReportCrash[159]: eax: 0x0000003c ebx: 0x00324ad9 ecx: 0xb04aa82c edx: 0x00324c8e
Sep 10 10:38:32 localhost ReportCrash[159]: edi: 0x00000000 esi: 0xb04aa888 ebp: 0xb04aa868 esp: 0xb04aa82c
Sep 10 10:38:32 localhost ReportCrash[159]: ss: 0x0000001f efl: 0x00000247 eip: 0x00324c8e cs: 0x00000007
Sep 10 10:38:32 localhost ReportCrash[159]: ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
Sep 10 10:38:32 localhost ReportCrash[159]: cr2: 0xffe2a178
Sep 10 10:38:32 localhost ReportCrash[159]:a brody wrote:
Regarding the need to buy the packaged bundle, I keep seeing folks here and elsewhere claiming that is not necessary.
That's because they have not read, or concern themselves with the license agreement. Section 2. "Permitted License Uses and Restrictions", section C says on http://images.apple.com/legal/sla/docs/macosx106.pdf
It's been read forwards, backwards, and upside down. Nowhere on the packaging is there any identification of the $29 (or $49 family pack) version as only suitable as a "Leopard upgrade" version. There are vague mentions about it on Apple's online sales page and in press releases. I've read the license terms thoroughly and the only conclusion that could reasonably be conferred is that the $29 version carries a "single user" license simply because it doesn't say "family pack". There are plenty of reports that it installs over Tiger just fine.
Granted I've read numerous reports and I installed my copy over Leopard. However - imagine someone who vaguely heard about it, walked into a store and bought a copy, thoroughly looked over the box and the license terms (within the disc), and installed it in good faith over Tiger. There is ZERO, ZIP, NADA on the package that would lead anyone to believe it is anything but a copy with a "SINGLE USER" license where the terms don't preclude installing over Tiger.
C. Leopard Upgrade Licenses. If you have purchased an Upgrade for Mac OS X Leopard license, then subject to the terms and conditions of this License, you are granted a limited non-exclusive license to install, use and run one (1) copy of the Apple Software on a single Apple-branded computer as long as that computer has a properly licensed copy of *Mac OS X Leopard already installed on it.*
The emphasis above is mine.
While this may not be enforced by a software key, it is there in the license agreement on the PDF included on the CD, when you purchase the under $100 licenses, which are also called "Upgrade" on the store.
There's an opinion that "Leopard upgrade" only applies to the "Up To Date" versions that require proof of purchase of a recent Mac computer. The reports on those installer discs are that they do in fact check for a valid Leopard installation.
The following has the most in-depth discussion on the subject of whether or not the license allows for Snow Leopard over Tiger that I've seen so far:
http://www.mackb.com/Uwe/Forum.aspx/mac/26361/the-29-purchase-price-of-Snow-Leop ard
This is the best description I've heard on it, from someone who identifies himself as "David Empson":
http://www.mackb.com/Uwe/Threads/Single.aspx/mac/26361?ArtId=1j5mofd.1pw6lllbtpj dwN%25dempson%40actrix.gen.nz
If someone walks in and buys Snow Leopard, without written notice from
Apple that they are buying an Upgrade version which requires Leopard,
and without discussing that point with the seller, the buyer is under no
obligation to have researched their purchase in advance and know all of
Apple's publicity statements from three months ago.
They are buying it in good faith, and the contract (licence) is valid. -
Short dump in SAP R/3: SQL statement buffer overflow?
Hello,
I hope someone can help us with the following problem:
A short dump in SAP R/3 (DBIF_RSQL_INVALID_RSQL, CX_SY_OPEN_SQL_DB)
occurred during a delta load, which worked fine for several month.
The custom code crashes at a FETCH NEXT CURSOR statement.
I assume, it might be a SQL statement buffer overflow in SAP R/3?
The problem can be reproduced by RSA3, and is therefore not time-dependent.
The problem did not occur before or on the quality assurance system.
Cursor code:
Read all entries since last transfer (delta mechanism)
OPEN CURSOR WITH HOLD s_cursor FOR
SELECT * FROM ekko
WHERE ebeln IN t_selopt_ekko.
t_selopt_ekko has up to 60.000 data sets, which worked fine in the past.
It is very likely that the amount of data during the first crash did not exceed this.
SQL-Trace of RSA3 call:
It seems that 25150 data set can be processed via fetch before the short dump occurs
After that object SNAP is written:
"...DBIF_RSQL_INVALID_RSQL...dynpen00 + 0xab0 at dymain.c:1645 dw.sapP82_D82
Thdyn...Report für den Extraktoraufruf...I_T_FIELDS...Table IT_43[16x60]TH058FUNCTION=
RSA3_GET_DATA_SIMPLEDATA=S_S_IF_SIMPLE-T_FIELDSTH100...shmRefCount = 1...
...> 1st level extension part <...isUsed = 1...isCtfyAble = 1...> Shareable Table Header Data
<...tabi = Not allo......S_CURSORL...SAPLRSA3...LRSA3U06...SAPLRSA3...
During dump creation the following occurs:
"...SAPLSPIAGENTCW...CX_DYNAMIC_CHECK=...CRSFH...BALMSGHNDL...
DBIF_RSQL_INVALID_RSQL...DBIF_RSQL_INVALID_RSQL...DB_ERR_RSQL_00013...
INCL_ABAP_ERROR...DBIF_INCL_INTERNAL_ERROR...INCL_INTERNAL_ERROR...
GENERAL_EXC_WITHOUT_RAISING...INCL_SEND_TO_ABAP...INCL_SEARCH_HINTS...
INCL_SEND_TO_SAP...GENERAL_EXC_WITHOUT_RAISING...GENERAL_ENVIRONMENT...
GENERAL_TRANSACTION...GENERAL_INFO...GENERAL_INFO_INTERNAL...
DBIF_INCL_INTERNAL_CALL_CODE..."
Basis says, that the Oracle data base works fine. The problem seems to be a SAP R/3 buffer.
Does anyone had a similar problem or knows where such a buffer might be or how it can be enlarged?
Best regards
Thomas
P.S.
Found a thread that contains part of the dump message "dynpen00 + 0xab0 at dymain.c:1645":
Thread: dump giving by std prg contains -> seems not to be helpful
Found a similar thread:
Thread: Short dump in RSA3 --Z Data Source -> table space or somting else?
Edited by: Thomas Köpp on Apr 1, 2009 11:39 AMHi Thomas,
Its due to different field length.
Just check it out in code after FETCH NEXT CURSOR what internal table you have mention.
that internal table shoul deffined by taking refrence of ekko, because your code is
OPEN CURSOR WITH HOLD s_cursor FOR
SELECT * FROM ekko
WHERE ebeln IN t_selopt_ekko.
hope you got solution.
Regards, -
Script running in the background and buffer overflow
Hi,
I have written a script that is supposed to be a background process, which will check every 5 minutes if given person is logged in on Skype.
The script does it basic job (alters me when given person is on Skype) but when I try to quit it (see code below, first display dialog inside on idle handler) it does not quit. Instead it displays "buffer overflow" or "stack overflow" error message (I am not certain how to exactly translate the error message - it is not in English as I am not running MacOS X in English). Also on rare occasions it displays another error message about terminated connection.
Any advise about how get rid of these errors would be greatly appreciated.
I have saved the script as an application and I have added to Contents/info.plist the following:
Application is agent (UIElement) = true
Here is the applet code:
global interval
global _path
on run
set _path to POSIX path of (alias ((path to me as text) & "Contents:Resources:sound.aif"))
set interval to 300
end run
on idle
tell application "System Events"
set _run to (name of processes) contains "Skype"
end tell
if _run = true then
tell application "Skype"
set _Calls to send command "SEARCH ACTIVECALLS" script name "cal"
end tell
if _Calls = "CALLS" then
tell application "Skype"
set Lstat to send command "GET USER " & "user_nickname" & " ONLINESTATUS" script name "stats"
set AppleScript's text item delimiters to " "
set status to text item 4 of Lstat
if status is "OFFLINE" then
--do nothing
else
do shell script "afplay " & _path
tell me
activate
display dialog "user_nickname is on Skypie" buttons {"OK", "Change interval", "Quit"} default button 1 giving up after 60 with icon note with title "Skype check"
if button returned of the result is "Quit" then
quit
else if button returned of the result is "Change interval" then
display dialog "Enter new interval in minutes:" buttons {"OK"} default button 1 default answer "5" with title "Skype check"
set interval to ((text returned of the result as number) * 60)
end if
end tell
end if
end tell
else
-- do nothing
end if
else
-- do nothing
end if
return (interval as number)
end idle
on quit
quit
end quitDelete the following code:
on quit
quit
end quit
The purpose of the 'on quit' handler is so additional instructions can be executed when the script is told to quit. If desired, 'continue quit' can be part of the handler to call the normal quit command; without the 'continue', the script just repeats the handler over and over with no exit, which causes the overflow.
(53695) -
ORA-06502 (character string buffer too small) on import application via script
Running apex 4.2.2.00.11
oracle 10.2.0.5
I'm using a script to import my development application to a few production applications.
It worked great on apex 4.1.1, but now I get an 'ORA-06502 PL/SQL numeric of value error: character string buffer too small'
In the command window, I see that the script fails after it starts on the plugins.
My question: is this a bug in 4.2.2?
I could be a incompatible plugin, but how can I found out which plugin?
My script is quite simple:
In a command window I run
sqlplus SCHEMA/PASSWORD@SPIEU10 @_IMPORT_F102.sql
The script is
declare
l_workspace_id number;
begin
-- determine the workspace id for the workspace FM in the target system
select workspace_id into l_workspace_id from apex_workspaces where workspace = 'BY_APEX_SHARED';
-- set the context for the target workspace
apex_application_install.set_workspace_id( l_workspace_id );
-- override the original application id 102
apex_application_install.set_application_id ( 102 );
-- set a different application name and alias, it should be unique within an APEX instance
apex_application_install.set_application_alias( 'MY_ALIAS' );
apex_application_install.set_application_name( 'MY_APP_NAME' );
-- Use fixed offset
apex_application_install.set_offset( p_offset => 0);
-- override the original parsing schema FM with a different value
apex_application_install.set_schema( 'BY_SCHEMA' );
end;
-- install the original application export, now the values for the workspace
@f102.sql
exit;
Error message from command window:
...ui types
...plugins
begin
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at line 3
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64
bit Production
With the Partitioning, Data Mining and Real Application Testing optionsListAGG throws an ORA-01489 for varchar2 > 4000 bytes
OP has an ORA-06502 --> the IR is running into a 4k/32k limit.
quick solution: wrap USER_COMMENTS ListAGG in a substr( ...., 1, 4000)
Longer solution, use a subquery to modify the comments based on ROW_NUMBER() (ie after nth row, change it to NULL)
with
-- simulating data
t as (select task_id, sysdate - lv as date_entered
,round(dbms_random.value(1,24)) hours
, '-*' || lv || '.' || task_id || '*-' as user_comments
from ( select level as task_id from dual connect by level <=10 ), (select level lv from dual connect by level < 1000)
-- modify data
modified_data as (
select task_id, hours, date_entered
,case
when row_number() over (partition by task_id order by date_entered desc) < 5
then user_comments
else null
end USER_COMMENTS
from t)
select task_id, sum(hours) total_hours,
listagg( user_comments ) within group (order by date_entered desc)
|| case when count(*) >= 5 then '! MORE COMMENTS !' else null end
as user_comments
from modified_data
group by task_id; -
Report error:ORA-06502:character string buffer too small. urgent!!
Hi guys,
My APEX version is 3.0.1.00.08, my application run on my test environment, but on PROD environment, it raised the error:
report error:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
In this page, on the left is a tree, the right side is a tabular form, when I click one tree node, it will pass the current node id to the form and the form will display the children data. When I click some tree node, it will raise the ORA-06502 error, but when click some other nodes, it is correct. I don't know why. And on my test environment, it has no this error, the test environment has same version with prod environment, only has less data in database. Could you help me???
I searched in forum, someone says it's LOV problem, if it's LOV problem, all the nodes should have error, why click some nodes are ok?
Thanks !
JessicaI don't think it is related only to the number of rows but also to the content of the rows. So, counting only the number of rows doesn't say anything about if it is going to work or not. My question: can't you filter those entries? Making a choice between 250 entries in a tabular form isn't a simple task. Using popup-key LOV instead would also be a solution. However, if you use popup-key LOV be aware of the fact that you need two index numbers for those.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------
Maybe you are looking for
-
Aperture lack of DNG support unfortunate
It's difficult to understand why Aperture does not offer support for Adobe DNG files. DNG/RAW files are being used by some camera manufacturers that I work with, and they contain a wealth of metadata as well as the broadest range of image data, incl
-
JNDI lookup for Crystal Reports at runtime
How to run a rpt to fetch data from database connection defined in Tomcat's JNDI resources ? We are using JDBC(JNDI) Data source while designing the report in the Crystal Report designer and we want to use 'Connection Name' at runtime for jndi lookup
-
Hello, I'm trying to do my first web app. First I must log a user from a server database. I thought using JSP to display html pages and javabean to contain logic and functions. In my first page there are a login form with a submit button. How can I c
-
Hi, Are there any profiles for the D300 body, particularly: 17-55mm f/2.8 zoom 70-200mm f/2.8 VRII zoom. I can see the former in the LensProfiles directory fro D90 latter for the D3X. Thanks Geoff
-
My Office 365 minutes are not showing up
I have the same problem. I signed up for Microsoft 365 that should come with 60 fee minutes per month. I am running the most recent Windows and Skype versions, and I am logged in with my Microsoft account. But the minutes aren't showing up. How can I