473,394 Members | 1,735 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Core dump with string functions

My apologies if you think this question is OT.

My debugger (gdb 6.3) is erratically crashing in some in-house
functions that use the string API. I have posted the code to
comp.sources.d

The code appears to be okay to me. Any insight will be appreciated.

Thanks,
Song

Apr 11 '06 #1
4 1932
Generic Usenet Account wrote:
My apologies if you think this question is OT.
It is.
My debugger (gdb 6.3) is erratically crashing in some in-house
functions that use the string API. I have posted the code to
comp.sources.d


Assuming your code is C++ code, try gnu.g++.help, or possibly gnu.gdb.bugs.
Apr 11 '06 #2
Generic Usenet Account wrote:
My apologies if you think this question is OT.

My debugger (gdb 6.3) is erratically crashing in some in-house
functions that use the string API. I have posted the code to
comp.sources.d


Please post the code _inline_ (in your post) if you want to share it
with the readers of c.l.c++. Don't ask us to go to some other NG to
collect your source files.

Consider posting your GNU tools questions to 'gnu.*' NG hierarchy.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Apr 11 '06 #3

Generic Usenet Account wrote:
My apologies if you think this question is OT.

My debugger (gdb 6.3) is erratically crashing in some in-house
functions that use the string API. I have posted the code to
comp.sources.d

The code appears to be okay to me. Any insight will be appreciated.

Thanks,
Song


Code looks okay. I would suggest a clean build. On more occasion than
one, that has worked wonders for me.

NS

Apr 13 '06 #4

Generic Usenet Account wrote:
My apologies if you think this question is OT.

My debugger (gdb 6.3) is erratically crashing in some in-house
functions that use the string API. I have posted the code to
comp.sources.d
Do you have more than one context/thread involved?

Regards,

W

The code appears to be okay to me. Any insight will be appreciated.

Thanks,
Song


Apr 13 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Nick Craig-Wood | last post by:
I've just discovered that my python (Python 2.3.4 from debian package 2.3.4-1 running on debian testing x86 + linux 2.4.26) core dumps when I set recursionlimit very high and do lots of recursion....
5
by: sam | last post by:
Hi, The following code produced a core-dump: PropertyParser::PropertyParser(list<HashMap> &p_list) { l_conf_data.clear(); cout << "beginning copy.. size: " << p_list.size() << endl;...
10
by: ken | last post by:
hello, i'm writing a c program on a linux system. i'm debugging a segmentation fault but i don't want it to dump a core file because the memory footprint of the program is over 300Mb and i don't...
10
by: John Liu | last post by:
We upgraded from 7.2 to 7.4, it looks like everything working, but when I issue a query such as select * from tab (tab has about 2-3 million records), it causes core dump. I tuned some the...
3
by: John Liu | last post by:
AIX pg version 7.4 Select * from document2 core dump. Did a few more experiments with select * from document2 limit... I limit to 500000 it works, 600000 it exits but says "calloc:...
6
by: wenmang | last post by:
Here is the code which causes core dump when is built differently, 1 for regular dev built, the other for packaging build. class my_class{ public: my_class(){}; ~my_class(){}; private:...
10
by: wong_powah | last post by:
I want to find out where (which line) my C program core dump. How to do that? Is there a web site describing the procedure? One approach is to use stack trace of the mdb debugger, but I does not...
8
by: Rakesh | last post by:
Hi - What is wrong this implementation? I get a core dump at the free() statement? Thanks Rakesh #include <ext/hash_map> #include <iostream.h> #include <ext/hash_set>
14
by: Sheldon | last post by:
Hi, I have a python script that uses a C extention. I keep getting a recurring problem that causes a core dump a few lines after the C extention return data back tp python. I tried using pbd and...
5
by: jerseycat10 | last post by:
I am trying to overcome the following hurdle. We have several exception types, derived from a "BaseException" type. Lets say SpecialException inherits from BaseException. Lets say a...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.