Slackware :: Upgrade To 13.1 Causes Segfault In Program That Ran Under 13.0

Mar 10, 2011

I have a custom program that has been running on Slackware since about 2004. It was running fine on Slackware 13.0, but an upgrade (following the procedure in UPGRADE.TXT) to 13.1 causes the program to segfault on a read/write op to the serial port (details here).

what might have changed between 13.0 and 13.1 that might affect serial port programming? I've been through CHANGES_AND_HINTS but nothing is jumping out at me.

View 14 Replies


ADVERTISEMENT

Programming :: Segfault In Program Using Pthreads

Mar 16, 2010

I am trying to write a peer to peer application in C++ using pthreads library. There are few types of nodes that run in the program. The 'beacon' nodes form the core of the network. The ordinary nodes 'join' the network by sending join requests to the beacon node. So, my program runs till the join requests and responses are received. When I try to 'connect' using connect function from the socket library, I get a segfault. I am not sure if the segfault occurs for the connect function, because sometimes the program just runs to completion. It could be an issue related to threads or memory allocation.

When I run gdb, it shows me the following:
Code:
(gdb) run b2-n00.ini
Starting program: sv_node b2-n00.ini
servant:12600> [New LWP 1]
[New LWP 2]
[New LWP 3]
[New LWP 4]
[New LWP 5]
[New LWP 6]
Before Exiting[LWP 1 exited]
procfs: fetch_registers, get_gregs line 3768, /proc/23952/lwp/1: No such file or directory.

View 6 Replies View Related

Slackware :: Gs Segfault When Joining Pdf Files?

Dec 28, 2010

I usually use the following command to join several PDF files in one :gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=output.pdf input1.pdf input2.pdfHadn't have to do it for a while but today, I needed it and thus fired my script.lam! gs segfaults.A quick internet search and I found this :https://bugs.archlinux.org/task/22006Though Arch related, while I'm running slackware64-current, the behaviour was exactly the same as mine.In the above thread, one guy linked to a bug report which seems to be theculprit :http://bugs.ghostscript.com/show_bug.cgi?id=691831gcc 4.5.1, gs 9.00, x86_64, indeed, slackware64 seems to be exactly in that situation.

View 2 Replies View Related

Slackware :: Execute Skype 2.1.0.81 Getting Segfault

Apr 28, 2010

Has anyone had any luck getting a slackbuild to work with the newest version of skype 2.1.0.81? I tried with the static binary but when I go to execute skype I get a segfault. I also tried with a different slackbuild and it doesn't work either.

View 9 Replies View Related

Slackware :: XDM Segfault After Upgrading To RC1 1337

Mar 10, 2011

I encountered "xdm segfault" error due to libXt upgrade. startx worked, but xdm failed. Should be same bug as this link: [URL]

View 3 Replies View Related

Slackware :: Goggles Music Manager - Segfault On Execute In - Current?

Apr 26, 2010

Goggles music manager no longer works in my current install. When I first upgraded, it was complaining about ligtag-extras library not existing, but this was because the version got upgraded. So I recompiled, and now it just segfaults, both with the slackbuild version (0.10.14) and the latest release (0.10.19). Here is dmesg:

Code:
[ 2687.367214] gmm[4366]: segfault at 0 ip 08089bab sp bfad7ef8 error 4 in gmm[8048000+f8000]

View 1 Replies View Related

Slackware :: Xine - Dragonplayer Segfault Playing H264 Video?

Dec 10, 2010

I was trying to play an MP4 (h264) video from Meet The Gimp (in particular, this one) but both xine and dragonplayer would play a couple of seconds of it (poorly) and then segfault and die. The error spew looked like:

Code:

$ xine meetthegimp152.mp4
This is xine (X11 gui) - a free video player v0.99.5.
(c) 2000-2007 The xine Team.

[code]....

dragonplayer emitted the same output, so I assumed it was something amiss in one of the libraries they both use. mplayer plays the video, so I'm not without recourse, but it would be nice to know what's up with the segfaults. Anyone seen something like this?
System specifics, if it matters:

Slackware 13.1 (freshly installed)
AMD64x2 5600
4GiB SRAM
GeForce 8800 GTX w/ 768MiB VRAM

View 2 Replies View Related

Slackware :: Image / Icon Trouble After Slackware-current Upgrade

Jan 22, 2010

I recently upgraded to slackware-current from Slackware 13 via slackroll, and have only encountered one problem. My file manager no longer thumbnails images, and icons (mostly PNG) aren't appearing no matter what GTK theme is set. Running from the command line produces no errors, and when brought up in something else (say feh /path/to/icon.png) it works perfectly. This is the only hitch I have encountered so far. The same thing happens with emoticons in Pidgin. Does anyone know of a fix?

View 5 Replies View Related

Slackware :: Convert 32 Bit To 64 Bit Program?

Jan 16, 2010

