EXC_BAD_ACCESS and seg faults with BSD Sockets code

Hi,
I've been having some problems with sockets programming on a new MacBook that I've decided to do some programming on.
So, I wrote a pretty simple program to test if the sockets are working properly, and it's only partially working.
I've been compiling via gcc on the command line, but then I tried Xcode to see if that made any difference, and it didn't.
Also, this program works flawlessly on FreeBSD 6.2. The Apple Developer website says that BSD sockets should work perfectly.
Here's the code: http://www.wraithnj.com/matt/Programming/C/scrabble/server/server.c
I've been testing this code with netcat, telnet, and this too: http://www.wraithnj.com/matt/Programming/C/scrabble/client/client.c
Xcode and GDB reveals that it fails line 57. Or at least that's where the break point is set. Appearantly it doesn't like the FD_SET() macro... Perhaps I'm just being an idiot and don't know how to use Xcode.
So, this is what it looks like when it fails (after connecting with a client):
matt@mdwosx1:~/Programming/C/scrabble/server# ./server2
Connection from: 127.0.0.1 Socket: 4
Then the program doesn't crash. It sends the "playerid." The client receives the 1 sent.
Then if I try to send the server any information (typing in stuff from the client) the server doesn't show that it has received the information. Then if I send 'q' from the client. It has a segmentation fault. If I just do Ctrl+C with the client, it receives another segmentation fault. I don't understand what memory it's trying to write to that it can't. I'm assuming that it's having trouble writing to the fd_set master because that's where gdb leads me, but that's confusing because that works fine on FreeBSD.
If I connect two clients, the second the second client connects it runs into an infinite loop.
It repeats this:
DATA From: 2.0.0.0 Socket: 3 Data:
DATA From: 2.0.0.0 Socket: 3 Data:
DATA From: 2.0.0.0 Socket: 3 Data:
DATA From: 2.0.0.0 Socket: 3 Data:
DATA From: 2.0.0.0 Socket: 3 Data:
DATA From: 2.0.0.0 Socket: 3 Data:
Until you quit from both clients, where it drops a segmentation fault.
The GDB in Xcode says EXCBADACCESS.
I honestly have no clue what I'm doing wrong. I added a whole bunch of header files (in case Mac OS X depends upon something else). I recompiled it every which way. I reconfigured Xcode every which way.
Could anybody help me or shed some light on what I'm doing wrong?
-WraithM

I did have an extra byte on each of my character arrays. The fix was adding two extra bytes. For example, with my playerid in the client, originally (in the program before the fix that worked perfectly on FreeBSD) I had playerid[1] in the declaration. Aka, two bytes. I store the first byte in the first element, then I stored the null in the second element. Under OS X, when I declared 2 elements, the recv function was overflowing into the next variable (so, it was taking up three elements, somehow). So, then I redeclared my playerid array with three elements, and it worked out. So, there's a specific difference between OS X and FreeBSD. I also did specifically take in one less byte than size of my array and null terminated by myself. For example,
numbytes = recv(sock, playerid, 1, 0);
playerid[numbytes] = '\0';
Note that I originally had it declared as 2 bytes long. So, I read 1 byte in, then I null terminate the second byte. numbytes should be 1 if I'm reading 1 byte. That's what recv sends as the return value. Therefore playerid[1] = '\0';
I did EXACTLY what you suggested even before I fixed it. Okay, so your suggestion of what the problem is isn't a fair assessment of the situation. There's a specific difference between OS X and FreeBSD. Remember, this code worked perfectly on FreeBSD before and after the changes. So, when I null terminate, it's taking up two bytes somehow. Also, it's not like the null termination is being put in the third element of the array because I tried doing:
playerid[numbytes - 1] = '\0'; It over wrote the first element.
I don't need to review C strings. I'm getting lucky because I guessed how to fix the situation based upon the perceived differences between OS X and FreeBSD, not because I'm making random changes. I need somebody to explain what OS X is doing that FreeBSD isn't doing (or visa versa).
Also, you're wrong:
Your code only works because you make sure that atoi() is less than 2 and you've make that playerfd array have [two elements].
I originally declared it with TWO elements, and it didn't work because I didn't offset the index of playerfd. Then I declared it with three elements, and it worked. That's because I changed the size of playerfd, but now I fixed the problem (and now I am back to having two elements with a new solution), but that doesn't explain why this worked on FreeBSD and not OS X.
Addmittedly, I didn't think about this before, but here's the real way I should have done this.
if(atoi(&playerid) < 2)
      playerfd[atoi(&playerid) - 1] = newsock;
