Baffled by a strange bug - please help!!!
Hi all,
I am baffled by a bug in a program I am working on that I just
can't understand. Here is the code that causes a SIGSEGV crash:
268 int k = wfall_pixbuf.rowstride;
269 pix[0] = pix[ -k ];
270 pix[0] = pix[ -wfall_pixbuf.rowstride ];
Output of gdb:
Program received signal SIGSEGV, Segmentation fault.
0x00000000004152b2 in Display_Waterfall () at display.c:270
270 pix[0] = pix[ -wfall_pixbuf.rowstride];
wfall_pixbuf is a struct that encapsulates a GdkPixbuf together
with some variables that hold the values of some properties like
rowstride above.
I added lines 268 and 269 in despair and the program
works well if I comment out line 270, which does (I think)
the same job as 269. I can't see how wfall_pixbuf.rowstride
can change value from line 268 to 270???
Please help!!!
danielsoft wrote:
hello,
I think it's a type issue: what type is wfall_pixbuf.rowstride ?
in the case
int k = wfall_pixbuf.rowstride;
pix[0] = pix[ -k ];
you are making a negative value out of type "int" - precisely signed int
when wfall_pixbuf.rowstride is unsigned, the result is undefined...
what does
pix[0] = pix[ -(int)wfall_pixbuf.rowstride ];
do? should work the same as lines 268 and 269
Ahh, thank you very much! rowstride is of type guint, which is
a GTK2 type definition, essentially I think it boils down to
unsigned int. So that was the issue :-)
I am surprised that I didn't make a mistake of this sort till now
but its never too late.... ;-)
Similar Messages
-
I can't watch Dailymotion videos on my iPad but can do so on my iPhone and PC. Very strange. Please help !
Take it to an Apple store genius bar to have the techs see what your options are for repair/replacement. An out-of-warranty replacement is $149 in the US for the iPhone 4.
-
Now Playing list. bugged please help me
So i finally converted to the x-fi wave. Point is i was all happy until i encountered the sad and super annoying playlist of the new creative media player. before i had the audigy 2zc or w/e with the old media player. but it was a lot nicer, all the features were in it and u didn't have to open different panels to access a lot of the special settings.
Point is, now i cant keep a clean record of the music i play. every time i open a new mp3. it deletes everything. only way to actually make a play list is to drag and drop a bunch ... thats way annoying. i think this is a bug. so please help me anybody Message Edited by archangel202 on 09-20-200708:27 PMthx so much
xx * -
Computer is acting very strange. Please help.
My computer has starter acting very strange. It has start to take ages to boot up, and it runs a progress bar on the grey apple screen (as if its was booting in safe mode, but its not). I cant seem to save any files with any Apps. When I try to save documents in office it tells me ether the file name or path doesn't exist, it is open by another program, or its read only. Office also keeps coming up with errors saying im out of memory. Other apps just come up with errors when I try and save files.
The last thing I did before my computer started acting up, was to increase the size of a Windows partition. Using Winclone I copied my Windows OS, then added the partition back to my mac, and re-partitioned it to a larger size. I formatted it into NTFS using Tuxera, and then used Winclone to put Windows back on. Everything seemed to go smoothly, and the Windows OS is fine.
Please Help!Yes, iRadu is correct.
If Disk Utility can't fix it, you'll need a more robust utility for the repair. I would recommend DiskWarrior. It is the best at directory repairs. It rebuilds then actually replaces your old directory. I feel every Mac owner should have a copy.
Make sure you get the disk so you can boot up on it to run repairs. You can also install it on another drive and run it from there to repair this one. DW works faster that way.
I use DW once a month to try and catch errors in my system from getting too far out of hand.
DW is the only utility I would recommend to repair +Keys out of order+. It's a pretty serious error.
Do you have a good backup...one with no issues?
DALE
p.s. Here's a rewiew of DiskWarrior 4. -
I was typing in a word for Mac document and I hit the apple key and the numeral 8 at the same time now all of my documents have these strange symbols please help
Simply type command 8 again. That toggles the "show paragraphs" function.
-
Keyboard Bug - PLEASE HELP!
I've purchased my Z10 less than 1 week ago and I've noticed this problem the very next day. At first I assumed it was a small problem and it wouldn't happen often but it's been occuring EVERY DAY at least once and it's gotten really irritating now.
The virtual keyboard on the Z10 works perfectly fine, the buttons dont stick, spell check is working properly and I'm able to type with this keyboard with no problems, HOWEVER for some odd reason the keyboard STOPS functioning sometimes while I'm sending an SMS. The keyboard is still visible, I'm still able to press the buttons on the keyboard as they become highlighted whenever I do. However, no actual letter/character appears in the message box no matter how many buttons I press. The only thing which seems to temporarily fix this problem is restarting my blackberry Z10 device which can be very annoying and time consuming.
Please help me out with this problem as I have tried searching online for days and can't find a solution. Is this a problem with the Z10 software? will there be an update fixing this? am I the only one experiencing this problem?
Please note that I have not once dropped my phone, it's been kept in MINT condition with a case on it. Everything else works perfectly fine with my Z10, this is the only MAJOR issueI just tried exactly what you said. Mis-spelled a word (easy for me) , hit the red underlined word, it popped up a window that said 'no suggestions', I tapped at the end of my sentence and carried on typing. No hang up at all.
-
I hit the apple key and the numeral 8 at the same time now all of my documents have these strange symbols please help
Simply type command 8 again. That toggles the "show paragraphs" function.
-
Iclod Id Strange Problem Please Help
I have iPhone 4 i Used my icloud ID On It After Some Time i erased My Id From iPhone 4 And Used Same Id On My New Purchased iPhone 4s
After That i Update my iPhone 4 to 7.0.4 IOS After Update again iphone 4 wants my iclod id for activation witch i already erased from it and using on new 4s
so i remove id from 4s and gives my id and pass in iphone 4 to activate but reply come This Iclod ID Not sign with this iPhone even my id name Like abc....[email protected] is showing me on icloud login stage now i m not able to login my own icloud id on iPhone 4 & not able to activate even i alredy erased before update to 7.0.4 and using on new 4s same id. Please help me my id pass is working i checked 3 time with icloud.com and also find my iPhone off but i m still not able to login or activate my own id witch appear on login screenAs i said on activation lock iphone shows my own id but when i put id & pass reply comes not sign with this iphone hows that possible activation lock screen display my own id and not accept ?
even i erase my id from this device becuse i m using on now iphone 4s and when i restore my iphone 4 device again ask me for my id pass witch i already erased before using on new 4s why ?
i never change my is or pass then why not accepting ? activation lock screen ghul....[email protected] apear my own ID and now said not sign with this id is this happen coz i m using it now 4s ?
or what ? why asking me again i already erased this id from iphone 4 before using on 4s this is not good i need solution i can provide all details of my id if any apple support team member wants they can check this id locked on my iphone 4 then ehy not accept now -
Hi all,
I've created a form for use within my company using LiveCycle ES version 8.2. I created the form and then selected 'extend features in adobe reader'.
The problem: Most are able to use the form just fine but sometimes when it is sent to our team, the form will appear blank until you click IN the box and then you can see the text the person entered. This is very strange and only happens with certain people.
Does anyone know why or how to solve?
Thanks for the help!
JenniferHi Jennifer,
I suspect that the forms that are giving trouble were filled in by people using Preview application on the Mac (or another third party PDF viewer).
There are several discussions on this - search for Preview, Mac, etc.
If users have a Mac, get them to download Acrobat/Reader.
Good luck,
Niall -
Host application strange error, please help !!
hello everyone,
can anybody of you help me with this error:
>> cannot find symbol; symbol : method getMessage(), location: class java.lang.ClassNotFoundException
it is displayed as I am writing the host application for an applet using OCF, at this level:
>> my_Card_Proxy = (MyCardProxy) card.getCardService(MyHostSideApp.class, true);
what do you think of this? I tried many codes but I am always having the same error, I dont know where does the problem come from.
please if you have any suggestion, I really need it
thank youHmmm.
Are u sure that u have put all the JSP page in a proper folder where if u do not put them in a proper folder it want work.
Else where in side jsp code the naming part as been misplaced . Go through that code again I hope u can find out the error.
mostly the second one normally occurred every time....
Good site too. -
Very strange situation please help
Hi every one
This is my first time on this forum,I guess it is time to ask and i hope to get the answers....
I am using CS3 Illustrator and for some reason I had develop a very strange situation..
I lost resizing capobility..
I no longer can resize images or text unless I use Transform--> scale this is not a very good solution for doing work
Any one know what to do with exception reinstalling application???
Please ADVISE
LevU r correct
I use shortcuts all the time.
I prefer keyboard to mouse some times it is faster...
I had proborly press by mistake with our realizing it..
Good point.....
Lev -
Problems building a spatial index - this must be a bug please help!
Hi,
We have a rather large spatial data warehouse. The schema is a star schema and is partitioned. During a load recently we had an error with one particular dataset, when building the index we got:
ERROR at line 1:
ORA-29855: error occured in the execution of ODCIINDEXCREATE routine
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
We have seen this kind of thing before, but usually dropping the data and reloading works fine (or rebuild the index). I should not that this obviously occurs before the partition is exchanged in. We are running 10.2.0.2 on red hat ES3.
With this error we tried to reload the data, but get the same. We tried the data on another copy of the system, and the same. We have tried the data on a 10.2.0.3 and an 11.1.0.6 database and all fail at the same location. We have validated the geometries - all fine, I have tried changing the DIMINFO so that it spans the whole globe, it failes again (by the way we are on SRID 8307 and all data is point type). The data is approx 1.2M rows and I have tried subdividing it up into smaller tables and these all build fine. I have partitions with much higher row counts and these are fine. I have tried everything possible including changing index parameters e.g. parallel tablespace etc. I have tried it on a tablespace without ASSM and one with and both fail. I have an export of the data if anyone would be available to try it?
I would really appreciate any help at all on this one.
Thanks
JonathanThere was a post a few months ago that addressed issues with 10.2.0.3 and Spatial index creation: Re: Fixed ...
-Justin -
My Iphone 6 Screen has been bugging Please Help
My Iphone 6 Screen has been bugging out lately it bounces up and down and just gets really blurry. Does anyone know how to fix this?
Hi,
By "Bounces up and Down", do you mean this:
The content of the screen drops down and about a third of the top of the screen is blank.
When you press the home button or any icon, the content moves back to the top of the screen.
If this is what you are seeing, it is intentional. It is meant as a way for you to be able to easily reach the icons at the top row of the screen.
Double tap the home button. Do not press the button, just lightly tap it.
All the content should drop down.
Pressing the home button or any icon will shift the content back up again.
This is a new feature designed for the larger screens in the 6 and 6+. -
Major app store BUG, PLEASE HELP!!!
This is the situation, I updated my iPhone to 3.1 then went to Settings - store and changed my iTunes details (Apple ID.) The new apple ID was a completely different E-mail address, then I went to the App Store, got a new app, this worked fine. Then I went to update my Apps, when I tapped FREE - install it displayed the wrong E-mail, no matter what I did. Please help
same problem here-- any luck fixing it?
-
[Solved] pacman -Qtdq is returning strange results - Please Help!
Hi guys,
I'm having an issue with the pacman command -
#pacman -Qtdq
It has been spitting out some VERY odd results. Here
[anders@Freki ~]$ pacman -Qtdq
abs
agave
alsa-utils
archlinux-artwork
arj
aspell-en
audacity
autoconf
automake
bacula
banshee
beanshell
bleachbit
bluefish
calibre
cryptsetup
dash
dosfstools
ekiga
expect
fakeroot
feh
file-roller
firefox
flex
gcalctool
gconf-editor
gedit
git
gksu
gnome-color-manager
gnome-disk-utility
gnome-media
gnome-nettool
gnome-power-manager
gnome-utils
gpart
gparted
grub2-bios
gstreamer0.10-bad-plugins
gtk-doc
handbrake
hardinfo
heirloom-mailx
hsqldb-java
hunspell-en
hyphen-en
icedtea-web
initscripts
inkscape
iputils
jfsutils
less
libdvdcss
libmspack
libmythes
libreoffice-base
libreoffice-calc
libreoffice-draw
libreoffice-extension-ct2n
libreoffice-extension-diagram
libreoffice-extension-google-docs
libreoffice-extension-hunart
libreoffice-extension-nlpsolver
libreoffice-extension-numbertext
libreoffice-extension-oooblogger
libreoffice-extension-pdfimport
libreoffice-extension-presentation-minimizer
libreoffice-extension-presenter-screen
libreoffice-extension-report-builder
libreoffice-extension-scripting-beanshell
libreoffice-extension-scripting-javascript
libreoffice-extension-scripting-python
libreoffice-extension-typo
libreoffice-extension-validator
libreoffice-extension-watch-window
libreoffice-extension-wiki-publisher
libreoffice-gnome
libreoffice-impress
libreoffice-math
libreoffice-sdk-doc
libreoffice-writer
libwpg
licenses
lm_sensors
logrotate
lucene
lvm2
man-db
man-pages
mdadm
mesa-demos
mousetweaks
mythes-en
nano
ntfsprogs
openshot
os-prober
pacman
parcellite
patch
pcmciautils
perl-passwd-md5
pkg-config
pstoedit
python2-gtkspell
python2-numpy
rdesktop
reiserfsprogs
samba
skype
skype-call-recorder
sound-juicer
soundconverter
subversion
sudo
syslog-ng
telepathy-butterfly
telepathy-gabble
telepathy-haze
telepathy-idle
telepathy-salut
telepathy-sofiasip
texlive-core
thunderbird
tomboy
tomoyo-tools
truecrypt
ufw
unace
unetbootin
uniconvertor
unrar
vala
vi
vigra
vino
virtualbox
virtualbox-additions
wgetpaste
which
wicd-gtk
xchat
xdotool
xf86-video-ati
xfsprogs
xorg-twm
xorg-utils
xorg-xclock
xorg-xinit
xsane-gimp
xscreensaver
xterm
I first noticed this when I removed lxde and awesome after I was done playing with them and pacman took out pkgs necessary to run gnome. As you can see some x pkgs are listed as orphans, along with things that were not orphans before, like abs and firefox. My orphan list used to be only a few items long because gwibber apparenly has some build items that are no longer needed after install like dee and vala.
I've tried reinstalling the listed pkgs, ALL of my installed pkgs, and nothing. It keeps reporting this same string of pkgs and it is making me afraid to remove xscreensaver (the one thing on the list I don't want to keep) because I am afriad of pacman taking out too many pkgs. Installs seem to be working just fine, and I only use pacman to install pkgs on this system, I always use
sudo pacman -S pkgname
or
sudo pacman -U /path/to/aur/pkg
and I only update via
sudo pacman -Syu
So is there any way to "rebuild" the dependancy tree that I don't know about? I looked thourgh the Wiki and did not see anything.
Could I have removed a pkg(s) that has broken Pacman's dependancy tree?
Is there any more info that you guys might need to help me out with this?
- Thanks for any help,
Anders H
Last edited by Anders H (2012-02-14 09:34:13)For some reason theses packages are installed as a dependency for another package, but they're not required by any package.
Can you post the output of e.g. 'pacman -Qi less'?
-D, --database
Modify the package database. This operation allows you to modify
certain attributes of the installed packages in pacman’s database.
At the moment, you can only change the install reason using
--asdeps and --asexplicit options.
[karol@black ~]$ pacman -Qi less
Name : less
Version : 444-3
URL : http://www.greenwoodsoftware.com/less
Licenses : GPL3
Groups : base
Provides : None
Depends On : ncurses pcre
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 220,00 KiB
Packager : Allan McRae <[email protected]>
Architecture : i686
Build Date : pon, 6 lut 2012, 03:25:08
Install Date : czw, 9 lut 2012, 21:09:29
Install Reason : Explicitly installed
Install Script : No
Description : A terminal based program for viewing text files
[karol@black ~]$ pacman -Qi less | grep -e "Required By" -e "Install Reason"
Required By : None
Install Reason : Explicitly installed
[karol@black ~]$ pacman -Qdt
[karol@black ~]$ pacman -D --asdeps less
less: install reason has been set to 'installed as dependency'
[karol@black ~]$ pacman -Qi less | grep -e "Required By" -e "Install Reason"
Required By : None
Install Reason : Installed as a dependency for another package
[karol@black ~]$ pacman -Qdt
less 444-3
I've changed the install reason and now 'less' shows up as an orphan.
Maybe you are looking for
-
To populate Segment data to Order item level in additional tab B
Hi Experts, I am working on Inbound interface using IDoc (ORDERS05); during Idoc process IDOC_ORDERS_INPUT; i have to take segment value and need to populate at order items level; in custom field (in additional tab B). For that i am using FM (Custom
-
Using one Itunes database across two macs
Using one itunes database across two macs I currently run a 2010 MBP (500gb hd) at home and on the road and a 2013 Imac (1Tb hd) at work. I have a large lossless itunes library of about 300gb and would like to increase the library further. My MBP sta
-
I dont like iPhoto, and just want the old photos taken off of my iPad, that must of transferred from my computer. I will tap on the photos, and edit, but then the delete button is fuzzed out so I cant delete them??
-
SInce the latest update Firefox has crashed continually for about two weeks now. Continually means at least 10 times a day. Now it does not open at all and I get this message when launching Firefox: XML Parsing Error: not well-formed Location: chrome
-
Dear all, Can PO STO used by RTP ? please give me step by step thanks imron