My question here is that before installing the multilib libraries, how does a 32 bit program differ from a 64 bit. For instance, and here I am showing my ignorance, but surely if I download a program source, shouldn't the resultant binary following compiling and building be a result of the platform it is built on, or does the source code include references to whether it is a 32 or 64 bit program.

Only asking as I have just gone to Slack13_x64, and was hoping that wine might build as a 64bit program. Or, am I stuck with having to install the multilib libs?

View 3 Replies View Related

Slackware :: Auto Run And Only Run A Program After Login?

May 27, 2011

I want to set up a special user, when this user login in locally or remotely, a special program will get run for him. ter this program exist normally or not, the telnet connection should close

View 2 Replies View Related

Slackware :: Can Use The Old /bin/login Program On SL13.1?

Sep 8, 2010

I like the asterisks appearing when I key in my password when logging in.

The new /bin/login program (from the shadow package in a) on SL13.1 no longer accepts the GETPASS_ASTERISKS value in /etc/login.defs.

I want to recompile the old SL13.0 version and replace the new SL13.1 version with the recompiled old SL13.0 version.

View 3 Replies View Related

Slackware :: How To Open A File With A Program

Nov 28, 2010

How do i per say open a file with like transmission when i am downloading it from the internet it says open with then you click it on firefox and it goes to root. Where do i find the files for opening a program instead of saving and going into the program and opening it that way?

View 4 Replies View Related

Slackware :: Run 32bit Program On X86_64?

Apr 8, 2011

I'm an new to Slackware.I want to ask how to run 32bit program on x86_64.
My Slackware is 13.1 x86_64.

View 2 Replies View Related

Slackware :: The G Prefix In Program Names?

Feb 1, 2011

in LQ, what the 'g' in names like gzip, gawk means, becauseassumed the incorrect meaning.Cf. zip, awk. I have now forgotten. An easy answer would be: GNU. Perhaps it's the correct one

View 8 Replies View Related

Slackware :: Where Is Setup Program Located

Sep 15, 2010

After I removed bunch of software from my Slackware package, I lost Setup program. Could anybody tell me where is this program located?

View 6 Replies View Related

OpenSUSE :: Automount: Segfault At ... In Lookup_hosts.so?

Feb 4, 2010

automount[9052]: segfault at 60 ip 00007f75c15bcd7c sp 00007f75c0753c30 error 4 in lookup_hosts.so[7f75c15b6000+1b000]/etc/hosts...10.226.219.46 zbv6 zbv6.gud.s.atcd /net/zbv6/home

View 2 Replies View Related

Ubuntu Multimedia :: PSX Crashes With A Segfault?

Feb 19, 2010

When attempting to run pSX on Ubuntu 9.04 (and the 9.10 livecd), it crashes with a segfault. I -have- read [URL] and tried shutting down pulseaudio as recommended there. However:

Code:
$ sudo /etc/init.d/pulseaudio stop
* PulseAudio configured for per-user sessions
$ sudo killall pulseaudio

[Code]....

How do I get pSX working? I tried copying the psx.ini file from another machine because the thread says pSX works fine after you change the sound device used, but it still segfaults when I try running it.

View 2 Replies View Related

Ubuntu :: Compiz SegFault Randomly In 11.04?

May 6, 2011

I am on a fresh install of Narwal. I've switched to classic because unity wasn't mature enough IMO. Just installed ccsm and now my display will crash randomly after running for a short while.

Code:
daniel@orange:~$ compiz --replace --debug
compiz (core) - Debug: Could not stat() file /home/daniel/.compiz-1/plugins/libcore.so :

[code]....

View 2 Replies View Related

Software :: How To Debug Ns-2 Code For Segfault

Jun 14, 2010