Because the playerid is either 1 or 2, it'd put it in either the second or third element, not the first or second element. So, I just offset the atoi, and now I can do that with a two element declaration. It was a silly mistake on my part.
However, that doesn't explain what's going on in the client where the null-termination is going over into the next array (unless I have 3 elements instead of something that should have 2 elements (the number then the null termination)). Nor does that explain why this code worked on FreeBSD. I can understand why the server worked in FreeBSD. There could have been nothing important after the playerfd array in the server (which doesn't really make sense, because the compilers should have the same variables next to eachother, but conceivably that's how it'd work). However, on the client, if I tried to do printf of playerid with a strange offset like in the server, then I'd get this:
0x[0031]00 (the brackets defining where the playerid array with 2 elements is)
It wouldn't print anything because it'd hit the null right off the bat.
So, what must be happening is this:
0x[3100]00
The 00 after the playerid bracket is where the overflow is occurring. Normally, the socket file descriptor is there, and that gets overwritten with 0. In FreeBSD, it worked fine.
So, when I define the array to be 3 elements long, it must be working like this:
0x[310000]04 (04 being the socket file descriptor that occurs after the playerid array)
There are two nulls... Something is strange about this. This is what I don't understand as not working in OS X and working in FreeBSD.
Could anybody explain this?
P.S. I don't like initializing all of my data, nor error checking during designing of a basic program. I put them in afterwards because I find them to be aesthetically displeasing, and it makes it more difficult to find stuff. I know it's stupid, but that's how I work. I put in error checking when I'm debugging specific sections, and then put it in everywhere after is all worked out. My coding style is not the problem. Admittedly, I was stupid with the server, but I honestly don't understand the client. The nature of the server and client are different. In the server, I'm using an integer array, and in the client I'm using a character array.
Message was edited by: WraithM

Similar Messages

  • JVM 1.4 seg faults with pure java code?

    Has anybody else seen JVM 1.4 seg fault when running pure java code? This seems like it shouldn't be possible, but I get the following at indeterminate times. Unfortunately, it is difficult to isolate since decreasing the size of the program avoids the problem. When the seg fault happens, the size in memory is ~1GB and there is plenty of real and virtual memory to spare.
    Unexpected Signal : 11 occurred at PC=0xDE88BC8E
    Function=[Unknown. Nearest: +0x100E]
    Library=/usr/j2se/jre/lib/i386/server/libjvm.so
    Dynamic libraries:
    0x8050000 java
    0xdfb60000 /usr/lib/libthread.so.1
    0xdfba0000 /usr/lib/libdl.so.1
    0xdfab0000 /usr/lib/libc.so.1
    0xde800000 /usr/j2se/jre/lib/i386/server/libjvm.so
    0xdfa40000 /usr/lib/libCrun.so.1
    0xdfa20000 /usr/lib/libsocket.so.1
    0xdf980000 /usr/lib/libnsl.so.1
    0xdf960000 /usr/lib/libm.so.1
    0xdfa70000 /usr/lib/libw.so.1
    0xdf920000 /usr/lib/libmp.so.2
    0xdf8f0000 /usr/j2se/jre/lib/i386/native_threads/libhpi
    .so
    0xdf8c0000 /usr/j2se/jre/lib/i386/libverify.so
    0xdf880000 /usr/j2se/jre/lib/i386/libjava.so
    0xdf860000 /usr/j2se/jre/lib/i386/libzip.so
    0xda890000 /usr/lib/nss_files.so.1
    Local Time = Tue May 14 16:03:38 2002
    Elapsed Time = 72
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002D3
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Server VM (1.4.0-rc-b91 mixed
    mode)
    # An error report file has been saved as hs_err_pid945.log.
    # Please refer to the file for further information.

    Hi sevenM,
    Did you figure out a workaround for this problem?. Did you get it solved with the SUN people?. Is it a known bug?.
    I've got exactly the same problem on the same function and VM library.
    Any info on this is very much welcome.
    Thx
    Krithiga
    I get the same error sometimes with tomcat-4.0.4 on a
    Slackware 8.0.0 and JDK 1.4.0. I don't user any JSPs,
    only servlets and the business calls a remote SLSB on
    a remote JBOSS server and afterwards select some data
    form a remote DB2 7.1 over JDBC.
    Here is the log:
    Unexpected Signal : 11 occurred at PC=0x40267D98
    Function=copy_to_survivor_space__16DefNewGenerationP7oo
    DescPP7oopDesc+0x28
    Library=/usr/local/j2sdk1.4.0/jre/lib/i386/client/libjv
    .so
    Current Java thread:
    at
    at java.net.PlainSocketImpl.socketAccept(Native
    tive Method)
    at
    at
    at
    t
    java.net.PlainSocketImpl.accept(PlainSocketImpl.java:34
    - locked <0x44ed3400> (a
    400> (a java.net.PlainSocketImpl)
    at
    at
    at
    t
    java.net.ServerSocket.implAccept(ServerSocket.java:438)
    at
    at
    at
    t java.net.ServerSocket.accept(ServerSocket.java:409)
    at
    at
    at
    t
    org.apache.catalina.core.StandardServer.await(StandardS
    rver.java:293)
    at
    at
    at
    t
    org.apache.catalina.startup.Catalina.start(Catalina.jav
    :794)
    at
    at
    at
    t
    org.apache.catalina.startup.Catalina.execute(Catalina.j
    va:681)
    at
    at
    at
    t
    org.apache.catalina.startup.Catalina.process(Catalina.j
    va:179)
    at
    at
    at
    t sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at
    at
    at
    t
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMetho
    AccessorImpl.java:39)
    at
    at
    at
    t
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegat
    ngMethodAccessorImpl.java:25)
    at
    at
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    at
    at
    t
    org.apache.catalina.startup.Bootstrap.main(Bootstrap.ja
    a:243)
    Dynamic libraries:
    08048000-0804d000 r-xp 00000000 03:03 757599
    /usr/local/j2sdk1.4.0/bin/java
    0804d000-0804e000 rw-p 00004000 03:03 757599
    /usr/local/j2sdk1.4.0/bin/java
    40000000-40015000 r-xp 00000000 03:03 885142
    /lib/ld-2.2.3.so
    40015000-40016000 rw-p 00014000 03:03 885142
    /lib/ld-2.2.3.so
    40017000-40020000 r-xp 00000000 03:03 69536
    /usr/local/j2sdk1.4.0/jre/lib/i386/native_threads/libh
    i.so
    40020000-40021000 rw-p 00008000 03:03 69536
    /usr/local/j2sdk1.4.0/jre/lib/i386/native_threads/libh
    i.so
    40021000-40022000 r--p 00000000 03:03 33106
    /usr/lib/locale/en_US/LC_IDENTIFICATION
    40022000-40030000 r-xp 00000000 03:03 885133
    /lib/libpthread-0.9.so
    40030000-40038000 rw-p 0000d000 03:03 885133
    /lib/libpthread-0.9.so
    40038000-4003b000 r-xp 00000000 03:03 885149
    /lib/libdl-2.2.3.so
    4003b000-4003c000 rw-p 00002000 03:03 885149
    /lib/libdl-2.2.3.so
    4003c000-40143000 r-xp 00000000 03:03 885147
    /lib/libc-2.2.3.so
    40143000-40149000 rw-p 00106000 03:03 885147
    /lib/libc-2.2.3.so
    4014d000-40410000 r-xp 00000000 03:03 1150891
    /usr/local/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
    40410000-40558000 rw-p 002c2000 03:03 1150891
    /usr/local/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
    4056c000-4057d000 r-xp 00000000 03:03 885152
    /lib/libnsl-2.2.3.so
    4057d000-4057f000 rw-p 00010000 03:03 885152
    /lib/libnsl-2.2.3.so
    40581000-405b5000 r-xp 00000000 03:03 950285
    /usr/i386-slackware-linux/lib/libstdc++-2-libc6.1-1-2.
    .0.so
    405b5000-405c1000 rw-p 00033000 03:03 950285
    /usr/i386-slackware-linux/lib/libstdc++-2-libc6.1-1-2.
    .0.so
    405c3000-405e4000 r-xp 00000000 03:03 885138
    /lib/libm-2.2.3.so
    405e4000-405e5000 rw-p 00020000 03:03 885138
    /lib/libm-2.2.3.so
    405e5000-405f6000 r-xp 00000000 03:03 69542
    /usr/local/j2sdk1.4.0/jre/lib/i386/libverify.so
    405f6000-405f8000 rw-p 00010000 03:03 69542
    /usr/local/j2sdk1.4.0/jre/lib/i386/libverify.so
    405f8000-40619000 r-xp 00000000 03:03 69543
    /usr/local/j2sdk1.4.0/jre/lib/i386/libjava.so
    40619000-4061b000 rw-p 00020000 03:03 69543
    /usr/local/j2sdk1.4.0/jre/lib/i386/libjava.so
    4061c000-40630000 r-xp 00000000 03:03 69545
    /usr/local/j2sdk1.4.0/jre/lib/i386/libzip.so
    40630000-40633000 rw-p 00013000 03:03 69545
    /usr/local/j2sdk1.4.0/jre/lib/i386/libzip.so
    40633000-4063a000 r--s 00000000 03:03 890455
    /usr/local/jakarta-tomcat-4.0.4/bin/bootstrap.jar
    4063a000-40641000 r--s 00000000 03:03 890436
    /usr/local/jakarta-tomcat-4.0.4/common/lib/naming-comm
    n.jar
    40641000-40655000 r--s 00000000 03:03 890437
    /usr/local/jakarta-tomcat-4.0.4/common/lib/servlet.jar
    40655000-4065e000 r--s 00000000 03:03 890438
    /usr/local/jakarta-tomcat-4.0.4/common/lib/naming-reso
    rces.jar
    4065e000-40660000 r--s 00000000 03:03 890439
    /usr/local/jakarta-tomcat-4.0.4/common/lib/jdbc2_0-std
    xt.jar
    40660000-4066c000 r--s 00000000 03:03 890440
    /usr/local/jakarta-tomcat-4.0.4/common/lib/activation.
    ar
    4066c000-4066f000 r--s 00000000 03:03 890441
    /usr/local/jakarta-tomcat-4.0.4/common/lib/jta-spec1_0
    1.jar
    4066f000-4082a000 r--s 00000000 03:03 890443
    /usr/local/jakarta-tomcat-4.0.4/common/lib/xerces.jar
    4082a000-40874000 r--s 00000000 03:03 890444
    /usr/local/jakarta-tomcat-4.0.4/common/lib/tyrex-0.9.7
    0.jar
    40874000-408b9000 r--s 00000000 03:03 890445
    /usr/local/jakarta-tomcat-4.0.4/common/lib/mail.jar
    408b9000-408d2000 r--s 00000000 03:03 890446
    /usr/local/jakarta-tomcat-4.0.4/common/lib/jndi.jar
    408d2000-40958000 r--s 00000000 03:03 890482
    /usr/local/jakarta-tomcat-4.0.4/common/lib/db2java.jar
    40958000-4096e000 r--s 00000000 03:03 890483
    /usr/local/jakarta-tomcat-4.0.4/common/lib/jboss-clien
    .jar
    4096e000-4097c000 r--s 00000000 03:03 890484
    /usr/local/jakarta-tomcat-4.0.4/common/lib/jboss-j2ee.
    ar
    4097c000-40996000 r--s 00000000 03:03 890485
    /usr/local/jakarta-tomcat-4.0.4/common/lib/jaas.jar
    40996000-409a0000 r--s 00000000 03:03 890486
    /usr/local/jakarta-tomcat-4.0.4/common/lib/jbosssx-cli
    nt.jar
    409a0000-409a6000 r--s 00000000 03:03 890487
    /usr/local/jakarta-tomcat-4.0.4/common/lib/jnp-client.
    ar
    409a6000-40d10000 r--s 00000000 03:03 890488
    /usr/local/jakarta-tomcat-4.0.4/common/lib/jt400_3.0.j
    r
    40d10000-40d37000 r--s 00000000 03:03 890489
    /usr/local/jakarta-tomcat-4.0.4/common/lib/log4j.jar
    40d37000-423af000 r--s 00000000 03:03 69634
    /usr/local/j2sdk1.4.0/jre/lib/rt.jar
    423f1000-42408000 r--s 00000000 03:03 69566
    /usr/local/j2sdk1.4.0/jre/lib/sunrsasign.jar
    42408000-42476000 r--s 00000000 03:03 69568
    /usr/local/j2sdk1.4.0/jre/lib/jsse.jar
    42476000-42489000 r--s 00000000 03:03 69567
    /usr/local/j2sdk1.4.0/jre/lib/jce.jar
    42489000-4270a000 r--s 00000000 03:03 69632
    /usr/local/j2sdk1.4.0/jre/lib/charsets.jar
    447b2000-447b3000 r--p 00000000 03:03 33104
    /usr/lib/locale/en_US/LC_MEASUREMENT
    447b3000-447b4000 r--p 00000000 03:03 33102
    /usr/lib/locale/en_US/LC_TELEPHONE
    447b4000-447b5000 r--p 00000000 03:03 33103
    /usr/lib/locale/en_US/LC_ADDRESS
    447b5000-447b6000 r--p 00000000 03:03 33100
    /usr/lib/locale/en_US/LC_NAME
    447b6000-447b7000 r--p 00000000 03:03 33109
    /usr/lib/locale/en_US/LC_PAPER
    447b7000-447b8000 r--p 00000000 03:03 459106
    /usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
    447b8000-447b9000 r--p 00000000 03:03 33110
    /usr/lib/locale/en_US/LC_MONETARY
    447b9000-447bf000 r--p 00000000 03:03 33107
    /usr/lib/locale/en_US/LC_COLLATE
    447bf000-447c0000 r--p 00000000 03:03 33101
    /usr/lib/locale/en_US/LC_TIME
    4c840000-4c841000 r--p 00000000 03:03 33105
    /usr/lib/locale/en_US/LC_NUMERIC
    4c841000-4c85c000 r--p 00000000 03:03 33108
    /usr/lib/locale/en_US/LC_CTYPE
    4c85c000-4c85e000 r--s 00000000 03:03 36766
    /usr/local/j2sdk1.4.0/jre/lib/ext/dnsns.jar
    4c85e000-4c866000 r--s 00000000 03:03 890421
    /usr/local/jakarta-tomcat-4.0.4/server/lib/jakarta-reg
    xp-1.2.jar
    4c866000-4c867000 r--s 00000000 03:03 890422
    /usr/local/jakarta-tomcat-4.0.4/server/lib/servlets-co
    mon.jar
    4c867000-4c871000 r-xp 00000000 03:03 885148
    /lib/libnss_compat-2.2.3.so
    4c871000-4c873000 rw-p 00009000 03:03 885148
    /lib/libnss_compat-2.2.3.so
    4c89e000-4c8bb000 r--s 00000000 03:03 36765
    /usr/local/j2sdk1.4.0/jre/lib/ext/sunjce_provider.jar
    4c8bb000-4c95e000 r--s 00000000 03:03 36767
    /usr/local/j2sdk1.4.0/jre/lib/ext/localedata.jar
    4c95e000-4c96c000 r--s 00000000 03:03 36768
    /usr/local/j2sdk1.4.0/jre/lib/ext/ldapsec.jar
    4c96c000-4ce06000 r--s 00000000 03:03 298906
    /usr/local/j2sdk1.4.0/lib/tools.jar
    4ce06000-4ce0c000 r--s 00000000 03:03 890423
    /usr/local/jakarta-tomcat-4.0.4/server/lib/commons-log
    ing.jar
    4ce0c000-4ce0e000 r--s 00000000 03:03 890424
    /usr/local/jakarta-tomcat-4.0.4/server/lib/servlets-in
    oker.jar
    4ce0e000-4ce11000 r--s 00000000 03:03 890425
    /usr/local/jakarta-tomcat-4.0.4/server/lib/servlets-ma
    ager.jar
    4ce11000-4ce19000 r--s 00000000 03:03 890426
    /usr/local/jakarta-tomcat-4.0.4/server/lib/warp.jar
    4ce19000-4ceab000 r--s 00000000 03:03 890427
    /usr/local/jakarta-tomcat-4.0.4/server/lib/catalina.ja
    4ceab000-4ceb4000 r--s 00000000 03:03 890428
    /usr/local/jakarta-tomcat-4.0.4/server/lib/tomcat-http
    1.jar
    4ceb4000-4ceb9000 r--s 00000000 03:03 890429
    /usr/local/jakarta-tomcat-4.0.4/server/lib/servlets-de
    ault.jar
    4ceb9000-4cec9000 r--s 00000000 03:03 890430
    /usr/local/jakarta-tomcat-4.0.4/server/lib/tomcat-ajp.
    ar
    4cec9000-4ceed000 r--s 00000000 03:03 890431
    /usr/local/jakarta-tomcat-4.0.4/server/lib/tomcat-util
    jar
    4ceed000-4cefb000 r--s 00000000 03:03 890432
    /usr/local/jakarta-tomcat-4.0.4/server/lib/tomcat-coyo
    e.jar
    4cefb000-4cf01000 r--s 00000000 03:03 890434
    /usr/local/jakarta-tomcat-4.0.4/server/lib/servlets-we
    dav.jar
    4cf01000-4cf13000 r-xp 00000000 03:03 69548
    /usr/local/j2sdk1.4.0/jre/lib/i386/libnet.so
    4cf13000-4cf14000 rw-p 00011000 03:03 69548
    /usr/local/j2sdk1.4.0/jre/lib/i386/libnet.so
    4cf14000-4cf25000 r--s 00000000 03:03 890458
    /usr/local/jakarta-tomcat-4.0.4/lib/jasper-runtime.jar
    4cf25000-4cf59000 r--s 00000000 03:03 890459
    /usr/local/jakarta-tomcat-4.0.4/lib/jasper-compiler.ja
    4cf59000-4cf5e000 r--s 00000000 03:03 890460
    /usr/local/jakarta-tomcat-4.0.4/lib/naming-factory.jar
    4cf5e000-4cf5f000 r--s 00000000 03:03 789670
    /usr/local/jakarta-tomcat-4.0.4/temp/jar_cache46958.tm
    (deleted)
    4cf5f000-4cf60000 r--s 00000000 03:03 789673
    /usr/local/jakarta-tomcat-4.0.4/temp/jar_cache46959.tm
    (deleted)
    4cf60000-4cf63000 r--s 00000000 03:03 430785
    /usr/local/jakarta-tomcat-4.0.4/webapps/reporter/WEB-I
    F/lib/arenajobs.jar
    4cf63000-4d067000 r--s 00000000 03:03 430786
    /usr/local/jakarta-tomcat-4.0.4/webapps/reporter/WEB-I
    F/lib/arenatrading.jar
    4d067000-4d08c000 r--s 00000000 03:03 430787
    /usr/local/jakarta-tomcat-4.0.4/webapps/reporter/WEB-I
    F/lib/quartz.jar
    4d08c000-4d08e000 r--s 00000000 03:03 430788
    /usr/local/jakarta-tomcat-4.0.4/webapps/reporter/WEB-I
    F/lib/scheduler.jar
    4d08e000-4d091000 r--s 00000000 03:03 790391
    /usr/local/jakarta-tomcat-4.0.4/temp/jar_cache46960.tm
    (deleted)
    4d091000-4d195000 r--s 00000000 03:03 790392
    /usr/local/jakarta-tomcat-4.0.4/temp/jar_cache46961.tm
    (deleted)
    4d195000-4d1ba000 r--s 00000000 03:03 790394
    /usr/local/jakarta-tomcat-4.0.4/temp/jar_cache46962.tm
    (deleted)
    4d1ba000-4d1bc000 r--s 00000000 03:03 790395
    /usr/local/jakarta-tomcat-4.0.4/temp/jar_cache46963.tm
    (deleted)
    4d1bc000-4d1bd000 r-xp 00000000 03:03 69559
    /usr/local/j2sdk1.4.0/jre/lib/i386/librmi.so
    4d1bd000-4d1be000 rw-p 00000000 03:03 69559
    /usr/local/j2sdk1.4.0/jre/lib/i386/librmi.so
    4d1be000-4d1c2000 r-xp 00000000 03:03 69558
    /usr/local/j2sdk1.4.0/jre/lib/i386/libioser12.so
    4d1c2000-4d1c3000 rw-p 00003000 03:03 69558
    /usr/local/j2sdk1.4.0/jre/lib/i386/libioser12.so
    4d1c9000-4d1d2000 r-xp 00000000 03:03 885155
    /lib/libnss_files-2.2.3.so
    4d1d2000-4d1d3000 rw-p 00008000 03:03 885155
    /lib/libnss_files-2.2.3.so
    Local Time = Tue Oct 8 18:57:29 2002
    Elapsed Time = 32640
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002D3
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed
    mode)
    # An error report file has been saved as
    hs_err_pid26505.log.
    # Please refer to the file for further information.

  • JVM Seg Fault With Multithreaded JNI Code

    Hello all:
    I'm having a problem with a multi threaded application. The application is used to bridge an exsisting C++ application with an exsisting Java application so I went with a JNI implementation. After I completed my implementation, I found that the bridge would crash after a few hours (or a few million JNI calls). At first I thought there was a memory leak but my memory usage was not going up (according to the task manager) and the heap was staying around 3 MB (according to a third party tool). I finally figured out that the problem was my JNI code. The JNI code is all in a wrapper DLL (built with MinGW) that four other DLL's call dynamically. So I made a test app to test the wrapper dll. The test app is a simple two threaded application that creates a java object and deletes the java object. CODE:
    #include <process.h>
    #include "JNIUtilityInterface.h"  // Link to the JNI dll (GetProcAdress, etc.)
    void test(void * arg) {   
       for (int i = 0; i < 4000000; i++) {
          jobject jTest = createObjectByClass(NULL, "JNITest", "()V");
          deleteObject(jTest);
       int num = (int)arg;
       printf("done - %d\n", num);              
    int main(int argc, char *argv[])
       clearJNIUtilityDll();
       initJNIUtilityDll();
       invokeJVM();         
       for (int i = 0; i < 3; i++) {
          if (i == 0) {
             _beginthread(test, 0, (void*)i);
          } else {           
             _beginthread(test, 0, (void*)i);
       Sleep(240000);
       exitJNIUtilityDll();
       return 0;
    }createObjectByClass code:
    jobject JNIUtility_API createObjectByClass(jboolean * hasException, 
                                               const char * className, 
                                               const char * descriptor, va_list args) {                                                                                                                    
       jclass clazz;
       jmethodID mid;
       jobject obj;
       JNIEnv * env;
       env = getEnv();
       if (env != NULL) {  
          if (env->EnsureLocalCapacity(2) == JNI_OK) {
             jclass clazz = env->FindClass(className);                                                
             jmethodID mid = env->GetMethodID(clazz, "<init>", descriptor);       
             if (mid) {
                obj = env->NewObjectV(clazz, mid, args);                                             
             env->DeleteLocalRef(clazz);          
          if (hasException) {
             *hasException = env->ExceptionCheck();
       env = NULL;
       return obj;
    } getEnv code:
    JNIEnv * getEnv() {          
       JNIEnv * env;
       jint result;
       result = jvm->GetEnv((void **)&env, JNI_VERSION_1_4);
       if (result == JNI_EDETACHED) {
          if (jvm->AttachCurrentThreadAsDaemon((void **)&env, NULL) == JNI_OK) {
             //printf("Attached current thread!\n");
       return env;
    }deleteObject code:
    void JNIUtility_API deleteObject(jobject obj) {
       JNIEnv * env;
       env = getEnv();
       if (env != NULL) {                                                                                                                                               
          env->DeleteLocalRef(obj);
       env = NULL;                             
    }The other code is not important since I know this is where the seg fault is happening. Again this is just test code but when I run this code with only one thread, it works fine (with the 4000000 for loop). The JavaVM is globally cached as well.
    If anybody nows how to properly run two or more native threads that use JNI methods, please let me know or if you have any tips, that will be good too! If you want any more code to try for yourself, I'm willing to send it to you.
    Thanks!!

    Nevermind, I found out that if you build you code using jni.h from 1.5.0_06 and run you code using 1.5.0_04 JRE, you run into problems with multi threading! Don't do this because it leads to headaches and high blood pressure :)

  • Project stock exist in a plant and WBS but with different company code

    Hello,
    As I know I can not create a PO in company A, but was assigned to a WBS maintained in company code B. The system will check if the WBS getting the same company code with the PO, and pop up  the error message if the company code was differect.
    But seems the project stock could exists in a plant  but assign to  WBS was maintained with different company code. For example, A material stock was in plant A assigned to company code A, and it is also assigned to WBS belong to company code B.
    Any one know it is correct?
    Thanks!

    I knew crossing company code to assign WBS element to PO is not allowed since i got the error message, and I think it's reasonable, cause the expense from the project PO should post to the same company code through the WBS element.
    But why for  the inventory crossing company code is allowed?  The stock in plant A belong to company code A, was assigned to WBS element B belong to company code B. That means the inventory is in the GL balance of company A but under the profit center belong to company B.  How to understand it? I think it's wrong

  • When i try to download ebooks to my nook it will not let me and comes up with thw error code CE_COPY_NOT_Allowed- not able to copy this book. Please help.

    Has anyone experienced this problem and have come to a solution this never happened on my old computer?

    It sounds as though your PC is infected with fake antivirus software. The detailed cleanup instructions vary depending on which fake AV you have. However, as a first step, try this:
    Download the following on a different PC, copy them to a USB flash drive or CD, and then run them on the infected PC:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/mbam.php
    SUPERAntiSpyware : http://www.superantispyware.com/
    Hopefully these will get you back online safely. If not, search for clean-up instructions for the specific malware.

  • Cant build source. Seg fault with echo 'm4_define([m4_require SOLVED

    building always gives me an error like
    echo 'm4_define([m4_require_silent_probe], [-])'
         15470 Segmentation fault      | autom4te --language Autoconf-without-aclocal-m4 -......
    aura >>= Building `emprint-git`...
    aura >>= Well, building `emprint-git` failed.
    aura >>= Dumping makepkg output in 3.. 2.. 1..
    ==> Making package: emprint-git 0.1.0.67.a0886e1-1 (Tue Aug 5 01:22:52 CDT 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Cloning emprint git repo...
    Cloning into bare repository '/var/cache/pacman/pkg/emprint-git9157/emprint-git/emprint'...
    ==> Validating source files with sha256sums...
    emprint ... Skipped
    ==> Extracting sources...
    -> Creating working copy of emprint git repo...
    Cloning into 'emprint'...
    done.
    ==> Starting pkgver()...
    ==> Starting build()...
    sh: line 1: 15469 Done echo 'm4_define([m4_require_silent_probe], [-])'
    15470 Segmentation fault | autom4te --language Autoconf-without-aclocal-m4 - /usr/share/aclocal-1.14/internal/ac-config-macro-dirs.m4 '/usr/share/aclocal/argz.m4' '/usr/share/aclocal/libtool.m4' '/usr/share/aclocal/ltdl.m4' '/usr/share/aclocal/ltoptions.m4' '/usr/share/aclocal/ltsugar.m4' '/usr/share/aclocal/ltversion.m4' '/usr/share/aclocal/lt~obsolete.m4' '/usr/share/aclocal/pkg.m4' '/usr/share/aclocal-1.14/amversion.m4' '/usr/share/aclocal-1.14/auxdir.m4' '/usr/share/aclocal-1.14/cond.m4' '/usr/share/aclocal-1.14/depend.m4' '/usr/share/aclocal-1.14/depout.m4' '/usr/share/aclocal-1.14/init.m4' '/usr/share/aclocal-1.14/install-sh.m4' '/usr/share/aclocal-1.14/lead-dot.m4' '/usr/share/aclocal-1.14/make.m4' '/usr/share/aclocal-1.14/missing.m4' '/usr/share/aclocal-1.14/options.m4' '/usr/share/aclocal-1.14/prog-cc-c-o.m4' '/usr/share/aclocal-1.14/runlog.m4' '/usr/share/aclocal-1.14/sanity.m4' '/usr/share/aclocal-1.14/silent.m4' '/usr/share/aclocal-1.14/strip.m4' '/usr/share/aclocal-1.14/substnot.m4' '/usr/share/aclocal-1.14/tar.m4' 'm4/ac_attribute.m4' 'm4/efl_path_max.m4' --trace='AC_DEFUN:$f::$n::${::}%' --trace='AC_DEFUN_ONCE:$f::$n::${::}%' --trace='AU_DEFUN:$f::$n::${::}%' --trace='_AM_AUTOCONF_VERSION:$f::$n::${::}%' --trace='AC_CONFIG_MACRO_DIR_TRACE:$f::$n::${::}%' --trace='AC_CONFIG_MACRO_DIR:$f::$n::${::}%' --trace='_AM_CONFIG_MACRO_DIRS:$f::$n::${::}%' --trace='LTSUGAR_VERSION:$f::$n' --trace='AM_PROG_NM:$f::$n' --trace='_LT_AC_SYS_LIBPATH_AIX:$f::$n' --trace='AC_LIBTOOL_SYS_OLD_ARCHIVE:$f::$n' --trace='_LT_AC_LANG_CXX_CONFIG:$f::$n' --trace='AC_LIBTOOL_DLOPEN_SELF:$f::$n' --trace='AC_LIBTOOL_OBJDIR:$f::$n' --trace='AC_LIBTOOL_CXX:$f::$n' --trace='gl_FUNC_ARGZ:$f::$n' --trace='_AM_MANGLE_OPTION:$f::$n' --trace='AC_CHECK_LIBM:$f::$n' --trace='_LT_AC_FILE_LTDLL_C:$f::$n' --trace='AC_LTDL_OBJDIR:$f::$n' --trace='_AC_AM_CONFIG_HEADER_HOOK:$f::$n' --trace='LT_WITH_LTDL:$f::$n' --trace='_LT_PROG_F77:$f::$n' --trace='_LT_AC_LANG_GCJ:$f::$n' --trace='AC_DISABLE_FAST_INSTALL:$f::$n' --trace='LT_LIB_M:$f::$n' --trace='_LT_LINKER_OPTION:$f::$n' --trace='AM_ENABLE_STATIC:$f::$n' --trace='LT_SYS_DLSEARCH_PATH:$f::$n' --trace='AC_LTDL_DLLIB:$f::$n' --trace='AM_DISABLE_STATIC:$f::$n' --trace='AM_SUBST_NOTMAKE:$f::$n' --trace='LT_SYS_DLOPEN_SELF:$f::$n' --trace='AC_LTDL_SYS_DLOPEN_DEPLIBS:$f::$n' --trace='AC_LTDL_DLSYM_USCORE:$f::$n' --trace='LTOBSOLETE_VERSION:$f::$n' --trace='gl_PREREQ_ARGZ:$f::$n' --trace='LT_PROG_RC:$f::$n' --trace='PKG_PROG_PKG_CONFIG:$f::$n' --trace='AC_LIBTOOL_COMPILER_OPTION:$f::$n' --trace='LT_SYS_SYMBOL_USCORE:$f::$n' --trace='AM_CONDITIONAL:$f::$n' --trace='AC_LIBTOOL_LINKER_OPTION:$f::$n' --trace='AC_LIBTOOL_SYS_HARD_LINK_LOCKS:$f::$n' --trace='AC_LIBTOOL_DLOPEN:$f::$n' --trace='AC_LIBTOOL_SYS_LIB_STRIP:$f::$n' --trace='LT_PATH_LD:$f::$n' --trace='_LT_LINKER_BOILERPLATE:$f::$n' --trace='LT_FUNC_DLSYM_USCORE:$f::$n' --trace='_LT_AC_LANG_F77:$f::$n' --trace='AM_MISSING_PROG:$f::$n' --trace='_AM_SET_OPTIONS:$f::$n' --trace='AC_C___ATTRIBUTE__:$f::$n' --trace='_AM_SET_OPTION:$f::$n' --trace='_LT_AC_TRY_DLOPEN_SELF:$f::$n' --trace='_LT_PROG_FC:$f::$n' --trace='AM_SET_DEPDIR:$f::$n' --trace='_AC_PROG_LIBTOOL:$f::$n' --trace='LT_OUTPUT:$f::$n' --trace='AC_ENABLE_SHARED:$f::$n' --trace='_AM_PROG_CC_C_O:$f::$n' --trace='AM_PROG_LIBTOOL:$f::$n' --trace='AC_LIBLTDL_CONVENIENCE:$f::$n' --trace='PKG_CHECK_VAR:$f::$n' --trace='AC_PROG_NM:$f::$n' --trace='AC_LIBTOOL_RC:$f::$n' --trace='AM_DISABLE_SHARED:$f::$n' --trace='_LT_AC_PROG_CXXCPP:$f::$n' --trace='AM_AUTOMAKE_VERSION:$f::$n' --trace='AC_LIBTOOL_F77:$f::$n' --trace='_LT_AC_LANG_GCJ_CONFIG:$f::$n' --trace='LT_AC_PROG_GCJ:$f::$n' --trace='AC_LIBTOOL_PROG_COMPILER_PIC:$f::$n' --trace='AM_MAKE_INCLUDE:$f::$n' --trace='AM_SANITY_CHECK:$f::$n' --trace='AC_LTDL_SHLIBPATH:$f::$n' --trace='_LT_AC_CHECK_DLFCN:$f::$n' --trace='_AM_SUBST_NOTMAKE:$f::$n' --trace='AM_RUN_LOG:$f::$n' --trace='AC_PROG_EGREP:$f::$n' --trace='_LT_AC_PROG_ECHO_BACKSLASH:$f::$n' --trace='PKG_CHECK_EXISTS:$f::$n' --trace='_PKG_SHORT_ERRORS_SUPPORTED:$f::$n' --trace='LT_PROG_GCJ:$f::$n' --trace='AC_LIBTOOL_GCJ:$f::$n' --trace='AC_LTDL_SHLIBEXT:$f::$n' --trace='AC_LTDL_ENABLE_INSTALL:$f::$n' --trace='AC_LIBTOOL_FC:$f::$n' --trace='AM_PROG_INSTALL_STRIP:$f::$n' --trace='AC_WITH_LTDL:$f::$n' --trace='AC_LIBTOOL_SETUP:$f::$n' --trace='_LT_AC_TAGVAR:$f::$n' --trace='AC_LIBTOOL_PROG_LD_SHLIBS:$f::$n' --trace='_LT_AC_LANG_RC_CONFIG:$f::$n' --trace='AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH:$f::$n' --trace='_LT_COMPILER_BOILERPLATE:$f::$n' --trace='AC_DISABLE_SHARED:$f::$n' --trace='AC_LIBTOOL_PICMODE:$f::$n' --trace='LTOPTIONS_VERSION:$f::$n' --trace='EFL_CHECK_PATH_MAX:$f::$n' --trace='AC_LTDL_PREOPEN:$f::$n' --trace='AC_LIBTOOL_LANG_CXX_CONFIG:$f::$n' --trace='AM_SET_LEADING_DOT:$f::$n' --trace='LT_SYS_MODULE_PATH:$f::$n' --trace='LTDL_CONVENIENCE:$f::$n' --trace='AM_DEP_TRACK:$f::$n' --trace='AC_PATH_TOOL_PREFIX:$f::$n' --trace='_LT_LIBOBJ:$f::$n' --trace='_LT_PREPARE_SED_QUOTE_VARS:$f::$n' --trace='AC_LIB_LTDL:$f::$n' --trace='AC_DEPLIBS_CHECK_METHOD:$f::$n' --trace='_LT_AC_LOCK:$f::$n' --trace='_LT_PROG_LTMAIN:$f::$n' --trace='LT_LANG:$f::$n' --trace='AM_OUTPUT_DEPENDENCY_COMMANDS:$f::$n' --trace='PKG_NOARCH_INSTALLDIR:$f::$n' --trace='AC_LIBTOOL_LANG_F77_CONFIG:$f::$n' --trace='PKG_INSTALLDIR:$f::$n' --trace='LT_AC_PROG_SED:$f::$n' --trace='AC_LIBTOOL_PROG_COMPILER_NO_RTTI:$f::$n' --trace='_AM_DEPENDENCIES:$f::$n' --trace='AC_LIBTOOL_SYS_MAX_CMD_LEN:$f::$n' --trace='AC_LIBTOOL_LANG_GCJ_CONFIG:$f::$n' --trace='_LT_AC_LANG_F77_CONFIG:$f::$n' --trace='_LT_AC_LANG_CXX:$f::$n' --trace='_LTDL_SETUP:$f::$n' --trace='LT_INIT:$f::$n' --trace='AM_AUX_DIR_EXPAND:$f::$n' --trace='_LT_PROG_ECHO_BACKSLASH:$f::$n' --trace='_LT_REQUIRED_DARWIN_CHECKS:$f::$n' --trace='LT_SYS_MODULE_EXT:$f::$n' --trace='AC_PROG_LD_RELOAD_FLAG:$f::$n' --trace='_AM_OUTPUT_DEPENDENCY_COMMANDS:$f::$n' --trace='LT_LIB_DLLOAD:$f::$n' --trace='_LT_AC_TAGCONFIG:$f::$n' --trace='AC_LIBTOOL_SYS_DYNAMIC_LINKER:$f::$n' --trace='LTVERSION_VERSION:$f::$n' --trace='AM_SET_CURRENT_AUTOMAKE_VERSION:$f::$n' --trace='LT_CONFIG_LTDL_DIR:$f::$n' --trace='AM_ENABLE_SHARED:$f::$n' --trace='AC_LIBTOOL_POSTDEP_PREDEP:$f::$n' --trace='AC_ENABLE_STATIC:$f::$n' --trace='AC_LIBTOOL_CONFIG:$f::$n' --trace='AC_LIBLTDL_INSTALLABLE:$f::$n' --trace='AM_SILENT_RULES:$f::$n' --trace='AC_PROG_LD_GNU:$f::$n' --trace='PKG_CHECK_MODULES:$f::$n' --trace='LT_PATH_NM:$f::$n' --trace='_LT_COMPILER_OPTION:$f::$n' --trace='AM_INIT_AUTOMAKE:$f::$n' --trace='_LT_AC_SYS_COMPILER:$f::$n' --trace='AC_LTDL_SYSSEARCHPATH:$f::$n' --trace='AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE:$f::$n' --trace='_LT_WITH_SYSROOT:$f::$n' --trace='LT_SUPPORTED_TAG:$f::$n' --trace='_LT_PROG_CXX:$f::$n' --trace='AC_LTDL_SYMBOL_USCORE:$f::$n' --trace='AC_LIBTOOL_WIN32_DLL:$f::$n' --trace='_LT_AC_SHELL_INIT:$f::$n' --trace='AC_LIBTOOL_LANG_RC_CONFIG:$f::$n' --trace='LT_PROG_GO:$f::$n' --trace='_LT_PATH_TOOL_PREFIX:$f::$n' --trace='AC_LIBTOOL_LANG_C_CONFIG:$f::$n' --trace='LT_AC_PROG_RC:$f::$n' --trace='AC_PROG_LD:$f::$n' --trace='_LT_CC_BASENAME:$f::$n' --trace='_LT_AC_LANG_C_CONFIG:$f::$n' --trace='AM_PROG_INSTALL_SH:$f::$n' --trace='LTDL_INIT:$f::$n' --trace='LT_CMD_MAX_LEN:$f::$n' --trace='AM_PROG_LD:$f::$n' --trace='AM_MISSING_HAS_RUN:$f::$n' --trace='AM_PROG_CC_C_O:$f::$n' --trace='_AM_IF_OPTION:$f::$n' --trace='AC_DISABLE_STATIC:$f::$n' --trace='AC_LIBTOOL_PROG_CC_C_O:$f::$n' --trace='LT_AC_PROG_EGREP:$f::$n' --trace='LT_SYS_DLOPEN_DEPLIBS:$f::$n' --trace='AC_PROG_LIBTOOL:$f::$n' --trace='LTDL_INSTALLABLE:$f::$n' --trace='AC_PATH_MAGIC:$f::$n' --trace='_AM_PROG_TAR:$f::$n' --trace='AC_ENABLE_FAST_INSTALL:$f::$n' configure.ac
    aclocal: error: echo failed with exit status: 139
    ==> ERROR: A failure occurred in build().
    Aborting...
    Running aclocal...
    aura >>= Building `lightmediascanner`...
    aura >>= Well, building `lightmediascanner` failed.
    aura >>= Dumping makepkg output in 3.. 2.. 1..
    ==> Making package: lightmediascanner 0.4.5.0-1 (Tue Aug 5 01:22:58 CDT 2014)
    ==> WARNING: Using a PKGBUILD without a package() function is deprecated.
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Downloading lightmediascanner-0.4.5.0.tar.bz2...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: packages.profusion.mobi
    ==> ERROR: Failure while downloading lightmediascanner-0.4.5.0.tar.bz2
    Aborting...
    aura >>= Building `enjoy-git`...
    aura >>= Well, building `enjoy-git` failed.
    aura >>= Dumping makepkg output in 3.. 2.. 1..
    ==> Making package: enjoy-git 0.1.0.205.aa8fec6-1 (Tue Aug 5 01:23:13 CDT 2014)
    ==> Checking runtime dependencies...
    ==> Missing dependencies:
    -> lightmediascanner
    ==> Checking buildtime dependencies...
    ==> ERROR: Could not resolve all dependencies.
    aura >>= Building `enlightenment-git`...
    aura >>= Well, building `enlightenment-git` failed.
    aura >>= Dumping makepkg output in 3.. 2.. 1..
    ==> Making package: enlightenment-git 0.19.0.18507.1a321b8-1 (Tue Aug 5 01:23:17 CDT 2014)
    ==> Checking runtime dependencies...
    ==> Missing dependencies:
    -> elementary-git
    ==> Checking buildtime dependencies...
    ==> ERROR: Could not resolve all dependencies.
    aura >>= Building `eperiodique`...
    loading packages...
    resolving dependencies...
    looking for inter-conflicts...
    Packages (1): eperiodique-0.5-1
    Total Installed Size: 10.80 MiB
    :: Proceed with installation? [Y/n]
    (1/1) checking keys in keyring [#######################################################################################] 100%
    (1/1) checking package integrity [#######################################################################################] 100%
    (1/1) loading package files [#######################################################################################] 100%
    (1/1) checking for file conflicts [#######################################################################################] 100%
    (1/1) checking available disk space [#######################################################################################] 100%
    (1/1) installing eperiodique [#######################################################################################] 100%
    aura >>= Building `ephoto-git`...
    aura >>= Well, building `ephoto-git` failed.
    aura >>= Dumping makepkg output in 3.. 2.. 1..
    ==> Making package: ephoto-git 0.1.1.475.f1df50a-1 (Tue Aug 5 01:23:42 CDT 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Cloning ephoto git repo...
    Cloning into bare repository '/var/cache/pacman/pkg/ephoto-git9157/ephoto-git/ephoto'...
    ==> Validating source files with sha256sums...
    ephoto ... Skipped
    ==> Extracting sources...
    -> Creating working copy of ephoto git repo...
    Cloning into 'ephoto'...
    done.
    ==> Starting pkgver()...
    ==> Updated version: ephoto-git 0.1.1.482.9cae696-1
    ==> Starting build()...
    /usr/bin/autopoint: line 314: 18844 Done echo "AC_PREREQ([2.69])"
    18845 Segmentation fault | "$AUTOM4TE" --no-cache --language=Autoconf-without-aclocal-m4 - 2>&1
    sh: line 1: 19725 Done echo 'm4_define([m4_require_silent_probe], [-])'
    19726 Segmentation fault | autom4te --language Autoconf-without-aclocal-m4 - /usr/share/aclocal-1.14/internal/ac-config-macro-dirs.m4 '/usr/share/aclocal/argz.m4' '/usr/share/aclocal/libtool.m4' '/usr/share/aclocal/ltdl.m4' '/usr/share/aclocal/ltoptions.m4' '/usr/share/aclocal/ltsugar.m4' '/usr/share/aclocal/ltversion.m4' '/usr/share/aclocal/lt~obsolete.m4' '/usr/share/aclocal/pkg.m4' '/usr/share/aclocal-1.14/amversion.m4' '/usr/share/aclocal-1.14/auxdir.m4' '/usr/share/aclocal-1.14/cond.m4' '/usr/share/aclocal-1.14/depend.m4' '/usr/share/aclocal-1.14/depout.m4' '/usr/share/aclocal-1.14/init.m4' '/usr/share/aclocal-1.14/install-sh.m4' '/usr/share/aclocal-1.14/lead-dot.m4' '/usr/share/aclocal-1.14/make.m4' '/usr/share/aclocal-1.14/missing.m4' '/usr/share/aclocal-1.14/mkdirp.m4' '/usr/share/aclocal-1.14/options.m4' '/usr/share/aclocal-1.14/prog-cc-c-o.m4' '/usr/share/aclocal-1.14/runlog.m4' '/usr/share/aclocal-1.14/sanity.m4' '/usr/share/aclocal-1.14/silent.m4' '/usr/share/aclocal-1.14/strip.m4' '/usr/share/aclocal-1.14/substnot.m4' '/usr/share/aclocal-1.14/tar.m4' 'm4/ac_attribute.m4' 'm4/codeset.m4' 'm4/efl_compiler_flag.m4' 'm4/gettext.m4' 'm4/glibc2.m4' 'm4/glibc21.m4' 'm4/iconv.m4' 'm4/intdiv0.m4' 'm4/intl.m4' 'm4/intlmacosx.m4' 'm4/intmax.m4' 'm4/inttypes-pri.m4' 'm4/inttypes_h.m4' 'm4/lcmessage.m4' 'm4/lib-ld.m4' 'm4/lib-link.m4' 'm4/lib-prefix.m4' 'm4/lock.m4' 'm4/longlong.m4' 'm4/nls.m4' 'm4/po.m4' 'm4/printf-posix.m4' 'm4/progtest.m4' 'm4/size_max.m4' 'm4/stdint_h.m4' 'm4/uintmax_t.m4' 'm4/visibility.m4' 'm4/wchar_t.m4' 'm4/wint_t.m4' 'm4/xsize.m4' --trace='AC_DEFUN:$f::$n::${::}%' --trace='AC_DEFUN_ONCE:$f::$n::${::}%' --trace='AU_DEFUN:$f::$n::${::}%' --trace='_AM_AUTOCONF_VERSION:$f::$n::${::}%' --trace='AC_CONFIG_MACRO_DIR_TRACE:$f::$n::${::}%' --trace='AC_CONFIG_MACRO_DIR:$f::$n::${::}%' --trace='_AM_CONFIG_MACRO_DIRS:$f::$n::${::}%' --trace='AC_LIBTOOL_PICMODE:$f::$n' --trace='AM_ICONV_LINK:$f::$n' --trace='AC_LIBTOOL_SYS_LIB_STRIP:$f::$n' --trace='LT_FUNC_DLSYM_USCORE:$f::$n' --trace='AC_LIBTOOL_CONFIG:$f::$n' --trace='_LT_AC_LANG_F77_CONFIG:$f::$n' --trace='AC_LIB_RPATH:$f::$n' --trace='LTSUGAR_VERSION:$f::$n' --trace='_LT_AC_SYS_COMPILER:$f::$n' --trace='LT_CONFIG_LTDL_DIR:$f::$n' --trace='AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH:$f::$n' --trace='AC_LIB_PREPARE_MULTILIB:$f::$n' --trace='AC_LIB_PROG_LD_GNU:$f::$n' --trace='AC_TYPE_LONG_LONG_INT:$f::$n' --trace='gt_INTL_SUBDIR_CORE:$f::$n' --trace='gl_LOCK_BODY:$f::$n' --trace='gt_PRINTF_POSIX:$f::$n' --trace='AC_LTDL_SHLIBPATH:$f::$n' --trace='LT_WITH_LTDL:$f::$n' --trace='AC_LIBTOOL_LANG_RC_CONFIG:$f::$n' --trace='_LT_PROG_FC:$f::$n' --trace='AC_PROG_NM:$f::$n' --trace='AC_LTDL_PREOPEN:$f::$n' --trace='_AC_AM_CONFIG_HEADER_HOOK:$f::$n' --trace='_LT_AC_LANG_CXX:$f::$n' --trace='LT_PROG_GCJ:$f::$n' --trace='_LT_REQUIRED_DARWIN_CHECKS:$f::$n' --trace='_AM_MANGLE_OPTION:$f::$n' --trace='AM_XGETTEXT_OPTION:$f::$n' --trace='_LT_AC_PROG_CXXCPP:$f::$n' --trace='AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE:$f::$n' --trace='AC_LIBTOOL_DLOPEN_SELF:$f::$n' --trace='AC_LIB_PROG_LD:$f::$n' --trace='AM_GNU_GETTEXT_VERSION:$f::$n' --trace='AC_LTDL_OBJDIR:$f::$n' --trace='AC_LIBTOOL_WIN32_DLL:$f::$n' --trace='AC_LIBTOOL_COMPILER_OPTION:$f::$n' --trace='AC_LIBTOOL_SETUP:$f::$n' --trace='_LT_AC_LANG_GCJ_CONFIG:$f::$n' --trace='LTDL_CONVENIENCE:$f::$n' --trace='LT_SYS_MODULE_PATH:$f::$n' --trace='LTVERSION_VERSION:$f::$n' --trace='AM_CONDITIONAL:$f::$n' --trace='AC_TYPE_UNSIGNED_LONG_LONG_INT:$f::$n' --trace='AM_DEP_TRACK:$f::$n' --trace='AM_PO_SUBDIRS:$f::$n' --trace='AM_ICONV_LINKFLAGS_BODY:$f::$n' --trace='AM_XGETTEXT_OPTION_INIT:$f::$n' --trace='AM_SUBST_NOTMAKE:$f::$n' --trace='LT_AC_PROG_EGREP:$f::$n' --trace='AC_PROG_LD_GNU:$f::$n' --trace='gl_XSIZE:$f::$n' --trace='gt_INTTYPES_PRI:$f::$n' --trace='gt_LC_MESSAGES:$f::$n' --trace='AC_LIBTOOL_PROG_LD_SHLIBS:$f::$n' --trace='_LT_PROG_CXX:$f::$n' --trace='AC_LIBLTDL_CONVENIENCE:$f::$n' --trace='AM_PROG_INSTALL_STRIP:$f::$n' --trace='LTOBSOLETE_VERSION:$f::$n' --trace='AC_LIBTOOL_CXX:$f::$n' --trace='AM_PATH_PROG_WITH_TEST:$f::$n' --trace='AC_PATH_MAGIC:$f::$n' --trace='_LT_LIBOBJ:$f::$n' --trace='AC_PROG_LD:$f::$n' --trace='AM_SET_CURRENT_AUTOMAKE_VERSION:$f::$n' --trace='AM_SET_DEPDIR:$f::$n' --trace='EFL_COMPILER_FLAG:$f::$n' --trace='AC_LIBTOOL_PROG_COMPILER_PIC:$f::$n' --trace='AC_LIB_LINKFLAGS:$f::$n' --trace='_LT_AC_LANG_F77:$f::$n' --trace='AC_DISABLE_STATIC:$f::$n' --trace='LT_AC_PROG_SED:$f::$n' --trace='AM_AUX_DIR_EXPAND:$f::$n' --trace='_LT_LINKER_BOILERPLATE:$f::$n' --trace='gt_CHECK_DECL:$f::$n' --trace='AM_GNU_GETTEXT_NEED:$f::$n' --trace='AC_LIBTOOL_PROG_CC_C_O:$f::$n' --trace='AC_DISABLE_SHARED:$f::$n' --trace='_LT_AC_LOCK:$f::$n' --trace='AC_LIBTOOL_SYS_HARD_LINK_LOCKS:$f::$n' --trace='AC_LIBTOOL_LANG_F77_CONFIG:$f::$n' --trace='AC_LIBTOOL_SYS_MAX_CMD_LEN:$f::$n' --trace='AC_DISABLE_FAST_INSTALL:$f::$n' --trace='_AM_SET_OPTION:$f::$n' --trace='gl_FUNC_ARGZ:$f::$n' --trace='AC_LTDL_SYS_DLOPEN_DEPLIBS:$f::$n' --trace='AC_LIB_LINKFLAGS_BODY:$f::$n' --trace='AC_LIB_LTDL:$f::$n' --trace='_AM_DEPENDENCIES:$f::$n' --trace='AM_PROG_NM:$f::$n' --trace='AC_LTDL_SYSSEARCHPATH:$f::$n' --trace='gl_AC_HEADER_STDINT_H:$f::$n' --trace='_LT_CC_BASENAME:$f::$n' --trace='AC_LIB_PREFIX:$f::$n' --trace='_LT_PROG_F77:$f::$n' --trace='_LT_AC_TRY_DLOPEN_SELF:$f::$n' --trace='AM_INIT_AUTOMAKE:$f::$n' --trace='AC_DEPLIBS_CHECK_METHOD:$f::$n' --trace='AC_ENABLE_SHARED:$f::$n' --trace='_AC_TYPE_LONG_LONG_SNIPPET:$f::$n' --trace='AC_LIBTOOL_SYS_OLD_ARCHIVE:$f::$n' --trace='_LT_AC_LANG_RC_CONFIG:$f::$n' --trace='AM_SILENT_RULES:$f::$n' --trace='gl_PREREQ_ARGZ:$f::$n' --trace='LT_OUTPUT:$f::$n' --trace='AC_LIBTOOL_OBJDIR:$f::$n' --trace='LT_PATH_LD:$f::$n' --trace='LT_INIT:$f::$n' --trace='gl_AC_HEADER_INTTYPES_H:$f::$n' --trace='LT_SYS_SYMBOL_USCORE:$f::$n' --trace='_LT_AC_TAGCONFIG:$f::$n' --trace='PKG_CHECK_VAR:$f::$n' --trace='AC_PROG_LD_RELOAD_FLAG:$f::$n' --trace='AC_LIBTOOL_LINKER_OPTION:$f::$n' --trace='_LT_WITH_SYSROOT:$f::$n' --trace='_AM_SET_OPTIONS:$f::$n' --trace='AM_PROG_MKDIR_P:$f::$n' --trace='AC_LTDL_ENABLE_INSTALL:$f::$n' --trace='AC_LIB_LINKFLAGS_FROM_LIBS:$f::$n' --trace='AM_ENABLE_STATIC:$f::$n' --trace='AM_PROG_INSTALL_SH:$f::$n' --trace='gt_TYPE_WINT_T:$f::$n' --trace='_AM_PROG_CC_C_O:$f::$n' --trace='gt_INTDIV0:$f::$n' --trace='AC_LTDL_DLSYM_USCORE:$f::$n' --trace='AC_LTDL_SHLIBEXT:$f::$n' --trace='AC_PROG_EGREP:$f::$n' --trace='_LT_AC_LANG_CXX_CONFIG:$f::$n' --trace='AC_LIBTOOL_PROG_COMPILER_NO_RTTI:$f::$n' --trace='AM_INTL_SUBDIR:$f::$n' --trace='AC_LIBTOOL_LANG_GCJ_CONFIG:$f::$n' --trace='AC_LIB_WITH_FINAL_PREFIX:$f::$n' --trace='gl_LOCK_EARLY:$f::$n' --trace='AC_LIBTOOL_POSTDEP_PREDEP:$f::$n' --trace='LT_SYS_MODULE_EXT:$f::$n' --trace='gt_TYPE_WCHAR_T:$f::$n' --trace='AC_LIBTOOL_FC:$f::$n' --trace='LT_PROG_RC:$f::$n' --trace='LTDL_INSTALLABLE:$f::$n' --trace='AC_WITH_LTDL:$f::$n' --trace='PKG_INSTALLDIR:$f::$n' --trace='_LTDL_SETUP:$f::$n' --trace='AM_LANGINFO_CODESET:$f::$n' --trace='_AM_OUTPUT_DEPENDENCY_COMMANDS:$f::$n' --trace='AM_PROG_LD:$f::$n' --trace='AC_LIBTOOL_LANG_C_CONFIG:$f::$n' --trace='AC_COMPUTE_INT:$f::$n' --trace='AC_ENABLE_FAST_INSTALL:$f::$n' --trace='LT_SUPPORTED_TAG:$f::$n' --trace='AC_LIB_PREPARE_PREFIX:$f::$n' --trace='AC_:$f::$n' --trace='LT_SYS_DLOPEN_DEPLIBS:$f::$n' --trace='AC_LTDL_SYMBOL_USCORE:$f::$n' --trace='gt_GLIBC2:$f::$n' --trace='LT_SYS_DLOPEN_SELF:$f::$n' --trace='PKG_PROG_PKG_CONFIG:$f::$n' --trace='LTOPTIONS_VERSION:$f::$n' --trace='LT_LIB_DLLOAD:$f::$n' --trace='AM_PROG_CC_C_O:$f::$n' --trace='_LT_AC_PROG_ECHO_BACKSLASH:$f::$n' --trace='LT_AC_PROG_GCJ:$f::$n' --trace='_LT_COMPILER_BOILERPLATE:$f::$n' --trace='_LT_PATH_TOOL_PREFIX:$f::$n' --trace='AM_ENABLE_SHARED:$f::$n' --trace='AM_OUTPUT_DEPENDENCY_COMMANDS:$f::$n' --trace='LTDL_INIT:$f::$n' --trace='AC_C___ATTRIBUTE__:$f::$n' --trace='PKG_CHECK_MODULES:$f::$n' --trace='_LT_AC_TAGVAR:$f::$n' --trace='_LT_LINKER_OPTION:$f::$n' --trace='EFL_LINKER_FLAG:$f::$n' --trace='AM_AUTOMAKE_VERSION:$f::$n' --trace='AC_LIBTOOL_SYS_DYNAMIC_LINKER:$f::$n' --trace='gl_LOCK_EARLY_BODY:$f::$n' --trace='LT_PATH_NM:$f::$n' --trace='AM_SANITY_CHECK:$f::$n' --trace='AM_MISSING_HAS_RUN:$f::$n' --trace='AC_LIB_APPENDTOVAR:$f::$n' --trace='_AM_IF_OPTION:$f::$n' --trace='gl_AC_TYPE_UINTMAX_T:$f::$n' --trace='_LT_AC_SYS_LIBPATH_AIX:$f::$n' --trace='_LT_PROG_ECHO_BACKSLASH:$f::$n' --trace='AC_LIB_HAVE_LINKFLAGS:$f::$n' --trace='AC_LIBTOOL_RC:$f::$n' --trace='AC_ENABLE_STATIC:$f::$n' --trace='_LT_AC_CHECK_DLFCN:$f::$n' --trace='AM_RUN_LOG:$f::$n' --trace='_LT_AC_LANG_GCJ:$f::$n' --trace='gt_INTL_MACOSX:$f::$n' --trace='PKG_CHECK_EXISTS:$f::$n' --trace='LT_LANG:$f::$n' --trace='_LT_AC_FILE_LTDLL_C:$f::$n' --trace='gt_TYPE_INTMAX_T:$f::$n' --trace='AC_LIBTOOL_DLOPEN:$f::$n' --trace='_AC_PROG_LIBTOOL:$f::$n' --trace='gl_SIZE_MAX:$f::$n' --trace='AM_MAKE_INCLUDE:$f::$n' --trace='_PKG_SHORT_ERRORS_SUPPORTED:$f::$n' --trace='_LT_PROG_LTMAIN:$f::$n' --trace='AM_ICONV:$f::$n' --trace='AM_GNU_GETTEXT:$f::$n' --trace='gl_VISIBILITY:$f::$n' --trace='AM_NLS:$f::$n' --trace='_LT_COMPILER_OPTION:$f::$n' --trace='LT_AC_PROG_RC:$f::$n' --trace='gl_LOCK:$f::$n' --trace='AC_LTDL_DLLIB:$f::$n' --trace='LT_CMD_MAX_LEN:$f::$n' --trace='AM_DISABLE_STATIC:$f::$n' --trace='AC_LIBTOOL_GCJ:$f::$n' --trace='AC_LIB_ARG_WITH:$f::$n' --trace='LT_PROG_GO:$f::$n' --trace='AM_SET_LEADING_DOT:$f::$n' --trace='_LT_AC_SHELL_INIT:$f::$n' --trace='_AM_PROG_TAR:$f::$n' --trace='_AM_SUBST_NOTMAKE:$f::$n' --trace='LT_LIB_M:$f::$n' --trace='gl_PREREQ_LOCK:$f::$n' --trace='AM_MISSING_PROG:$f::$n' --trace='AC_PROG_LIBTOOL:$f::$n' --trace='AM_DISABLE_SHARED:$f::$n' --trace='AC_LIBTOOL_F77:$f::$n' --trace='AC_LIBTOOL_LANG_CXX_CONFIG:$f::$n' --trace='AC_LIBLTDL_INSTALLABLE:$f::$n' --trace='LT_SYS_DLSEARCH_PATH:$f::$n' --trace='_LT_PREPARE_SED_QUOTE_VARS:$f::$n' --trace='gl_GLIBC21:$f::$n' --trace='AM_PROG_LIBTOOL:$f::$n' --trace='PKG_NOARCH_INSTALLDIR:$f::$n' --trace='_LT_AC_LANG_C_CONFIG:$f::$n' --trace='AC_CHECK_LIBM:$f::$n' --trace='AM_POSTPROCESS_PO_MAKEFILE:$f::$n' --trace='AC_PATH_TOOL_PREFIX:$f::$n' configure.ac
    aclocal: error: echo failed with exit status: 139
    ==> ERROR: A failure occurred in build().
    Aborting...
    Last edited by sirus20x6 (2014-08-06 11:19:27)

    sirus@stareater ~/mesa :( $ /usr/bin/autom4te
    Segmentation fault
    sirus@stareater ~/mesa :( $ strace -e trace=file /usr/bin/autom4te
    execve("/usr/bin/autom4te", ["/usr/bin/autom4te"], [/* 23 vars */]) = 0
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/core_perl/CORE/tls/x86_64/libperl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/CORE/tls/x86_64", 0x7fff168d8110) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/core_perl/CORE/tls/libperl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/CORE/tls", 0x7fff168d8110) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/core_perl/CORE/x86_64/libperl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/CORE/x86_64", 0x7fff168d8110) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/core_perl/CORE/libperl.so", O_RDONLY|O_CLOEXEC) = 3
    open("/usr/lib/perl5/core_perl/CORE/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
    open("/usr/lib/perl5/core_perl/CORE/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
    open("/usr/lib/perl5/core_perl/CORE/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/usr/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
    open("/usr/lib/perl5/core_perl/CORE/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/usr/lib/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
    open("/usr/lib/perl5/core_perl/CORE/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
    open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
    open("/dev/urandom", O_RDONLY) = 3
    readlink("/proc/self/exe", "/usr/bin/perl", 4095) = 13
    open("/usr/bin/autom4te", O_RDONLY) = 3
    stat("/usr/share/autoconf/Autom4te/C4che.pmc", 0x7fff168d7fe0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/autoconf/Autom4te/C4che.pm", {st_mode=S_IFREG|0644, st_size=4913, ...}) = 0
    open("/usr/share/autoconf/Autom4te/C4che.pm", O_RDONLY) = 4
    stat("/usr/share/autoconf/Data/Dumper.pmc", 0x7fff168d7970) = -1 ENOENT (No such file or directory)
    stat("/usr/share/autoconf/Data/Dumper.pm", 0x7fff168d78a0) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/Data/Dumper.pmc", 0x7fff168d7970) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/Data/Dumper.pm", {st_mode=S_IFREG|0444, st_size=43263, ...}) = 0
    open("/usr/lib/perl5/site_perl/Data/Dumper.pm", O_RDONLY) = 5
    stat("/usr/share/autoconf/Carp.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/share/autoconf/Carp.pm", 0x7fff168d7230) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/Carp.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/Carp.pm", 0x7fff168d7230) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/site_perl/Carp.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/site_perl/Carp.pm", 0x7fff168d7230) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/vendor_perl/Carp.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/vendor_perl/Carp.pm", 0x7fff168d7230) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/vendor_perl/Carp.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/vendor_perl/Carp.pm", 0x7fff168d7230) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/Carp.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/Carp.pm", 0x7fff168d7230) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/core_perl/Carp.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/core_perl/Carp.pm", {st_mode=S_IFREG|0444, st_size=28465, ...}) = 0
    open("/usr/share/perl5/core_perl/Carp.pm", O_RDONLY) = 6
    stat("/usr/share/autoconf/strict.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/share/autoconf/strict.pm", 0x7fff168d6bc0) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/strict.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/strict.pm", 0x7fff168d6bc0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/site_perl/strict.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/site_perl/strict.pm", 0x7fff168d6bc0) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/vendor_perl/strict.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/vendor_perl/strict.pm", 0x7fff168d6bc0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/vendor_perl/strict.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/vendor_perl/strict.pm", 0x7fff168d6bc0) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/strict.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/strict.pm", 0x7fff168d6bc0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/core_perl/strict.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/core_perl/strict.pm", {st_mode=S_IFREG|0444, st_size=3925, ...}) = 0
    open("/usr/share/perl5/core_perl/strict.pm", O_RDONLY) = 7
    stat("/usr/share/autoconf/warnings.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/share/autoconf/warnings.pm", 0x7fff168d6bc0) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/warnings.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/warnings.pm", 0x7fff168d6bc0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/site_perl/warnings.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/site_perl/warnings.pm", 0x7fff168d6bc0) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/vendor_perl/warnings.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/vendor_perl/warnings.pm", 0x7fff168d6bc0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/vendor_perl/warnings.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/vendor_perl/warnings.pm", 0x7fff168d6bc0) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/warnings.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/warnings.pm", 0x7fff168d6bc0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/core_perl/warnings.pmc", 0x7fff168d6c90) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/core_perl/warnings.pm", {st_mode=S_IFREG|0444, st_size=39427, ...}) = 0
    open("/usr/share/perl5/core_perl/warnings.pm", O_RDONLY) = 7
    stat("/usr/share/autoconf/Exporter.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/share/autoconf/Exporter.pm", 0x7fff168d7230) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/Exporter.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/Exporter.pm", 0x7fff168d7230) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/site_perl/Exporter.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/site_perl/Exporter.pm", 0x7fff168d7230) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/vendor_perl/Exporter.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/vendor_perl/Exporter.pm", 0x7fff168d7230) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/vendor_perl/Exporter.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/vendor_perl/Exporter.pm", 0x7fff168d7230) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/Exporter.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/Exporter.pm", 0x7fff168d7230) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/core_perl/Exporter.pmc", 0x7fff168d7300) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/core_perl/Exporter.pm", {st_mode=S_IFREG|0444, st_size=18744, ...}) = 0
    open("/usr/share/perl5/core_perl/Exporter.pm", O_RDONLY) = 6
    stat("/usr/share/autoconf/XSLoader.pmc", 0x7fff168d7350) = -1 ENOENT (No such file or directory)
    stat("/usr/share/autoconf/XSLoader.pm", 0x7fff168d7280) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/XSLoader.pmc", 0x7fff168d7350) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/XSLoader.pm", 0x7fff168d7280) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/site_perl/XSLoader.pmc", 0x7fff168d7350) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/site_perl/XSLoader.pm", 0x7fff168d7280) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/vendor_perl/XSLoader.pmc", 0x7fff168d7350) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/vendor_perl/XSLoader.pm", 0x7fff168d7280) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/vendor_perl/XSLoader.pmc", 0x7fff168d7350) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/vendor_perl/XSLoader.pm", 0x7fff168d7280) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/XSLoader.pmc", 0x7fff168d7350) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/core_perl/XSLoader.pm", 0x7fff168d7280) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/core_perl/XSLoader.pmc", 0x7fff168d7350) = -1 ENOENT (No such file or directory)
    stat("/usr/share/perl5/core_perl/XSLoader.pm", {st_mode=S_IFREG|0444, st_size=10234, ...}) = 0
    open("/usr/share/perl5/core_perl/XSLoader.pm", O_RDONLY) = 6
    stat("/usr/lib/perl5/site_perl/auto/Data/Dumper/Dumper.bs", 0x1d13238) = -1 ENOENT (No such file or directory)
    stat("/usr/lib/perl5/site_perl/auto/Data/Dumper/Dumper.so", {st_mode=S_IFREG|0555, st_size=40348, ...}) = 0
    stat("/usr/lib/perl5/site_perl/auto/Data/Dumper/Dumper.bs", 0x1d13238) = -1 ENOENT (No such file or directory)
    open("/usr/lib/perl5/site_perl/auto/Data/Dumper/Dumper.so", O_RDONLY|O_CLOEXEC) = 6
    --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x5} ---
    +++ killed by SIGSEGV +++
    Segmentation fault
    sirus@stareater ~/mesa :( $
    Last edited by sirus20x6 (2014-08-06 08:59:40)

  • Advance payment and down payment with two diffierent tax code

    HI expert!!!
    i have one scenario that advance payment and down payment with different tax code.
    in this time, advance payement post to vendor with po number,  we do not know how to use tax code V1(deductable tax) or VF(Non-deductable tax),  so we post advance payement amount by tax code V1(deductable) even though the amount included both. but we must know how amount is defined deductable tax or non-deductable tax when invoice.
    when we want to post down payment with VF , we could not post it because advance payement posted with V1 tax code.
    this is main problem with my scenario.
    and  as i know,   can i post two advance payement to  same vendor and same po item?, i can't do it with my system.
    only one advacne payment  is possible with one vendor and one po item. or  amount of  advance payment is all cleared by down payment, then i can post another advance payment to same vendor.  is it standard process with po?
    thank you in advance!!

    hi,
    As per my knowledge their is no difference between  advance payment and downpayment.
    and tax code is used for taxes purpose not for the payment terms.
    taxcode is created in ftxp.and related percentages are maintained in fv11.
    ex:-
    if i want  excise duty  - 10% on basic value
    education cesse 2% on excise duty
    sec.education cesses 1% on excise duty
    then fitst i have to create 3 condition types and that 3 condition types are used in my taxprocedure  and that taxprocedure is assigned to country code..
    after that i am created one taxcode in ftxp like v1= exciseduty10%educatiocess2%sec.edu.cesses1% with this description.
    and given the values for that conditions in fv11.
    and used that v1 taxcode in your p.o in invoice tab.
    and payment terms are came from vendor not from taxcode.
    Thanking you.

  • OCCI: ORA-21500 [17099] seg faults on 10.2.0.4.1 client

    Hi,
    I've been getting this seg fault using OCCI, my environment:
    Oracle client 10.2.0.4.1 x86_64 (jul 2009) on rhel5.4
    Oracle database 9.2.0.8 x86_64 on rhel4.8
    I've written a g++ multi thread app that is making use of Connection Pooling, within 5 minutes of my app starting it seg faults with:
    ORA-21500: internal error code, arguments: [], [], [], [], [], [], [], []
    ORA-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
    Errors in file :
    ORA-21500: internal error code, arguments: [], [], [], [], [], [], [], []
    ORA-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
    ----- Call Stack Trace -----
    ORA-21500: internal error code, arguments: [], [], [], [], [], [], [], []
    ORA-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
    Errors in file :
    ORA-21500: internal error code, arguments: [], [], [], [], [], [], [], []
    ORA-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    calling call entry argument values in hex
    location type point (? means dubious value)
    Cannot seek to string table section header in /proc/8712/exe.
    Cannot seek to string table section header in /proc/8712/exe.
    Segmentation fault
    its compiled against gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
    I've tried the following:
    Installing the occi download from http://www.oracle.com/technology/tech/oci/occi/occidownloads.html and compiling with gcc-3.4.6
    I'm using the following commands to compile & link:
    g++ -DMOXA_DEBUG -I/database/u00/app/oracle/product/10.2.0/db_1/rdbms/demo -I/database/u00/app/oracle/product/10.2.0/db_1/rdbms/public -I/database/u00/app/oracle/product/10.2.0/db_1/plsql/public -I/database/u00/app/oracle/product/10.2.0/db_1/network/public -O0 -g3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"src/DB_Table.d" -MT"src/DB_Table.d" -o"src/DB_Table.o" "../src/DB_Table.cpp"
    g++ -L/database/u00/app/oracle/product/10.2.0/db_1/rdbms/lib -L/database/u00/app/oracle/product/10.2.0/db_1/lib -shared -o"libmoxa.so" ./src/DB_Table.o ./src/Dialup.o ./src/Modem.o ./src/Rtu.o ./src/Rtu_Type.o ./src/Session.o ./src/Session_Log.o ./src/Soe_Point.o ./src/Soe_Point_Event.o ./src/Thread.o ./src/Utils_Time.o ./src/db.o -locci10_343 -lclntsh -ldl -lm
    I've tried to do a -locci10 instead of the -locci10_343, still nothing..
    Intesting to note, the older version of the application on the same environment doesn't have this problem..
    I do know OCCI is a bit tempremental, especially when creating threads, as i've had to put a 100ms delay otherwise i get other errors
    the back trace looks like, it allways core dumps when releasing the connection..
    #0 0x00002b01b9fd8cae in slrac () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    (gdb) bt
    #0 0x00002b01b9fd8cae in slrac () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #1 0x00002b01b9fd8b3d in kgdsaaddr () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #2 0x00002b01b9fd83b8 in kgdsdst () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #3 0x00002b01b9c7f0b0 in skgudmp () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #4 0x00002b01b9fb27ac in kgeriv () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #5 0x00002b01b9fb2fab in kgesiv () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #6 0x00002b01b9fb2ace in kgesic0 () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #7 0x00002b01b9ace52d in kpuhhfre () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #8 0x00002b01b9ad9a3a in kpuhmcfre () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #9 0x00002b01b9a6ca5a in kputac () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #10 0x00002b01b9b8265a in kpuspsessionrelease () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #11 0x00002b01b9be1d6f in OCISessionRelease () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #12 0x00002b01b95452f1 in oracle::occi::ConnectionImpl::do_destroy () from /home/fep/moxa_1.3/libmoxa/Debug/libmoxa.so
    #13 0x00002b01b954d78c in oracle::occi::ConnectionPoolImpl::terminateConnection () from /home/fep/moxa_1.3/libmoxa/Debug/libmoxa.so
    #14 0x00002b01b953c47c in DB::release_connection (conn=0xed36498) at ../src/db.cpp:126
    I'm downloading the 11.2g client in the hope it works there without a hitch..
    Any help/suggestions whould be much appreciated..
    Cheers
    James

    Shiyer,
    libmoxa.so is the library I have created which is performing the oracle queries..
    The pool is created from the main thread by:
    Environment _env = Environment::createEnvironment (Environment::DEFAULT);
    ConnectionPool connectionpool = _env->createConnectionPool(
    username, passwd, tnsname, 1, 10, 1);
    And then each query is used run inside a connect initiated with:
    Connection *conn = connectionpool->createConnection(_username.c_str(), passwd.cstr());
    Statement *stmt = conn->createStatement("select 1 from dual;");
    ResultSet *rset = stmt->executeQuery();
    while( rset->next() == rset->DATA_AVAILABLE ) {
    std::cout << rset->getInt(1) << std::endl;
    stmt->closeResultSet (rset);
    conn->terminateStatement (stmt);
    and connection released with:
    connectionpool->terminateConnection(conn);
    Hope this helps!
    cheers
    James

  • How do you carry out an event if a job finishes with a return code 4?

    Hi
    A job which would complete successfully in SAP via the SM36 scheduler completes with an 'Error' in Redwood CPS because there are errors within the spool and it ends with a return code 4.
    We don't want this to error in Redwood CPS, so we have set the return code mapping to Completed with entries of 0 and 4.
    I.e. whether or not there is an error in the spool, the job will complete successfully in Redwood CPS.
    However, we want to be alerted if there are errors in the spool.
    How do we do this? The manual says "A job can raise one or more events when the job gets a specific job status or return code" - where is this set? I can see on the 'Event' tab of a job definition you can raise an Event when the job enters a specific status, but I only want to raise an event (or carry out a step / send an email etc) if I get a return code 4 (none of the job statuses are relevant) - how can I do this?
    Thanks
    Ross

    Hi Anton
    Thanks for that. However, it's a bit more complicated...
    I have a job chain with 2 steps. Any one of the two steps can have an error in the spool which by default in Redwood CPS result in the job ending in status Error. I don't want this, as the second step should still run if the first step ran okay with with errors in the spool (but shouldn't run at all if the 1st step fails completely). I.e. setting 'on Error goto step 2' or having no dependancy at all is not what we want.
    Therefore, I set the return code mapping on Completed to return codes 0 and 4. I.e. if step 1 has an error in the spool (return code 4) it still ends as 'Completed' and step 2 runs.
    Our problem is that we want to be alerted if there is a return code 4 (error in the spool). I tried as you suggested by entering on the 'Raise Event' tab of the job chain to raise an event on status 'Error' with a return code of 4. But no event was raised. I think this is because the return code mapping is setting the status to 'Completed' (on return code 0 or 4) BEFORE the software checks the status; i.e. the status is actually 'Completed' (rc=4) and not 'Error' (rc=4) so an event is not raised.
    Ideally I want to set the Event to be raised on status 'Completed' with a return code 4 - but when I select 'Completed' the 'Error Code' box is greyed out.
    I.e. can't set this - I can only set on a generic 'Completed' and I don't want to raise a message if the status is Completed but the return code is 0....
    Any ideas??
    Ross

  • RE: New process to write off balances between ($10.00) and $10.00 with reas

    Hi All,
    Is there anyone who knows if it is possible in SAP to automatically write off a small balance between ($10.00) and $10.00 with a reason code of ZP.
    Thanks
    SHK

    Hi
    See Note 1150062 - FS-PP: Customizing settings for Clearing of Trivial Amounts.
    I hope this helps you
    Regards
    Eduardo

  • Problem with the socket and the standard output stream

    Hy, I have a little problem with a socket program. It has the server and the client. The problem is that the client at one point in the program, cannot print messages in the console.
    My program does the next: the server waits connections, when a client connects to it, the server gets outputstream to the socket and writes two strings on it. Meanwhile, the client gets the inputstream to the socket and reads on it with a loop the two strings written by the server . The strings are printed by the client in the console. The problem starts here; once the read strings are printed ,I mean, after the loop, there are other System.out.println in the client but the console doesnt print anything . It curious that only when I comment on the server code the line that says: "br.readLine()" just before the catch, the client prints all the System.out.println after the loop but why?
    Here is the code:
    Server code:
    public class MyServerSocket {
    public MyServerSocket() {
    try{
    ServerSocket server= new ServerSocket(2000);
    System.out.println("servidor iniciado");
    Socket client=server.accept();
    System.out.println("Client connected");
    OutputStream os=client.getOutputStream();
    PrintWriter pw= new PrintWriter(os);
    String cadena1="cadena1";
    String cadena2="cadena2";
    pw.println(cadena1);
    pw.println(cadena2);
    pw.flush();
    InputStream is=client.getInputStream();
    InputStreamReader isr= new InputStreamReader(is);
    BufferedReader br= new BufferedReader(isr);
    br.readLine(); //If a comment this line, the client prints after the loop, all the System.out....
    catch (IOException e) {
    // TODO: handle exception
    public static void main(String[] args) {
    new MyServerSocket
    Client code:
    public class MyClientSocket {
    public MyClientSocket () {
    try{
    Socket client= new Socket("localhost",2000);
    InputStream is=client.getInputStream();
    InputStreamReader isr= new InputStreamReader(is);
    BufferedReader br= new BufferedReader(isr);
    String read;
    while((read=br.readLine())!=null){
    System.out.println(read);
    //These messages are not printed unless I comment the line I talked about in the server code
    System.out.println("leido");
    System.out.println("hola");
    }catch (IOException e) {
    public static void main(String[] args) {
    new MyClientSocket
    }

    You are right but with this program the loop ends. As you see, the first class, the Server, writes to the socket one text file. The second class, the client, reads the text file in his socket written by the server and writes it to a file in his machine.
    NOTE: The loop in the client ends and the server doesnt make any close() socket or shutdownOutput() .
    public class ServidorSocketFicheromio {
         public ServidorSocketFicheromio() {
    try{
         ServerSocket servidor= new ServerSocket(2000);
         System.out.println("servidor iniciado");
         Socket cliente=servidor.accept();
         System.out.println("cliente conectado");
         OutputStream os=cliente.getOutputStream();
         PrintWriter pw= new PrintWriter(os);
         File f = new File("c:\\curso java\\DUDAS.TXT");
         FileReader fr= new FileReader(f);
         BufferedReader br= new BufferedReader(fr);
         String leido;
         while((leido=br.readLine())!=null){
              pw.println(leido);
         pw.flush();
         }catch (IOException e) {
         * @param args
         public static void main(String[] args) {
              new ServidorSocketFicheromio();
    public class ClienteSocketFicheromio {
         public ClienteSocketFicheromio() {
    try{
         Socket cliente= new Socket("localhost",2000);
         File f = new File("G:\\pepe.txt");
         FileWriter fw= new FileWriter(f);
         PrintWriter pw= new PrintWriter(fw);
         InputStream is=cliente.getInputStream();
         InputStreamReader isr= new InputStreamReader(is);
         BufferedReader br= new BufferedReader(isr);
         String leido;
         while((leido=br.readLine())!=null){
              pw.println(leido);
              System.out.println(leido);
              System.out.println("leido");
              System.out.println("hola");
              pw.flush();
         }catch (IOException e) {
         public static void main(String[] args) {
         new ClienteSocketFicheromio();/
    }

  • Pacman seg fault(Solved but with comments on pacman-db-upgrade)

    Performed an install from FTP and booted into root login.
    Performed pacman -Syu  and received report system up to date.
    Performed downloads via pacman of twelve packages including xorg and xfce4.
    Performed download of abs package. 
    Downloaded abs repos.
    Modified abs extra vlc package and performed pacman -U install of modified package.
    Pacman working well at this point.
    Rebooted.
    After reaching xfce4 Desktop, attemptd to install firefox.
    Pacman -S firefox produced..... /usr/bin/pacman/ report(forget the exact error)
    Subsequent trials with ...pacman -U .... produces seg fault.
    Cannot use pacman.  All other programs seem to perform correctly.  Perhaps have lost DNS.
    Cannot perform ...pacman -Syu --debug.....segfaults.
    Last edited by lilsirecho (2011-07-19 18:19:49)

    Solved the difficulty but have no idea what can be done to prevent it from occuring for another user.
    It seems that the db did not get upgraded when the ...pacman-db-upgrade ...command was executed.  There was no statement for ..."pre 3.5 db" upgrade....while executing the command.
    After re-install, the upgrade command performed correctly and pacman now performs correctly after reboots.
    The question comes up as to what to do if the upgrade command does not work correctly and whether some indicator of correct response should appear in the beginners guide.  Additionally, what can be done in the event that the upgrade command fails to meet the correct response.
    These questions will in time be resolved by a new .iso but the present exposure is amazing in its consequences!
    Perhaps the upgrade command is also a function of properly synced mirrors but the command requesting the upgrade was ...pacman -Syy... the mirror sync function!
    What do we have...catch22?
    The resultant segfaults make sense if the pacman sync db is not upgraded.
    How is a user to know the upgrade failed?  What to do about such a condition?
    Marking this thread as solved ...with comments...

  • A simple, parallel wrapper around BSD sockets, libevent, and pthreads

    I've found myself writing a few small servers in C over the years. Dealing with the sockets API has never been fun for me, so I decided to sit down and consolidate the work I've done into an easy-to-use library.
    The result was evt-server: https://github.com/vedantk/evt-server
    It uses libevent to watch for incoming connections. You can choose how many threads you want to use to process accepted connections (or you can do things sequentially -- no issue). Here's an example usage of the library: https://github.com/vedantk/evt-server/b … evt_test.c
    The design of the server was inspired by memcached (see threads.txt in their src/doc/).

    You are correct that userspace code shouldn't be causing kernel panics. At the very least, you should submit a bug report on that. Also, for something this specific, you would probably have better luck on the Apple Mailing lists (http://lists.apple.com) and/or the paid Mac Developer forums.

  • Seg Fault & Sigbus - opera, thunderbird (and more)

    Hi!
    A week ago I`ve made an pacman -Syu and after that I have some problems...
    Running opera, skype gives seg fault.
    Thunderbird something like this:
    /opt/mozilla/lib/thunderbird-2.0.0.6/run-mozilla.sh: line 131:  7524 sigbus (?changed from my locale version)  "$prog" ${1+"$@"}
    What to do?
    What do you need to tell anything?
    Help! Please!
    FJG
    ps. Firefox is working - better than ever... But I want my mail!!! :)
    ps2. Couple of months ago I made memtest and everything was fine.

    Thank you, I did notice that switching would not work with the rootles Xorg 1.16 , that was the reason I just did a clean install with 1.15, I believe that one does require root at all times. But I might be wrong.
    To be honest, I have don't have much hope that anyone can help solve this. I've been using linux for about 18 years now and this is the first time I have encountered something that I just can't fix. I don't even know where to go from here, now that I tried without GLX.  Going to look into that man-page anyway, just to be sure. Since it is a proces of elimination for me now anyhow. Darn you Diablo! You make me want to switch graphics
    Last edited by wilbert (2014-08-14 05:58:39)

  • How do I unlock an iphone 5 with Sprint. The SIM is in and Sprint gave me the unlock code, but what are the steps to unlock it?

    How do I unlock an iphone 5 with Sprint 15.1 at IOS 7.0.6 IMEI 99 000320 012095 0 .
    The SIM is in and Sprint gave me the unlock code, but what are the steps to unlock it?

    There is no such thing as an unlock code.   Sprint may have processed the unlock, and then requested you restore the iPhone using iTunes to complete it. But that's it. There is no code to enter, and nowhere to enter it any way.
    iPhone: About unlocking

Maybe you are looking for

  • Fiori Theme Designer: Target Content not saved

    Hello, I have created a theme based on the blue crystal theme. At first I entered the link to the application (URL to launchpad) and add the name of the application (eg "Launchpad"). Now I press the "Add" button and a new entry is created as shown in

  • DVD Sony camcorder, ts video files

    I am trying to import the video files from a sony dvd camcorder into final cut. I imported the vob file, but it only imports a few seconds of the clip. How do I convert these files to be compatible with QT and final cut so I can edit?! thank you all

  • Can you replace damaged frames with Adobe Premiere Pro CS6 ?

    Hello everyone! I'm new to Premiere Pro CS6 and don't know all the tricks (no previous experience with video editing). I have a video file that has some damaged frames (it is a VHS-DVD bad quality transferred file). I'm wondering is there is a way to

  • Adjusting audio levels in iMovie HD

    Hello all, I just completed a 10 min video for a friends son's bar mitzfah and need to adjust the audio levels of the songs I used. What is the fastest way to accomplish this? At the bottom of the viewer in iMov ie HD is a speaker with 100% next to i

  • Probs in Implementing the MSS feature - Personal Change Request

    Hi, We are implementing the ESS/MSS on EP6 and theres a probs relating to MSS ,of Personal Change Request. When I select a particular employee and got to edit the Form , it displays a err mesg " Error during call to AdobeDocumentServer: Processing ex