Opened 13 years ago

Last modified 13 years ago

#3686 new bug

infinite loop

Reported by: strk Owned by: nobody
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: Symbology Version:
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description

I got qgis 1.7.0 enter an infinite loop in main gui. Attached gdb and saw it being in pal::LabelPosition::getCost(), pretty much every time I did break it.

I know, this bug report sucks... sorry about that. Next time I'll try to debug more.

Change History (4)

comment:1 by strk, 13 years ago

Oh, here's some more, in the screen buffer:

(gdb) bt
#0  0x00007fc75e9ee107 in pal::LabelPosition::getCost() const ()
   from /usr/local/lib/libqgis_core.so.1.7.0
#1  0x00007fc75e9e37aa in pal::CostCalculator::finalizeCandidatesCosts(pal::Feats*, int, pal::RTree<pal::PointSet*, double, 2, double, 8, 4>*, double*, double*) () from /usr/local/lib/libqgis_core.so.1.7.0
#2  0x00007fc75e9f7fe4 in pal::Pal::extract(int, char**, double*, double, double, double, double, double, std::basic_ofstream<char, std::char_traits<char> >*)
    () from /usr/local/lib/libqgis_core.so.1.7.0
#3  0x00007fc75e9f8982 in pal::Pal::extractProblem(double, double*) ()
   from /usr/local/lib/libqgis_core.so.1.7.0
#4  0x00007fc75e91dc11 in QgsPalLabeling::drawLabeling(QgsRenderContext&) ()
   from /usr/local/lib/libqgis_core.so.1.7.0
#5  0x00007fc75e90fdf7 in QgsMapRenderer::render(QPainter*) ()
   from /usr/local/lib/libqgis_core.so.1.7.0

comment:2 by wonder, 13 years ago

Could you please post a sample shapefile that exhibits this behavior?

Isn't that a polygon layer with very complex shapes? (that might take a long time, but not infinite).

Martin

comment:3 by strk, 13 years ago

Eh, not easy to reproduce. I was checking postgis tables, very simple shapes from example topologies. It could be the data disappeared during the run ... Doesn't seem to depend on dataset as on second run it worked fine.

comment:4 by jef, 13 years ago

Component: Build/InstallSymbology
Note: See TracTickets for help on using tickets.