Code:
$ cat segfault.c
int main(void)
{
char *s = "hello world";
*s = 'H';

[Code]....

So, now we know where exactly the problem occures. I know only these three commands to debug using gdb. But in case of ns-2 code, I don't know how to use gdb.

I changed a routing protocol's C++ code in ns-2 and successfully recompiled ns-2 but when I run any tcl script with that particular protocol, I get 'segmentation fault'. Now I want to trace what part of the code is causing this. I have tried using 'printf's at suspectable places. Is this possible to debug ns-2 code with gdb just like the segfault.c above? I am useing fedora 9.

View 14 Replies View Related

Programming :: C - Malloc Causing Segfault?

Mar 20, 2010

Code:
#include <stdio.h>
#include <stdlib.h>

[code]...

View 3 Replies View Related

Programming :: C - Segfault During Malloc. How To Use The Pointers

Mar 23, 2010

So the place where I'm having a problem is here:

Code:
typedef struct {
void **Mem_Chunk;

[code]...

View 10 Replies View Related

CentOS 5 :: Npviewer.bin Crash With The Segfault?

Jul 7, 2009

when open an pdf and close the tab/windows at firefox I get the error at syslog: kernel: npviewer.bin[21396]: segfault at 0000001000000000 rip 00000030abe2646c rsp 00007fffb0978ca0 error 4

I use the last Acrobat Reader.CentOS 5.3 x86_64

View 6 Replies View Related

CentOS 5 :: Mod-php Causing Apache To Segfault?

Sep 22, 2010

I have a newly installed centos 5.5 x86_64 running as a guest on a xen environment. I've installed httpd, mysql, php, mod-php, cacti and some how mod-php i causing apache to exit with segmentation fault. I don't understand whats causing the problem, I have similar boxes with the same setup that works.

[Wed Sep 22 09:19:47 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Sep 22 09:20:11 2010] [notice] child pid 3040 exit signal Segmentation fault (11)

View 1 Replies View Related

General :: Get Program Listed In KDE Multimedia - Slackware 13 - 37

Jun 4, 2011

I've got a program in /usr/local/bin/envy24control I just installed it using .configure,make install because there was no Slackware package for it. envy24control does not show up under KDE Multimedia where it should be, so I have to start a terminal program, and start in on the command line. How do I get /usr/local/bin/envy24control listed in KDE Multimedia so I can use the mouse to start it ?

View 2 Replies View Related

General :: Kill The KDE Program KSnapshot - Slackware 13-37

Jun 1, 2011

How do I kill the KDE program KSnapshot. I'm running Slackware 13 - 37, which is the latest version of Slackware. I don't see any way to
kill this thing. There's no Remove Program or Delete anywhere on KDE and this stupid program keeps poping up all the time. I want to kill this thing.

View 4 Replies View Related

Slackware :: Command For Uninstalling Packages By Program Name?

Aug 19, 2010

how to uninstall packages via the program name? For example, if I want to uninstall the program "KWordQuiz" then I would usually have to use the command removepkg -package name But unfortunately I have a fresh install and want to get rid of a lot of programs. So instead of using the package repository and finding each package which would take days (maybe) and removing them individually I'd like to remove a program and all its supporting packages. I am probably just rambling on... Umm, so yes is there a way, or do I have to suck it up and sit at the keyboard for days.

View 8 Replies View Related

Slackware :: Get Rid Of All The Unneeded Dependencies When Remove A Program?

Jul 9, 2011

I'm using slackware 13.37 and I must say that I really like this distro and the biggest problem is the lack of dependency handling. This is something that bites you right away because you have this nice clean simple operating system but unless you really know what's dependent on what you have to install piles of stuff with lots of programs with duplicate functions. A minimal install option would be nice and I can see from some of the threads that even those with a good deal of experience have had a hard time doing a minimal install. I tried about ten times using different guides but I always ended up with something broken so now I have the full install running fine but with tons of stuff that I don't want or need including most of kde. Anyway, I don't think that the slackware people are going to change their minds about dependency handling anytime this century.

Although for those who have said that it's a FEATURE, I'd point out that all distros have this feature, JUST DON'T USE THEIR PACKAGE MANAGER! So with all that said, I think it's a shame about the lack of dependency handling but I still like slackware well enough to use it even though I find the dependency thing quite annoying. I know that there are people here that have a lot more experience than I do and maybe there are some tools that could make this business easier. So how do you go about removing programs? Debian has deborphan and Arch has pacman -Rd. When you remove a program in slackware, how do you then get rid of all the unneeded dependencies?

View 14 Replies View Related

Slackware :: Start Program When Fluxbox Starts?

Apr 25, 2010

I use NetworkManager to handle my net connections and it's applet that allows me to control everything from the gui is called nm-applet. I was able to edit /etc/X11/xinit/xinitrc.fluxbox so that nm-applet starts when fluxbox does and away I go. From runlevel 3 that is.

On my laptop I like to boot into runlevel 4 for various reasons. When I start a fluxbox session from runlevel 4 this doesn't happen. What file do I have to edit to get this to start from runlevel 4?

View 13 Replies View Related

Slackware :: Cannot Install PAL Like All Successful, And The Program To Compile?

Apr 15, 2010

I do not even know where to begin, and what logs / errors show: I am completely confused in the variables, etc.I can not install PAL Like all successful, and the program to compile, but I can not verify this.I tried premake and one Engine ODE - then I get an error segmentation, when you start paldemo.If I use cmake, then get this:

Code:
...
[ 46%] Built target libpal

[code]....

View 1 Replies View Related

Slackware :: 13.1 - Compatible DVD Player Program That Will Work

Jun 9, 2011

I tried playing a movie on the computer and nothing happened. Thats when I figured out I don't have a program to play the movie so my question is what dvd player program is good? Also is the source and slackbuild going to be on the slackbuild website so I can download it? The reason I ask the last question is because I tried to install swiftfox and opera but they don't have the source or slackbuild for them. For an older version of opera they did have the slackbuild and source but not the new one.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved