stackoverflow

How to address semantic issues with tag-based web sites?

Tag-based web sites often suffer from the delicacy of language such as synonyms, homonyms, etc. For programmers looking for information, say on SO, concrete examples are: Subversion or SVN (or svn, with case-sensitive tags) .NET or Mono [Will add more] The problem is that we do want to preserve our delicacy of language and make the m...

How Does A Stack Overflow Occur and How Do You Prevent It?

I was just wondering how a stack overflow occurs and the best ways to make sure it doesn't happen, or ways to prevent one - particularly on web servers, but other examples would be interesting, as well. ...

OpenID Over SSL with self signed certificate

I setup my own open id provider on my personal server, and added a redirect to https in my apache config file. When not using a secure connection (when I disable the redirect) I can log in fine, but with the redirect I can't log in with this error message: The underlying connection was closed: Could not establish trust relationship for...

How can I search through stackoverflow questions from a script?

Given a string of keywords, such as "python best practices", I would like to obtain the first 10 stackoverflow questions that contain that keywords, sorted by relevance (?), say from a python script. My goal is to end up with a list of tuples (title, URL). How can I accomplish this? Would you consider querying google instead? (How would...

What is a stack overflow error?

I'm a complete beginner writing Breakout (the game) in Java. All was going well until I started to get a stack overflow error in the late game. Unfortunately I know that without actually putting the code up online I won't really be able to get help with this. So instead I thought I would make this my first Stackoverflow.com question! Wh...

Stack Overflow Exploit in C

Hey there guys, the question is actually about stack overflows in C. I have an assigment that I can not get done for the life of me, i've looked at everything in the gdb and I just cant figure it. The question is the following: int i,n; void confused() { printf("who called me"); exit(0); } void shell_call(char *c) { prin...

What is Cassini's (aka VS Dev Server) stack limit?

I'm running into a StackOverflowException (please don't ask, it's not my fault) in IIS6/2k3 which has a limit of 256k, but the exception doesn't happen in the VS debugger. As a matter of understanding I'd love to know, but have failed to google what the stack limit of Cassini is...if indeed it has one? ...

Java Stackoverflow Error

Hi sometimes i encoutner this error after restarsting sun application server 8.2 domain anyone have any idea what could be the reason? javax.servlet.ServletException at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:255) at javax.servlet.http.HttpServlet.service(HttpServlet.java:860) at sun.reflect.GeneratedMe...

Project Euler (P14): recursion problems

Hi I'm doing the Collatz sequence problem in project Euler (problem 14). My code works with numbers below 100000 but with numbers bigger I get stack over-flow error. Is there a way I can re-factor the code to use tail recursion, or prevent the stack overflow. The code is below: import java.util.*; public class v4 { // use a HashM...

stack overflow in linux

how to create the condition of stack overflow in linux ...

StackOverflowError when serializing an object in Java

I am writing an application in Java using Swing. I am trying to implement functionality to save and load simulation states for at simulation i am running. The entire simulation is kept as an object, disconnected from Swing. I am trying to serialize my Simulation class with this code: public void saveSimulationState(String simulationFile...

delete overload, recursive overflow

Hey guys i wrote a quick test. I want delete to call deleteMe which will then delete itself. The purpose of this is so i can delete obj normally which are allocated by a lib. (i dont want any crashes due to crt or w/e). With delete this i get a stackoverflow, without it msvc says i leaked 4 bytes. When i dont call test i leak 0. How do ...

Hypothetically: Could stack overflow help you get a job?

Duplicate of this question and this one. I was thinking this morning whether there might be a time in the future where one could proudly display their stack overflow username as a "Credential" on thier resume. I know it's a two edged sword, because having a high SO score also probably means you spend a lot of time procrastinating, but ...

stack execution protection and randomization on ubuntu

Hi all, As part of a course assignment i need to write an exploit code to cause a buffer overflow and execute code that is present on stack. I have turned off the stack randomiztion by the following command: sysctl -w kernel.randomize_va_space=0 However, i am unable to find a way to turn off the stack execution protection. I am not sur...

What are the symptoms of a stack overflow in a C++ program?

I just ran into an issue where a stack overflow in a threaded c++ program on HPUX caused a SEGV_MAPERR when a local object tried to call a very simple procedure. I was puzzled for a while, but luckily I talked to someone who recognized this as a stack size issue and we were able to fix the problem by increasing the stack size available ...

IIS stackoverflow

Here's the thing. We've been chansing an bug on my WCF web application (W2K3 IIS) which was resulting in a stackoverflow. To fix it I need to increase the stack of my application by creating a thread with the amount of memory I want to allocate. But what happens with the child threads? My app creates many threads, will they inherit the v...

How do I fix the complaint "Stack Overflow" in rebuild.exe in COBOL85, for ISAM-files?

I am getting the message "Stack Overflow" while running REBUILD.EXE in cobol85 under Windows XP. This command was working nicely up to Windows 98. This command is used to recreate key file for Indexed Sequential file (ISAM). What is causing this problem? How can I work around it or fix it? ...

Using Recursion in C#

Are there any general rules when using recursion on how to avoid stackoverflows? ...

Does the C standard define a stack overflow behavior?

Is there a defined behavior for handling a stack overflow? Apart from terminating the process, it doesn't seem like there's a whole lot that can be done. I'm just wondering if anyone might know what the C standard has to say about it. ...

"Stack overflow at line: 0" on Internet Explorer

My blog suddenly popup this error today,i search around on google still no one can fix this error...But it not happen on Firefox , only on IE7 and IE8 I have deactivate all wordpress's plugin still error.... I have uploaded the screenshot ...